/* Footer Turopa: independiente de Leo y AP PageBuilder */
#footer.footer-container {background:#f6f7f9;padding:0!important;margin:0!important;}
#footer .tdt-footer, #footer .tdt-footer * {box-sizing:border-box;}
#footer .tdt-footer {width:100%;background:#f5f6f8;color:#252a38;font-family:'Open Sans',Arial,sans-serif;}
#footer .tdt-footer__main {width:100%;max-width:1550px;margin:0 auto;padding:58px 36px 48px;display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(160px,1fr) minmax(160px,1fr) minmax(225px,1.2fr);gap:38px;align-items:start;}
#footer .tdt-footer__logo {display:inline-block;max-width:290px;}
#footer .tdt-footer__logo img {display:block;max-width:100%;height:auto;max-height:65px;object-fit:contain;}
#footer .tdt-footer__description {font-size:14px;line-height:1.8;max-width:340px;color:#555e6d;margin:20px 0 12px;}
#footer .tdt-footer__contact {display:flex;flex-direction:column;gap:9px;margin-top:18px;overflow-wrap:anywhere;}
#footer .tdt-footer__contact a {font-size:14px;font-weight:600;color:#0A1675;text-decoration:none;}
#footer .tdt-footer__heading {font-size:15px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.025em;color:#0A1675!important;margin:8px 0 22px!important;line-height:1.4;}
#footer .tdt-footer__column ul {padding:0;margin:0;list-style:none;}
#footer .tdt-footer__column li {padding:0;margin:0 0 13px;line-height:1.5;}
#footer .tdt-footer__column a {font-size:14px;color:#4d5665!important;text-decoration:none;transition:color .15s ease;}
#footer .tdt-footer__column a:hover,#footer .tdt-footer__contact a:hover {color:#C75125!important;}
#footer .tdt-footer__bottom {border-top:1px solid #e3e5ea;display:flex;justify-content:space-between;gap:24px;align-items:center;padding:19px max(36px, calc((100vw - 1478px)/2));font-size:12px;color:#687181;background:#fff;}
#footer .tdt-footer__bottom a {color:#0A1675;text-decoration:none;}
@media(max-width:1000px){#footer .tdt-footer__main{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px;padding:44px 28px;}}
@media(max-width:580px){#footer .tdt-footer__main{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;padding:38px 20px;}#footer .tdt-footer__brand{grid-column:1/-1}#footer .tdt-footer__heading{font-size:13px!important;margin-bottom:14px!important;}#footer .tdt-footer__column a{font-size:13px;}#footer .tdt-footer__bottom{padding:18px 20px;align-items:flex-start;flex-direction:column;gap:8px;}}

#footer .tdt-footer__html {font-size:14px;line-height:1.75;color:#555e6d;overflow-wrap:anywhere;}
#footer .tdt-footer__html p {margin:0 0 13px;}
#footer .tdt-footer__html img{max-width:100%;height:auto;}
#footer .tdt-footer__html a{color:#0A1675;text-decoration:none;}
#footer .tdt-footer__html a:hover{color:#C75125;}

/* v2.1: copyright centrado y compacto */
#footer .tdt-footer__bottom {justify-content:center;text-align:center;padding:9px 16px;gap:0;min-height:0;}
@media(max-width:580px){#footer .tdt-footer__bottom {align-items:center;justify-content:center;flex-direction:row;padding:10px 15px;gap:0;}}

/* Footer v2.2: maqueta del HTML heredado, sin depender de estilos Leo */
#footer .tdt-footer__brand .tdt-footer__html img {max-width:100%;height:auto;vertical-align:middle;}
#footer .tdt-footer__brand .tdt-footer__html a:has(> img) {display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin:0 11px 0 0;line-height:1;}
#footer .tdt-footer__brand .tdt-footer__html a:has(> img) img {max-height:24px;width:auto;}
#footer .tdt-footer__brand .tdt-footer__html p:has(a img),
#footer .tdt-footer__brand .tdt-footer__html div:has(> a img) {display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
#footer .tdt-footer__brand .tdt-footer__html p:has(a img) a {margin:0;}
#footer .tdt-footer__brand .tdt-footer__html .fa,
#footer .tdt-footer__brand .tdt-footer__html .fab {font-size:21px;line-height:1;color:#0A1675;}
#footer .tdt-footer__brand .tdt-footer__html a:has(>.fa),
#footer .tdt-footer__brand .tdt-footer__html a:has(>.fab) {display:inline-flex;margin-right:13px;align-items:center;}
#footer .tdt-footer__brand .tdt-footer__html > div:first-child > img {max-height:58px;width:auto;object-fit:contain;object-position:left;}
#footer .tdt-footer__newsletter .nps-popup-title {font-size:15px;font-weight:700;color:#0A1675;margin:8px 0 20px;text-transform:none;line-height:1.4;}
#footer .tdt-footer__newsletter .form-group {margin:0 0 12px;}
#footer .tdt-footer__newsletter .form-control.newsinput {display:block;width:100%;height:39px;padding:8px 12px;border:1px solid #dedfe4;border-radius:0;background:#fff;color:#252a38;font-size:13px;box-shadow:none;}
#footer .tdt-footer__newsletter .newslabel {font-size:12px;color:#51596a;line-height:1.5;}
#footer .tdt-footer__newsletter input[type=checkbox] {vertical-align:middle;margin-right:5px;}
#footer .tdt-footer__newsletter .np-button.btnsubnews {display:inline-flex;justify-content:center;align-items:center;min-width:150px;padding:10px 20px;background:#0A1675!important;color:#fff!important;border:0;font-size:13px;font-weight:700;text-decoration:none;cursor:pointer;}
#footer .tdt-footer__newsletter .np-button.btnsubnews:hover {background:#C75125!important;}
#footer .tdt-footer__newsletter #ajax-errors-subscribe2:empty,
#footer .tdt-footer__newsletter #ajax-success-subscribe2:empty,
#footer .tdt-footer__newsletter #nps-popup-response2:empty {display:none;}
@media(max-width:580px){#footer .tdt-footer__newsletter{grid-column:1/-1;}}
