:root{--saa-red:#c0283f;--saa-red-dark:#921c2e;--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_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}

/* Valencia-only content: staircase reference images, not product cards. */
.saa-val-stairs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}
.saa-val-stairs .escalera{text-align:center;min-width:0}
.saa-val-stairs .escalera img{display:block;width:100%;height:auto;border-radius:6px}
.saa-val-stairs .escalera span{display:block;font-size:.85rem}
@media(max-width:480px){.saa-val-stairs{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Same full-bleed framing as the reference cards. The product photo and logo are not distorted. */
.et_pb_text .saa-catalog-card figure,.et_pb_text .saa-product-card>.saa-photo-link{aspect-ratio:1/1;overflow:hidden}
.et_pb_text .saa-catalog-card figure>.saa-photo-link{height:100%;width:100%}
.et_pb_text .saa-catalog-card figure img,.et_pb_text .saa-product-card>.saa-photo-link>img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;padding:0;aspect-ratio:auto;background:transparent}
.saa-product-specs .faq_list dt{font-weight:700;margin-top:.85rem}
.saa-product-specs .faq_list dd{margin:0 0 1rem}
.saa-product-specs .faq_list .marker{color:var(--saa-red-dark);margin-right:.4rem;font-weight:700}

/* Reglas de catálogo, fichas y servicios de la referencia Madrid. */
body #main-content .saa-specs-scroll{box-sizing:border-box;width:100%;margin:0 0 .85rem!important;border:1px solid #e8dfdc;border-radius:10px;background:#fff;overflow:hidden}
body #main-content :is(details,.saa-valencia-flow-specs)>p:has(+.saa-specs-scroll){margin:.85rem 0 .45rem!important;padding:0!important;color:#102a37}
body #main-content .saa-specs-scroll table{display:table!important;width:100%!important;min-width:0!important;table-layout:fixed;border-collapse:collapse;border:0!important;margin:0!important}
body #main-content .saa-specs-scroll :is(th,td){padding:clamp(.65rem,1.3vw,1rem)!important;border:0!important;text-align:left;vertical-align:middle;line-height:1.45;overflow-wrap:anywhere;white-space:normal!important}
body #main-content .saa-specs-scroll th{background:#f6eeef;color:#38414d;font-size:clamp(.75rem,1.3vw,.925rem);font-weight:700}
body #main-content .saa-specs-scroll td{background:#fff;font-size:clamp(.875rem,1.5vw,1rem);border-top:1px solid #e8dfdc!important}
body #main-content .saa-specs-mobile{display:none!important}
body #main-content .saa-valencia-flow-specs{padding:clamp(.85rem,2vw,1.5rem)}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-page-heading h1{font-size:clamp(1.65rem,3.35vw,2.55rem)!important;line-height:1.15!important}
@media(min-width:981px){
body #main-content .saa-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:clamp(.9rem,1.5vw,1.35rem)!important;align-items:stretch}
body #main-content .saa-catalog-card .saa-catalog-card-copy{flex:1;min-width:0;padding:1rem!important;gap:.65rem!important}
body #main-content .saa-catalog-card-copy>:is(h2,h3){margin:0!important;padding:0!important;font-size:clamp(1.125rem,1.65vw,1.4rem)!important;line-height:1.24!important;overflow-wrap:break-word}
body #main-content .saa-catalog-card-copy>p{margin:0!important;padding:0!important;font-size:.95rem!important;line-height:1.52!important}
body #main-content .saa-catalog-card-copy>p:first-of-type:not(:has(>.saa-action)){display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
body #main-content .saa-related-grid .saa-catalog-card-copy>p:first-of-type:not(:has(>.saa-action)){-webkit-line-clamp:4}
body #main-content .saa-catalog-card-copy>.saa-catalog-tags{margin:0!important;padding:0!important;gap:.3rem!important}
body #main-content .saa-catalog-card-copy>.saa-catalog-tags>li{font-size:.77rem!important;line-height:1.3!important;margin:0!important}
body #main-content .saa-catalog-card-copy>p:has(>.saa-action){display:flex!important;align-items:flex-start;justify-content:flex-start;margin-top:auto!important;padding-top:.25rem!important}
body #main-content .saa-catalog-card-copy>p>.saa-action{display:inline-flex!important;box-sizing:border-box;max-width:100%;height:auto!important;min-height:58px!important;align-items:center;text-align:left;white-space:normal!important;margin:0!important;padding:.5rem .75rem!important;font-size:.925rem!important;line-height:1.2!important}
}
@media(min-width:640px){
body #main-content .saa-specs-scroll{display:block!important}
}
@media(min-width:981px){
body #main-content .saa-model-actions,body.page-id-1133 #main-content .saa-contact-details .saa-inline-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,max-content));gap:.5rem!important;align-items:stretch}
body #main-content .saa-model-actions>.saa-action,body.page-id-1133 #main-content .saa-contact-details .saa-inline-actions>.saa-action{display:flex!important;align-items:center;justify-content:center;text-align:center;min-width:0;white-space:normal!important;margin:0!important;padding:.65rem clamp(.55rem,1vw,.85rem)!important;font-size:clamp(.875rem,1.2vw,1rem)!important;line-height:1.25!important}
}
@media(max-width:639px){
body #main-content .saa-specs-scroll:has(+.saa-specs-mobile){display:none!important}
body #main-content .saa-specs-mobile{display:grid!important;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);gap:0!important;margin:0 0 .85rem!important;padding:0!important;background:#fff;border:1px solid #e8dfdc;border-radius:10px;overflow:hidden}
body #main-content .saa-specs-mobile :is(dt,dd){display:block;min-width:0;margin:0!important;padding:.65rem .7rem!important;border:0!important;border-top:1px solid #e8dfdc!important;font-size:.9rem;line-height:1.45;overflow-wrap:anywhere}
body #main-content .saa-specs-mobile :is(dt:first-of-type,dd:first-of-type){border-top:0!important}
body #main-content .saa-specs-mobile dt{background:#f6eeef;color:#38414d;font-weight:650}
}
.home #main-content .et_pb_text:has(.saa-valencia-benefits):not(:has(.saa-products,.saa-cover,.saa-local-about,.saa-places,.saa-clients)){display:none!important}

/* Ajustes solicitados: mismos componentes y encuadres de Alicante/Madrid. */
body #main-content .saa-product-gallery > .saa-photo-link{display:block;position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;padding:0!important;align-self:stretch;border-radius:13px!important}
body #main-content .saa-product-gallery > .saa-photo-link > img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center;aspect-ratio:auto!important;background:transparent!important;transform:none!important}
body #main-content .saa-product-gallery > .saa-photo-link::after{z-index:2}
body #main-content .sav-services-banner{min-height:clamp(240px,29vw,420px);padding:clamp(1.6rem,4vw,3rem) 0}
body #main-content .sav-services-banner>div{max-width:1200px;width:92%}
body #main-content .sav-services-banner h1{color:#fff!important;font-size:clamp(2rem,4.6vw,4rem);line-height:1.12;margin:0 0 .65rem}
body #main-content .sav-services-banner p{color:#fff!important;max-width:65ch;margin:0 0 .85rem}
body #main-content .sav-services-banner .saa-services-kicker{color:#fff!important}
body #main-content .sav-services-banner .saa-services-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:.85rem}
body #main-content .sav-services-banner .saa-services-secondary{background:#fff;color:var(--saa-red-dark)!important;border-color:#fff}
body #main-content .saa-breadcrumbs{display:block;max-width:100%;overflow-wrap:anywhere}
body #main-content .saa-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .52rem;margin:0;padding:0!important;list-style:none!important}
body #main-content .saa-breadcrumbs li{min-width:0;display:inline-flex;align-items:center;gap:.52rem}
body #main-content .saa-breadcrumbs li[aria-current=page]{font-weight:600}
body #main-content .saa-page-heading .saa-breadcrumbs,body #main-content .saa-page-heading .saa-breadcrumbs li,body #main-content .saa-page-heading .saa-breadcrumbs a,body #main-content .saa-page-heading .saa-breadcrumbs li+li::before{color:#fff!important}
body #main-content .saa-town-directory .saa-town-thumbnail,body #main-content .saa-places-grid .saa-town-thumbnail{display:block;width:clamp(48px,5vw,70px);height:clamp(48px,5vw,70px);object-fit:cover;flex:none;border-radius:50%;margin:0}
body #main-content .sav-credit-wrap{width:100%;margin-top:1rem}
body #main-content .sav-credit-wrap:empty{display:none}
body #main-content .saa-service-details>.saa-services-contact{margin-top:1.5rem}
body #main-content .saa-service-details>.saa-callback-panel{margin-top:1rem}
@media(max-width:767px){body #main-content .sav-services-banner .saa-services-actions>a{width:100%}body #main-content .sav-services-banner{min-height:0}body #main-content .saa-product-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Botones de las tres tarjetas de portada, como en la referencia. */
body.home #main-content .saa-product-card>div>a,body.home #main-content .saa-product-card>div>p>a{display:flex!important;box-sizing:border-box;width:100%;min-height:44px;align-items:center;justify-content:center;align-self:stretch;text-align:center;gap:.45em;background:var(--saa-red);color:#fff!important;border-radius:7px;padding:.65rem 1rem;margin-top:auto}
body.home #main-content .saa-product-card>div>p:has(>a){margin-top:auto;width:100%}
body.home #main-content .saa-product-card>div>a:hover,body.home #main-content .saa-product-card>div>p>a:hover{background:var(--saa-red-dark)}
body.page-id-1144 #main-content .saa-catalog-card-copy>p:first-of-type:not(:has(>.saa-action)){display:block!important;overflow:visible;-webkit-line-clamp:unset}
body #main-content .saa-service-details+.saa-services-contact{margin-top:1.5rem}
body #main-content .saa-services-contact+.saa-callback-panel{margin-top:1rem}


/* Ajustes extra diciembre 2 */
body:is(.page-id-1240,.page-id-1241,.page-id-1242,.page-id-1150,.page-id-2000,.page-id-1132,.page-id-1141,.page-id-1142) #main-content .et_pb_row{width:min(92%,1200px)!important;max-width:1200px!important}
body:is(.page-id-1240,.page-id-1241,.page-id-1242,.page-id-1150,.page-id-2000,.page-id-1132,.page-id-1141,.page-id-1142) #main-content .sav-rebuilt-copy,
body:is(.page-id-1240,.page-id-1241,.page-id-1242,.page-id-1150,.page-id-2000) #main-content .val-legacy,
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-hero,
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-details,
body.page-id-1150 #main-content .sam-careers,
body.page-id-2000 #main-content .sam-information-grid{max-width:72rem!important;width:100%!important;margin-inline:auto!important}
body #main-content .saa-footer-details a:hover,body #main-content .sam-footer-information a:hover{text-decoration:none!important}
body #main-content .catalogo{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}
body #main-content .catalogo .toggle,body #main-content .catalogo .dropdown-toggle,body #main-content .catalogo .caret,body #main-content .catalogo .btn-group,body #main-content .catalogo .split,body #main-content .catalogo .arrow{display:none!important}
body.page-id-1136 #main-content .saa-places-heading p{margin-bottom:.35rem}
body.page-id-1136 #main-content .saa-places-heading p+p{display:none!important}
body #main-content .saa-install-case>h2{font-size:clamp(1.25rem,2vw,1.6rem)!important}
body #main-content .saa-install-case .saa-install-layout{align-items:start}
body #main-content .saa-install-case .saa-install-copy p:first-child{margin-top:0}


/* Ajustes extra diciembre 3 */
body.home #main-content .saa-places,
body.home #main-content .saa-town-directory,
body.home #main-content .saa-install-featured,
body.home #main-content .saa-places-heading{margin-bottom:.65rem!important}
body.home #main-content .saa-town-directory+*,
body.home #main-content .saa-install-featured+*{margin-top:.35rem!important}
body.home #main-content .et_pb_section:has(.saa-town-directory),
body.home #main-content .et_pb_section:has(.saa-install-featured){padding-bottom:1.15rem!important}
body.home #main-content .et_pb_section:has(.saa-town-directory) .et_pb_row,
body.home #main-content .et_pb_section:has(.saa-install-featured) .et_pb_row{padding-bottom:0!important}

body #main-content .saa-install-case .saa-product-gallery{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:.25rem!important;align-items:stretch}
body #main-content .saa-install-case .saa-product-gallery>.saa-photo-link{aspect-ratio:1/1;border-radius:10px!important;overflow:hidden}
body #main-content .saa-install-case .saa-product-gallery>.saa-photo-link>img{width:100%!important;height:100%!important;object-fit:cover!important;display:block}
body #main-content .saa-install-case .saa-install-layout{gap:clamp(.8rem,1.4vw,1.15rem)!important}
@media(max-width:767px){body #main-content .saa-install-case .saa-product-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .et_pb_section{padding-block:clamp(1.4rem,3vw,2.4rem)!important}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-hero{display:grid!important;grid-template-columns:minmax(260px,340px) minmax(0,1fr)!important;gap:clamp(1rem,2vw,2rem)!important;align-items:center;background:#fff;border:1px solid var(--saa-line);border-radius:18px;padding:clamp(1rem,2.2vw,1.8rem)!important;max-width:72rem!important;margin-inline:auto}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-hero figure{margin:0!important;align-self:stretch}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-hero figure img{display:block;width:100%!important;height:100%!important;min-height:240px;object-fit:cover!important;border-radius:14px}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-hero>div{min-width:0}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem!important;max-width:72rem!important;margin-inline:auto}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-cards>*{min-width:0}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-cards article,
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-cards>div{height:100%;border:1px solid var(--saa-line);border-radius:16px;padding:1.2rem;background:#fff}
body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-product-documentation.saa-service-details{max-width:72rem!important;margin-inline:auto;border:1px solid var(--saa-line);border-radius:18px;background:#fff;padding:clamp(1rem,2.2vw,1.8rem)!important}
@media(max-width:980px){body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-hero{grid-template-columns:minmax(0,1fr)!important}body:is(.page-id-1240,.page-id-1241,.page-id-1242) #main-content .saa-service-cards{grid-template-columns:minmax(0,1fr)!important}}
