/* AT Engineering v1.3.4 — focused logo, headings, quote and social fixes.
   Last stylesheet; only ATEC footer + CTA modules are affected.
   Icons are Font Awesome Free 6.7.2 SVGs bundled with licensing notice. */

/* One real heading rule: earlier layers drew a line on BOTH the heading and
   its addon wrapper. Keep only the addon wrapper rule for Browse/Contact. */
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-addon-heading .tb-heading::before,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-addon-heading .tb-heading::after,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-addon-heading h2::after,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-addon-heading h3::after {
    content:none!important;display:none!important;box-shadow:none!important;
    border:0!important;background:none!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:first-child>.tb-addon-heading:first-child,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.tb-addon-heading:first-child {
    position:relative!important;padding-inline-start:49px!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:first-child>.tb-addon-heading:first-child::before,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.tb-addon-heading:first-child::before {
    content:""!important;display:block!important;position:absolute!important;
    top:2px!important;inset-inline-start:0!important;width:30px!important;height:30px!important;
    background-color:#e8f1f5!important;
    -webkit-mask:center/contain no-repeat!important;mask:center/contain no-repeat!important;
    pointer-events:none!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:first-child>.tb-addon-heading:first-child::before {
    -webkit-mask-image:url('../icons/solid/link.svg')!important;
    mask-image:url('../icons/solid/link.svg')!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.tb-addon-heading:first-child::before {
    -webkit-mask-image:url('../icons/solid/clock.svg')!important;
    mask-image:url('../icons/solid/clock.svg')!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:first-child>.tb-addon-heading:first-child::after,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.tb-addon-heading:first-child::after,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.tb-addon-heading[id*="follow"]::after {
    content:""!important;display:block!important;position:relative!important;
    width:170px!important;max-width:calc(100% - 49px)!important;height:2px!important;
    margin:9px 0 12px!important;
    background:linear-gradient(to right,#079dd1 0 54%,rgba(206,231,238,.50) 54% 100%)!important;
    border:0!important;box-shadow:none!important;
}
/* Follow ATEC gets a single rule without a decorative icon. */
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.tb-addon-heading[id*="follow"]::before {
    content:none!important;display:none!important;
}
/* Exactly original image's natural pixel dimensions, overriding earlier 116/120px caps. */
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-row>.tb-col:nth-child(2) .tb-addon-image img,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-row>.tb-col:nth-child(2) .tb-image img {
    display:block!important;width:194px!important;height:180px!important;
    max-width:100%!important;max-height:180px!important;
    object-fit:contain!important;margin:0 auto 13px!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-row>.tb-col:nth-child(2) .tb-image {
    width:100%!important;max-width:100%!important;margin:0 auto!important;text-align:center!important;
}
/* CTA phone icon sits between the fully editable heading and phone number. */
body.atec-template .atec-cta-region .atec-v12-cta .tb-addon-text[id^="atec-v12-cta-phone-"] {
    display:flex!important;flex-direction:row!important;align-items:center!important;
    gap:clamp(14px,3vw,50px)!important;flex:0 1 auto!important;
}
body.atec-template .atec-cta-region .atec-v12-cta .tb-addon-text[id^="atec-v12-cta-phone-"]::before {
    content:""!important;display:block!important;flex:0 0 42px!important;
    width:42px!important;height:42px!important;background-color:#fff!important;
    -webkit-mask:url('../icons/solid/phone.svg') center/contain no-repeat!important;
    mask:url('../icons/solid/phone.svg') center/contain no-repeat!important;
}
body.atec-template .atec-cta-region .atec-v12-cta .tb-addon-text[id^="atec-v12-cta-phone-"] .tb-text {
    white-space:nowrap!important;
}
/* Three genuine editable Alfa Builder button addons: the link text supplies
   accessible names, while Font Awesome SVG artwork supplies visual icons. */
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-link {
    display:inline-block!important;vertical-align:top!important;
    width:38px!important;height:38px!important;margin:10px 10px 0 0!important;
    padding:0!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-link .tb-button-wrap {
    display:block!important;width:38px!important;height:38px!important;
    padding:0!important;margin:0!important;text-align:center!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-link .tb-button-wrap .tb-button {
    position:relative!important;display:block!important;box-sizing:border-box!important;
    width:36px!important;height:36px!important;min-height:36px!important;
    margin:0!important;padding:0!important;border:0!important;
    background:transparent!important;box-shadow:none!important;
    font-size:0!important;line-height:0!important;text-align:center!important;
    color:transparent!important;overflow:hidden!important;white-space:nowrap!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-link .tb-button-wrap .tb-button::before {
    content:""!important;position:absolute!important;inset:3px!important;
    display:block!important;background-color:#d6e1e5!important;
    -webkit-mask:center/contain no-repeat!important;mask:center/contain no-repeat!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-facebook .tb-button-wrap .tb-button::before {
    -webkit-mask-image:url('../icons/brands/facebook.svg')!important;
    mask-image:url('../icons/brands/facebook.svg')!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-linkedin .tb-button-wrap .tb-button::before {
    -webkit-mask-image:url('../icons/brands/linkedin.svg')!important;
    mask-image:url('../icons/brands/linkedin.svg')!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-whatsapp .tb-button-wrap .tb-button::before {
    -webkit-mask-image:url('../icons/brands/whatsapp.svg')!important;
    mask-image:url('../icons/brands/whatsapp.svg')!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-link .tb-button:hover::before,
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-link .tb-button:focus-visible::before {
    background-color:#23badb!important;
}
body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-link .tb-button:focus-visible {
    outline:2px solid #fff!important;outline-offset:2px!important;
}
html[dir="rtl"] body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-col:last-child>.atec-social-link {
    margin:10px 0 0 10px!important;
}
@media(max-width:760px) {
 body.atec-template .atec-cta-region .atec-v12-cta .tb-addon-text[id^="atec-v12-cta-phone-"] {gap:15px!important;justify-content:center!important;}
 body.atec-template .atec-cta-region .atec-v12-cta .tb-addon-text[id^="atec-v12-cta-phone-"]::before {width:28px!important;height:28px!important;flex-basis:28px!important;}
 body.atec-template #sp-footer.atec-footer .atec-v12-footer .tb-row>.tb-col:nth-child(2) .tb-image img {width:min(194px,100%)!important;height:auto!important;max-height:180px!important;}
}
