/* Staging only. Page-scoped; does not override WooCommerce checkout. */
body.page-id-28779, body.page-id-28779 #page, body.page-id-28779 .elementor-location-single {background:#090711!important;}
body.page-id-28779 .ws-es-contact {min-height:100vh;max-width:1200px;}
body.page-id-28779 .ws-es-contact .ws-contact-layout {min-width:0;}
body.page-id-28779 .ws-es-contact .ws-contact-layout > * {min-width:0;}
body.page-id-28779 .ws-es-contact .ws-contact-end {overflow-wrap:anywhere;}
body.page-id-28779 .ws-es-contact .ws-brand {display:inline-flex;align-items:center;}
body.page-id-3, body.page-id-25695 {background:#090711!important;color:#ece8f4;}
body.page-id-3 #page,body.page-id-25695 #page {background:#090711!important;}
body.page-id-3 :is(.entry-content,.entry-header,.site-content,.content-area),body.page-id-25695 :is(.entry-content,.entry-header,.site-content,.content-area) {background:transparent;color:#ece8f4;}
body.page-id-3 :is(.entry-title,.entry-content h1,.entry-content h2,.entry-content h3),body.page-id-25695 :is(.entry-title,.entry-content h1,.entry-content h2,.entry-content h3) {color:#fff;}
body.page-id-3 .entry-content a,body.page-id-25695 .entry-content a {color:#c9a9ff;text-decoration:underline;}
body.page-id-3 .entry-content,body.page-id-25695 .entry-content {max-width:1160px;margin-inline:auto;padding-inline:clamp(16px,3vw,32px);overflow-wrap:anywhere;}
@media(max-width:767px){body.page-id-28779 .ws-es-contact{padding-inline:12px;}body.page-id-28779 .ws-es-contact .ws-contact-layout{grid-template-columns:minmax(0,1fr);}}

/* Explicit readable text for plain legal Gutenberg content; never impacts checkout. */
body.page-id-3 .entry-content :is(p,li,blockquote,strong),body.page-id-25695 .entry-content :is(p,li,blockquote,strong){color:#ece8f4!important;}
body.page-id-3 .entry-content :is(ul,ol),body.page-id-25695 .entry-content :is(ul,ol){margin-block:12px 20px;padding-inline-start:1.4em;}
body.page-id-3 #page,body.page-id-25695 #page {min-height:100vh;}

/* Accessible legal-page contrast: Webcy sets heading colors outside .entry-content. */
body.page-id-3 :is(h1,h2,h3,h4,h5,h6), body.page-id-25695 :is(h1,h2,h3,h4,h5,h6){color:#fff!important;}
body.page-id-3 :is(p,li,blockquote),body.page-id-25695 :is(p,li,blockquote){color:#ece8f4!important;}
/* FAQs: their inline component inherits a dark body but legacy theme overwrites h1 in black. */
body.page-id-28235,body.page-id-28236,
body.page-id-28235 #page,body.page-id-28236 #page,
body.page-id-28235 :is(.site-content,.content-area,.entry-content,.site-main),
body.page-id-28236 :is(.site-content,.content-area,.entry-content,.site-main){background:#080711!important;}
body.page-id-28235 .ws-faq-page,body.page-id-28236 .ws-faq-page{min-height:100vh;max-width:100%;}
body.page-id-28235 .ws-faq-page :is(h1,h2,h3,h4,h5,h6),
body.page-id-28236 .ws-faq-page :is(h1,h2,h3,h4,h5,h6){color:#fff!important;}
body.page-id-28235 .ws-faq-page .ws-faq-item summary,
body.page-id-28236 .ws-faq-page .ws-faq-item summary{color:#fff!important;}
body.page-id-28235 .ws-faq-page :is(p,li),
body.page-id-28236 .ws-faq-page :is(p,li){color:#dcd7ed;}


/* FAQ EN and ES: corporate artwork replaces only the closing brand word in H1. */
body:is(.page-id-28235,.page-id-28236) .ws-faq-page .ws-faq-hero h1 img.wsqa-faq-title-logo {
 display:inline-block!important;vertical-align:middle!important;
 width:clamp(230px,34vw,445px)!important;max-width:100%!important;
 height:auto!important;max-height:100px!important;object-fit:contain!important;
 object-position:center center!important;margin:0 .05em .08em .10em!important;
 background:transparent!important;filter:none!important;box-shadow:none!important;
}
@media(max-width:640px){
 body:is(.page-id-28235,.page-id-28236) .ws-faq-page .ws-faq-hero h1 img.wsqa-faq-title-logo{
  width:min(100%,310px)!important;max-height:68px!important;margin:9px auto 0!important;
 }
}


/* F2 visual QA: legacy Webcy heading colors are unreadable over .wse dark layouts.
   Restore high contrast ONLY on the six hand-authored Spanish core pages. */
body:is(.page-id-28217,.page-id-28218,.page-id-28219,.page-id-28220,.page-id-28221,.page-id-28222)
 .wse .section :is(h2,h3,h4),
body:is(.page-id-28217,.page-id-28218,.page-id-28219,.page-id-28220,.page-id-28221,.page-id-28222)
 .wse .card :is(h2,h3,h4),
body:is(.page-id-28217,.page-id-28218,.page-id-28219,.page-id-28220,.page-id-28221,.page-id-28222)
 .wse :is(.hero h1,.foot h3){color:#fff!important;}
body:is(.page-id-28217,.page-id-28218,.page-id-28219,.page-id-28220,.page-id-28221,.page-id-28222)
 .wse .section :is(h2,h3) em{color:#a7ff3f!important;}
body:is(.page-id-28217,.page-id-28218,.page-id-28219,.page-id-28220,.page-id-28221,.page-id-28222)
 .wse .card :is(p,li){color:#ddd4ea!important;}
/* EN and ES project forms: remove the unintended white canvas, not the readable white fields. */
body.page-id-28138,body.page-id-28138 #page,body.page-id-28138 #content,
body.page-id-28138 .site-content,body.page-id-28138 .content-area,
body.page-id-28138 .elementor-28138{background:#090711!important;color:#f9f5ff!important;}
body.page-id-28138 .elementor-28138 > .e-con{background:transparent!important;}
body.page-id-28222 .wse .form{background:linear-gradient(145deg,#180d2b,#0e091a)!important;
 border:1px solid #3e2e5b!important;color:#f9f5ff!important;box-shadow:0 24px 70px #0007!important;}
body.page-id-28222 .wse .form > :is(h2,h3,p){color:#f5eeff!important;}
/* Contact EN: legacy Elementor white section and form wrapper against a dark site. */
body.page-id-415,body.page-id-415 #page,body.page-id-415 #content,
body.page-id-415 .site-content,body.page-id-415 .content-area,
body.page-id-415 .elementor-415{background:#090711!important;}
body.page-id-415 .elementor-415 .elementor-element-8f29469{background:#090711!important;}
body.page-id-415 .elementor-415 .elementor-element-22d2e78 > .elementor-widget-wrap{
 background:linear-gradient(145deg,#1b1031,#100a20)!important;border:1px solid #493263!important;
 border-radius:20px!important;box-shadow:0 18px 48px #0007!important;}
body.page-id-415 .elementor-415 .elementor-element-8f29469 :is(.elementor-heading-title,h2,h3,h4,p){color:#f7f2ff!important;}
body.page-id-415 .elementor-415 .elementor-element-8f29469 :is(.jet-form-builder__label,.jet-form-builder__field-label,
 .jet-form-builder__label-text){color:#fff!important;}
body.page-id-415 .elementor-415 .elementor-element-8f29469 .jet-form-builder__desc{color:#d8cfea!important;}
/* Contact ES: integrate both outer panels into the same dark WebSourcy identity. */
body.page-id-28779 .ws-es-contact :is(.ws-form-panel,.ws-info-panel){
 background:linear-gradient(145deg,#1a1031,#10091f)!important;
 border:1px solid #4a3267!important;box-shadow:0 18px 48px #0006!important;}
body.page-id-28779 .ws-es-contact :is(h2,.ws-sub,.ws-info-panel p,.ws-contact-end){color:#eee7fa!important;}
body.page-id-28779 .ws-es-contact .ws-note{background:#231436!important;color:#e4dbef!important;
 border-left-color:#a4ff44!important;}
body.page-id-28779 .ws-es-contact :is(.jet-form-builder__label,.jet-form-builder__field-label,
 .jet-form-builder__label-text){color:#fff!important;}
body.page-id-28779 .ws-es-contact input:not([type=submit]):not([type=file]),
body.page-id-28779 .ws-es-contact textarea{background:#fff!important;color:#251835!important;}
/* Preserve accessible focus, white form inputs, map imagery, and legal content. */
body:is(.page-id-28138,.page-id-28222,.page-id-415,.page-id-28779) :is(a,button,input,select,textarea):focus-visible{
 outline:3px solid #adff42!important;outline-offset:3px!important;}
@media(max-width:760px){
 body.page-id-28779 .ws-es-contact .ws-contact-layout{grid-template-columns:minmax(0,1fr)!important;}
 body.page-id-415 .elementor-415 .elementor-element-22d2e78 > .elementor-widget-wrap{padding:20px!important;}
}
