:root{--saa-red:#c90027;--saa-red-dark:#9e001d;--saa-night:#231b20}
#main-header #logo{width:auto;max-height:54px;object-fit:contain}
.saa-cover .saa-hero-brand .saa-hero-mark{filter:none;width:clamp(135px,16vw,185px)}
.saa-cover .saa-hero-brand{display:inline-flex;width:auto;padding:.45rem .75rem;background:#fff;border-radius:8px}
.saa-footer-intro img{width:clamp(124px,13vw,178px);height:auto}
#main-header #top-menu .menu-item-has-children>a:first-child:after{content:'';display:inline-block;width:6px;height:6px;right:1px;top:.43em;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.saa-places-heading{margin-bottom:1.25rem}
.sam-clients.saa-clients{padding:clamp(2rem,5vw,5rem) clamp(1rem,6vw,8rem);background:#fcf1f3}
.sam-clients .saa-client-grid img{max-height:45px;max-width:90%;object-fit:contain}
.sam-clients .saa-client-grid li{min-width:0}
.saa-town-directory label{max-width:none;width:100%}
.saa-town-directory input[type=search]{width:100%}
.et_pb_text .saa-town-directory ul,.saa-install-featured>div{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
.et_pb_text .saa-town-directory li>a,.saa-install-featured>div>a{display:flex;align-items:center;justify-content:flex-start;gap:.65rem;text-align:left;min-height:72px;height:100%;width:100%;padding:.48rem .65rem;border:1px solid var(--saa-line);border-radius:9px;background:var(--saa-warm);color:var(--saa-ink)!important;font-weight:700;line-height:1.3}
.saa-town-directory a>img{width:54px;height:54px;object-fit:cover;border-radius:6px;flex:none}
.saa-install-featured[hidden],.saa-town-directory li[hidden]{display:none!important}
@media(max-width:980px){.et_pb_text .saa-town-directory ul,.saa-install-featured>div{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#main-header #logo{max-height:46px}.et_pb_text .saa-town-directory ul,.saa-install-featured>div{grid-template-columns:minmax(0,1fr)}.sam-clients .saa-client-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.sam-photo-credits{font-size:.82rem;margin-top:1rem;color:var(--saa-muted);text-align:left}
.et_pb_text .sam-photo-credits summary{display:list-item;padding:.35rem 0;min-height:0;color:inherit;font-weight:600}
.et_pb_text .sam-photo-credits p{margin:.4rem 0 0;padding:0;line-height:1.75}
.et_pb_text .sam-photo-credits a{display:inline!important;padding:0!important;border:0!important;background:none!important;width:auto!important;min-height:0!important;font-size:inherit!important;font-weight:600!important;text-decoration:underline!important;color:var(--saa-red-dark)!important}

.saa-history-intro figure img,.saa-local-about-photo img{border-radius:14px;object-fit:cover}
.saa-history-intro figure img{aspect-ratio:3/2}
.saa-history-values,.saa-services-contact{margin-top:clamp(1.5rem,4vw,3rem)}
.saa-services-photo{background:var(--saa-warm)}
.et_pb_text .saa-services-photo img{object-fit:contain;max-width:100%;margin-inline:auto}
.et-l--post .et_pb_text[hidden]{display:none!important}
@media(max-width:767px){.saa-history-intro .saa-action{width:100%}}

/* Keep the original framing and fill the card with the photograph. */
.et_pb_text .saa-services-photo img,.et_pb_text .saa-product-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.saa-history-intro figure img{object-fit:cover;object-position:50% 50%}

.saa-cover .saa-hero-brand{background:transparent;padding:0;border-radius:0}
.saa-cover .saa-hero-brand .saa-hero-mark{filter:none;width:clamp(155px,17vw,224px)}
#main-header #top-menu li.menu-item-has-children>a:first-child:after{
  content:'';display:inline-block;width:10px;height:7px;margin-inline-start:.35em;
  vertical-align:.1em;background:currentColor;border:0;
  clip-path:polygon(0 12%,14% 0,50% 56%,86% 0,100% 12%,50% 94%);
  transform:none!important
}

.sam-information-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:72rem;margin-inline:auto}
.sam-information-grid .saa-services-photo{aspect-ratio:2/1}
.sam-careers{max-width:72rem;margin-inline:auto}
.sam-careers p:last-child{overflow-wrap:anywhere}
@media(max-width:767px){.sam-information-grid{grid-template-columns:minmax(0,1fr)}}

.sam-legal{display:grid;grid-template-columns:minmax(12rem,16rem) minmax(0,49rem);justify-content:center;align-items:start;gap:clamp(1rem,3vw,2.4rem);max-width:72rem;margin-inline:auto}
.sam-legal-index{position:sticky;top:6.25rem;border:1px solid var(--saa-line);border-radius:13px;background:var(--saa-warm);padding:.7rem 1rem}
.et_pb_text .sam-legal-index summary{color:var(--saa-ink);padding:.45rem 0;font-weight:700}
.et_pb_text .sam-legal-index ul{list-style:none;padding:0!important;margin:0}
.et_pb_text .sam-legal-index a{display:block;color:var(--saa-ink)!important;font-size:.92rem;padding:.38rem 0;line-height:1.35;text-decoration:none}
.et_pb_text .sam-legal-index a:is(:hover,:focus-visible){color:var(--saa-red-dark)!important}
.sam-legal-body{min-width:0;border:1px solid var(--saa-line);border-radius:16px;background:#fff;padding:clamp(1.05rem,3vw,2.65rem);box-shadow:0 10px 28px #241c2110;line-height:1.72;overflow-wrap:anywhere}
.sam-legal-block:empty{display:none}
.sam-legal-block + .sam-legal-block{border-top:1px solid var(--saa-line);margin-top:1.4rem;padding-top:1.4rem}
.et_pb_text .sam-legal-block>h2{font-size:clamp(1.2rem,2.1vw,1.58rem);font-weight:680;line-height:1.3;padding:0;margin:0 0 .75rem;scroll-margin-top:7rem}
.et_pb_text .sam-legal-body h3{font-size:1.08rem;font-weight:680;margin-top:1rem}
.sam-legal-body p:empty{display:none}
.sam-legal-body li{margin-block:.3rem}
.sam-legal-table{max-width:100%;overflow-x:auto;border:1px solid var(--saa-line);border-radius:9px}
.sam-legal-table table{min-width:0;width:100%;margin:0!important}
.sam-legal-table :is(td,th){padding:.55rem .7rem!important}
@media(max-width:980px){.sam-legal{grid-template-columns:minmax(0,1fr)}.sam-legal-index{position:static}}
@media(max-width:560px){.sam-legal-table table{min-width:22rem}.sam-legal-block + .sam-legal-block{margin-top:1rem;padding-top:1rem}}

.et-l--post img:is([src*="/wp-content/uploads/"],[src*="/flow/"],[src*="/municipios/"],[src$="-nitida.jpg"]):not(.saa-hero-mark),
.saa-lightbox figure img[src] { filter:url("nitidez-fotos.svg#general") }
.et-l--post img:is([src*="/clientes-"][src$="-madrid.png"],[src$="/trabaje-salvaescaleras-madrid.png"],[src$="/independencia-libertad.jpg"]) {
  filter:url("nitidez-fotos.svg#original-suave")
}

.et_pb_text .saa-local-about-copy .saa-local-tag{display:inline-flex;margin:0 0 .55rem;color:var(--saa-red)}
.et_pb_text .sam-legal a:not(.saa-action):not(:has(img)){
  display:inline;min-height:0;padding:0;margin:0;border:0;border-radius:0;
  background:transparent!important;color:var(--saa-red-dark)!important;
  font:inherit;font-weight:600;text-align:inherit;text-decoration:underline!important;
  text-underline-offset:.18em;text-decoration-thickness:1px!important;
  box-shadow:none
}
.et_pb_text .sam-legal a:not(.saa-action):not(:has(img)):is(:hover,:focus-visible){
  color:var(--saa-red)!important;background:transparent!important
}
.et_pb_text .sam-legal-index li{margin:0}
.et_pb_text .sam-legal-index li+li{border-top:1px solid var(--saa-line)}
.et_pb_text .sam-legal-index a:not(.saa-action):not(:has(img)){
  display:block;padding:.42rem 0;color:var(--saa-ink)!important;
  font-size:.9rem;font-weight:550;line-height:1.35;text-decoration:none!important
}
.et_pb_text .sam-legal-index a:not(.saa-action):not(:has(img)):is(:hover,:focus-visible){
  color:var(--saa-red-dark)!important;text-decoration:underline!important
}

.sam-finance{display:grid;gap:1.35rem;max-width:65rem;margin-inline:auto}
.sam-finance-intro,.sam-finance-groups>details{border:1px solid var(--saa-line);border-radius:15px;background:#fff}
.sam-finance-intro{padding:clamp(1rem,3vw,2.1rem);background:var(--saa-warm)}
.sam-finance-intro h2{font-size:clamp(1.48rem,3vw,2.15rem);line-height:1.18}
.sam-finance-intro p{line-height:1.65}
.sam-finance-intro .sam-finance-action{margin-top:.7rem;padding-bottom:0}
.sam-finance-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.et_pb_text .sam-finance-nav a:not(.saa-action):not(:has(img)){display:flex;justify-content:center;text-align:center;background:#fff;color:var(--saa-red-dark)!important;border-color:var(--saa-line);min-height:44px}
.et_pb_text .sam-finance-nav a:not(.saa-action):not(:has(img)):hover{background:var(--saa-warm);border-color:var(--saa-red)}
.sam-finance-groups{display:grid;gap:.8rem}
.sam-finance-groups>details{scroll-margin-top:7rem}
.et_pb_text .sam-finance-groups summary{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.2rem;list-style:none;color:var(--saa-ink)}
.sam-finance-groups summary::-webkit-details-marker{display:none}
.sam-finance-groups summary::after{content:'+';color:var(--saa-red);font-size:1.35rem;flex:none}
.sam-finance-groups details[open] summary::after{content:'−'}
.sam-finance-groups h2{font-size:1.2rem;margin:0;padding:0}
.sam-finance-panel{padding:clamp(1rem,3vw,1.8rem);min-width:0;border-top:1px solid var(--saa-line);overflow-wrap:anywhere}
.sam-finance-panel h4{font-size:1.05rem;font-weight:700;margin:1.1rem 0 .45rem}
.sam-finance-table{margin:.5rem 0 1rem;overflow-x:auto;border:1px solid var(--saa-line);border-radius:8px}
.sam-finance-table table{min-width:0;width:100%;margin:0!important;border:0!important}
.sam-finance-table :is(td,th){padding:.55rem .65rem!important}
.saa-footer-details.sam-footer-information{grid-template-columns:minmax(0,1.25fr) minmax(0,1.05fr) minmax(0,1.05fr) minmax(0,.8fr);gap:1.25rem}
.sam-footer-information>section{min-width:0;overflow-wrap:anywhere}
.sam-footer-information nav{display:grid;justify-items:start;gap:.3rem}
.et_pb_text .sam-footer-information nav a:not(.saa-action):not(:has(img)){font-weight:550;color:var(--saa-ink)!important;line-height:1.4;padding:0;margin:0;min-height:0}
.et_pb_text .sam-footer-information nav a:not(.saa-action):not(:has(img)):is(:hover,:focus-visible){color:var(--saa-red-dark)!important;text-decoration:underline!important}
@media(max-width:1100px){.saa-footer-details.sam-footer-information{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.saa-footer-details.sam-footer-information,.sam-finance-nav{grid-template-columns:minmax(0,1fr)}.sam-finance-table table{min-width:17rem}.sam-finance-action .saa-action{width:100%}}

.et-l--post .et_pb_section:has(.sam-finance){width:100%;max-width:none;padding-inline:0;background:#faf8f7}
.et-l--post .et_pb_row:has(.sam-finance),.et-l--post .et_pb_column:has(.sam-finance),.et-l--post .et_pb_text:has(.sam-finance){width:100%!important;max-width:none!important}
.sam-finance{width:100%;max-width:none;padding-inline:clamp(1rem,3.8vw,5rem);gap:clamp(.85rem,2vw,1.55rem)}
.sam-finance-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem 1.5rem;background:#fff}
.sam-finance-intro header,.sam-finance-intro>p:not(.sam-finance-action){grid-column:1;padding:0}
.sam-finance-intro .sam-finance-action{grid-column:2;grid-row:1/3;margin:0}
.sam-finance-nav{gap:.65rem}
.sam-finance-nav button{min-width:0;min-height:50px;padding:.65rem .5rem;border:1px solid var(--saa-line);border-radius:8px;background:#fff;color:var(--saa-ink);font:inherit;font-weight:650;line-height:1.25;cursor:pointer}
.sam-finance-nav button[aria-selected="true"]{background:var(--saa-red-dark);border-color:var(--saa-red-dark);color:#fff}
.sam-finance-nav button[aria-selected="false"]:hover{border-color:var(--saa-red);color:var(--saa-red-dark)}
.sam-finance-groups [role=tabpanel]{min-width:0;padding:clamp(1rem,3vw,2.4rem);background:#fff;border:1px solid var(--saa-line);border-radius:14px}
.sam-finance-groups [role=tabpanel]>h2{font-size:clamp(1.3rem,2.45vw,1.95rem);margin-bottom:.65rem}
.sam-finance-groups [hidden]{display:none!important}
.sam-finance-panel{padding:0;border:0}
.sam-finance-table table :is(td,th){vertical-align:middle}
.sam-finance-table table tr:first-child{background:var(--saa-warm);font-weight:700}
.sam-finance-overview{padding:.75rem 1rem;border:1px solid var(--saa-line);border-radius:10px;background:#fff}
.sam-footer-information>section:last-child{padding-inline-start:1rem;border-inline-start:1px solid var(--saa-line)}
.sam-footer-information>section:last-child nav{gap:0}
.et_pb_text .sam-footer-information nav a:not(.saa-action):not(:has(img)){width:100%;padding:.28rem 0;text-align:left;justify-content:flex-start;font-size:.94rem}
.et_pb_text .sam-footer-information nav a:not(.saa-action):not(:has(img)) + a{border-top:1px solid var(--saa-line)!important}
@media(max-width:1100px){.sam-footer-information>section:last-child{border-inline-start:0;padding-inline-start:0}}
@media(max-width:650px){.sam-finance-intro{display:block}.sam-finance-intro .sam-finance-action{margin-top:.8rem}.sam-finance-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem}.sam-finance-nav button{font-size:.8rem;padding:.45rem .22rem}.sam-footer-information>section:last-child{padding-top:.75rem;border-top:1px solid var(--saa-line)}}

.et_pb_text .sam-finance-table table{display:table!important;width:100%!important;min-width:0;table-layout:fixed;border-collapse:collapse}
.et_pb_text .sam-finance-table :is(td,th){width:33.333%;white-space:normal;overflow-wrap:normal;word-break:normal;line-height:1.35;text-align:left}
.et_pb_text .sam-finance-table :is(td,th):first-child{width:37%}
.et_pb_text .sam-finance-table :is(td,th):last-child{width:29.667%}
@media(max-width:480px){.et_pb_text .sam-finance-table :is(td,th){font-size:.84rem;padding:.57rem .34rem!important}}

.sam-footer-information>section:last-child{padding-inline-start:0;border:0}
.sam-footer-information>section:last-child nav{gap:.24rem}
.et_pb_text .sam-footer-information nav a:not(.saa-action):not(:has(img)) + a{border:0!important}

@media(min-width:981px){
  .saa-footer-details.sam-footer-information>section:first-child .saa-inline-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,max-content));gap:.45rem;justify-content:start}
  .et_pb_text .saa-light-footer .sam-footer-information>section:first-child .saa-inline-actions>.saa-action{white-space:nowrap;margin:0!important;padding-inline:.5rem;font-size:clamp(.79rem,1.08vw,.94rem)}
}
@media(min-width:1101px){
  .saa-footer-details.sam-footer-information{grid-template-columns:minmax(20rem,1.7fr) minmax(0,1.12fr) minmax(0,1.1fr) minmax(0,.82fr)}
}


.et_pb_text .saa-form-page:not(.saa-contact-page) a.saa-action[href^="tel:"]{display:flex;width:100%;margin-inline:0;text-align:center;justify-content:center}
