.t2-footer{
    margin-top:40px;
    background:var(--t2-footer-bg);
    background-image:var(--t2-footer-special-desktop);
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    color:var(--t2-footer-text);
    border-top:1px solid var(--t2-footer-border);
    font-family:Arial, sans-serif;
}
.t2-footer a{
    color:inherit;
    text-decoration:none;
}
.t2-footer-service{
    max-width:1240px;
    margin:0 auto;
    padding:24px 18px 18px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}
.t2-footer-service>div{
    background:var(--t2-footer-card);
    border:1px solid var(--t2-footer-border);
    border-radius:16px;
    padding:16px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    grid-template-areas:
        "icon title"
        "icon text";
    gap:4px 12px;
    align-items:center;
}
.t2-footer-service b{
    grid-area:icon;
    width:42px;
    height:42px;
    border-radius:999px;
    background:color-mix(in srgb, var(--t2-footer-button) 12%, #ffffff);
    color:var(--t2-footer-button);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
}
.t2-footer-service strong{
    grid-area:title;
    color:var(--t2-footer-title);
    font-size:14px;
    font-weight:950;
}
.t2-footer-service span{
    grid-area:text;
    font-size:12px;
    line-height:1.35;
    font-weight:800;
    color:var(--t2-footer-text);
    opacity:.82;
}
.t2-footer-main{
    max-width:1240px;
    margin:0 auto;
    padding:24px 18px 28px;
    display:grid;
    grid-template-columns:1.55fr repeat(4, minmax(130px, .85fr)) 1.1fr;
    gap:24px;
    border-top:1px solid var(--t2-footer-border);
}
.t2-footer-logo{
    display:inline-flex;
    align-items:center;
    margin-bottom:12px;
}
.t2-footer-logo img{
    max-width:160px;
    max-height:48px;
    object-fit:contain;
    display:block;
}
.t2-footer-logo strong{
    color:var(--t2-footer-button);
    font-size:26px;
    font-weight:950;
    letter-spacing:-.03em;
}
.t2-footer-brand p{
    margin:0;
    max-width:360px;
    font-size:13px;
    line-height:1.6;
    font-weight:750;
    color:var(--t2-footer-text);
    opacity:.9;
}
.t2-footer-social{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:16px;
}
.t2-footer-social a{
    width:32px;
    height:32px;
    border-radius:999px;
    background:var(--t2-footer-button);
    color:var(--t2-footer-button-text);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    font-weight:950;
    text-transform:uppercase;
}
.t2-footer-col h3{
    margin:0 0 12px;
    color:var(--t2-footer-title);
    font-size:14px;
    font-weight:950;
}
.t2-footer-col a,
.t2-footer-contact span{
    display:block;
    margin:0 0 9px;
    font-size:13px;
    line-height:1.35;
    font-weight:800;
    color:var(--t2-footer-text);
    opacity:.86;
}
.t2-footer-col a:hover{
    color:var(--t2-footer-button);
    opacity:1;
}
.t2-footer-contact span{
    word-break:break-word;
}
.t2-footer-bottom{
    border-top:1px solid var(--t2-footer-border);
    max-width:1240px;
    margin:0 auto;
    padding:15px 18px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    font-size:12px;
    font-weight:850;
    color:var(--t2-footer-text);
    opacity:.82;
}
@media(max-width:980px){
    .t2-footer-service{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .t2-footer-main{
        grid-template-columns:1fr 1fr;
    }
}
@media(max-width:640px){
    .t2-footer{
        background-image:var(--t2-footer-special-mobile);
    }
    .t2-footer-service{
        grid-template-columns:repeat(2,minmax(0,1fr));
        padding:18px 14px 12px;
    }
    .t2-footer-main{
        grid-template-columns:1fr;
        padding:20px 14px 22px;
        gap:18px;
    }
    .t2-footer-brand p{
        max-width:none;
    }
    .t2-footer-bottom{
        padding:14px;
        flex-direction:column;
        align-items:flex-start;
    }
}

/* ===== TEMA2 FOOTER SAFE LAYOUT FIX ===== */
.t2-footer-main{
    align-items:start!important;
}
.t2-footer-brand p,
.t2-footer-service span,
.t2-footer-col a,
.t2-footer-contact span,
.t2-footer-bottom{
    word-break:normal!important;
}

/* ===== TEMA2 FOOTER BANNER FULL AREA FIX ===== */
.t2-footer-service > .t2-footer-banner{
    display:block!important;
    width:100%!important;
    padding:0!important;
    border:1px solid var(--t2-footer-border)!important;
    border-radius:16px!important;
    overflow:hidden!important;
    background:var(--t2-footer-card)!important;
    box-sizing:border-box!important;
}

.t2-footer-service > .t2-footer-banner img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:3 / 1!important;
    object-fit:cover!important;
    margin:0!important;
    padding:0!important;
}

/* ===== TEMA2 FOOTER SOCIAL MEDIA ICONS ===== */
.t2-footer-social a{
    padding:0!important;
    overflow:hidden!important;
    background:transparent!important;
}
.t2-footer-social a img{
    display:block!important;
    width:32px!important;
    height:32px!important;
    object-fit:contain!important;
    border-radius:999px!important;
}

/* ===== TEMA2 FOOTER PAGE POPUP ===== */
.t2-page-popup-backdrop{
    position:fixed;
    inset:0;
    z-index:999999;
    background:rgba(15,23,42,.58);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:22px;
}
.t2-page-popup-backdrop[hidden]{
    display:none!important;
}
.t2-page-popup{
    width:min(860px,96vw);
    max-height:86vh;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 24px 80px rgba(15,23,42,.32);
    display:flex;
    flex-direction:column;
}
.t2-page-popup-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:16px 18px;
    border-bottom:1px solid var(--t2-footer-border);
}
.t2-page-popup-head strong{
    margin:0!important;
    color:var(--t2-footer-title);
    font-size:18px;
    font-weight:950;
}
.t2-page-popup-close{
    width:36px;
    height:36px;
    border:0;
    border-radius:10px;
    background:#f3f4f6;
    color:#111827;
    font-size:24px;
    line-height:1;
    cursor:pointer;
}
.t2-page-popup-body{
    padding:18px;
    overflow:auto;
    color:#374151;
    font-size:14px;
    line-height:1.7;
}
.t2-page-popup-content h1,
.t2-page-popup-content h2,
.t2-page-popup-content h3{
    color:var(--t2-footer-title);
}
@media(max-width:760px){
    .t2-page-popup{
        width:96vw;
        max-height:88vh;
    }
    .t2-page-popup-head{
        padding:14px;
    }
    .t2-page-popup-body{
        padding:14px;
        font-size:13px;
    }
}
