/* Estilos propios de la versión estática (componentes que antes generaba JS de terceros) */

/* --- Slider (antes Slider Revolution 7, módulo #SR7_5_1 "home-9") --- */
.ms-rs { position: relative; display: block; width: 100%; height: 703px; overflow: visible; }
.ms-rs-content { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.ms-rs-slide { position: absolute; inset: 0; visibility: hidden; }
.ms-rs-bg { position: absolute; inset: 0; background-repeat: no-repeat; }
.ms-rs-layer { position: absolute; font-family: Roboto, sans-serif; opacity: 0; }
.ms-rs--ready .ms-rs-slide .ms-rs-layer { opacity: 0; }
.ms-rs-arrow { position: absolute; z-index: 1000; cursor: pointer; }
.ms-rs .warren-nav.sr7-arrows { display: flex; align-items: center; width: auto; height: auto; padding: 0; margin: 0; background: none; }
.ms-rs .warren-nav.sr7-arrows.sr7-rightarrow .qodef-svg-nav { display: block; transform: scaleX(-1); }
.ms-rs .warren-nav.sr7-arrows .qodef-svg-nav svg { position: relative; display: block; width: 30px; height: auto; fill: none; stroke: #fff; stroke-width: 1; transform: translateX(0); transition: stroke .3s ease-out, transform .5s cubic-bezier(.22, .61, .36, 1); }
.ms-rs .warren-nav.sr7-arrows.sr7-touchhover .qodef-svg-nav svg { transform: translateX(-5px); }

/* --- Formulario: campo trampa anti-spam (sustituye a reCAPTCHA) --- */
.ms-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ms-rs-bullets { position: absolute; z-index: 1000; }
.ms-rs .warren-bullets .sr7-bullet { position: absolute; overflow: hidden; border-radius: 50%; width: 11px; height: 11px; cursor: pointer; background-color: rgba(0, 0, 0, 0); box-shadow: inset 0 0 0 1px #fff; transition: background .3s ease; }
.ms-rs .warren-bullets .sr7-bullet.sr7-touchhover { background-color: #fff; }
.ms-rs .warren-bullets .sr7-bullet::after { content: ' '; position: absolute; bottom: 0; height: 0; left: 0; width: 100%; background-color: #fff; box-shadow: 0 0 1px #fff; transition: height .3s ease; }
.ms-rs .warren-bullets .sr7-bullet.selected::after { height: 100%; }

/* --- Lightbox: estilos base del diálogo de Elementor (antes inyectados por su JS) --- */
.dialog-close-button { color: var(--e-a-color-txt); cursor: pointer; font-size: 15px; inset-inline-end: 15px; line-height: 1; margin-block-start: 15px; position: absolute; transition: var(--e-a-transition-hover); }
.dialog-close-button:hover { color: var(--e-a-color-txt-hover); }
.dialog-message { box-sizing: border-box; line-height: 1.5; }
.dialog-type-lightbox { background-color: rgba(0, 0, 0, 0.8); bottom: 0px; height: 100%; left: 0px; position: fixed; user-select: none; width: 100%; z-index: 9999; }
.dialog-widget-content { background-color: var(--e-a-bg-default); border-radius: 3px; box-shadow: rgba(0, 0, 0, 0.2) 2px 8px 23px 3px; overflow: hidden; position: absolute; }

/* --- Botón flotante de WhatsApp (a la izquierda: a la derecha está "volver arriba") --- */
.ms-whatsapp { position: fixed; left: 20px; bottom: 20px; z-index: 9990; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); transition: transform .25s ease, box-shadow .25s ease; }
.ms-whatsapp:hover, .ms-whatsapp:focus-visible { color: #fff; transform: scale(1.08); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.ms-whatsapp:focus-visible { outline: 2px solid #128c7e; outline-offset: 3px; }
.ms-whatsapp svg { width: 32px; height: 32px; }
@media (max-width: 767px) { .ms-whatsapp { left: 15px; bottom: 15px; width: 52px; height: 52px; } }
