/* Verdeoliva: sustitutos de Elementor Pro (nov-2026). Ver inc/vo-sin-pro.php
   (el CSS propio del kit y del menú móvil va en línea desde ese archivo, solo sin Pro). */

/* 1. Modal de reserva (antes popup 2116): 640 px, fondo rgba(0,0,0,.8), caja blanca con sombra,
   cierre 27 px color primary a 20 px de arriba y de la derecha, sin animación de entrada.
   El contenido (sección + columna de Elementor) deja 10 px alrededor del iframe. Móvil: pantalla completa. */
dialog.vo-modal{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:hidden;overscroll-behavior:contain}
dialog.vo-modal[open]{display:flex;align-items:center;justify-content:center}
dialog.vo-modal::backdrop{background:rgba(0,0,0,.8)}
html.vo-modal-abierto,html.vo-modal-abierto body{overflow:hidden}
.vo-modal__caja{position:relative;width:640px;max-width:100vw;max-height:100vh;max-height:100dvh;display:flex;background:#fff;box-shadow:2px 8px 23px 3px rgba(0,0,0,.2)}
.vo-modal__contenido{flex:1 1 auto;width:100%;max-height:100vh;max-height:100dvh;overflow:auto;padding:10px;box-sizing:border-box}
.vo-modal__iframe{display:block;width:100%;min-height:800px;border:none;overflow:scroll}
.vo-modal__cerrar{position:absolute;z-index:2;top:20px;right:20px;display:flex;padding:0;margin:0;border:0;background:none;cursor:pointer;font-size:27px;line-height:1;color:var(--e-global-color-primary,#818108)}
.vo-modal__cerrar:hover,.vo-modal__cerrar:focus{background:none;color:var(--e-global-color-primary,#818108)}
.vo-modal__cerrar svg{width:1em;height:1em;stroke:currentColor;stroke-width:2.4;fill:none}
@media (max-width:767px){
	.vo-modal__caja{width:100%;height:100vh;height:100dvh}
}

/* 2. Efectos de scroll (antes Motion Effects de Pro) → CSS scroll-driven, sin JS.
   Elemento: valor = -(p - 50) × velocidad px, p = % de recorrido («cover») del widget, limitado al rango;
   dirección «negative»: p → 100 - p. Se mueve > .elementor-widget-container y se mide el widget.
   Fondo: Pro mete una capa de (100 + velocidad×10) % de ancho y la desplaza -sobrante × p / 100,
   con p medido sobre la propia sección. Aquí la capa es un ::before con el mismo fondo.
   Solo con body.vo-sin-pro (sin Pro, o ?vo_scroll_test=1). Sin soporte (Firefox): quieto. */
@supports (animation-timeline: view()){
@media (prefers-reduced-motion: no-preference){
	@keyframes vo-scroll-y{from{transform:translateY(var(--vo-desde))}to{transform:translateY(var(--vo-hasta))}}

	/* Imagen cab7eee: translateY 9,4 (0-51 %) → 470 px … -9,4 px */
	body.vo-sin-pro .vo-scroll-y-9_4{--vo-desde:470px;--vo-hasta:-9.4px;--vo-ini:0%;--vo-fin:51%}
	/* Imagen fc49f0d: translateY 5,1 negativo (51-80 %) → 5,1 px … 153 px */
	body.vo-sin-pro .vo-scroll-y-neg-5_1{--vo-desde:5.1px;--vo-hasta:153px;--vo-ini:51%;--vo-fin:80%}

	body.vo-sin-pro .elementor-widget[class*="vo-scroll-"]{view-timeline-name:--vo-tl}
	body.vo-sin-pro .elementor-widget:is(.vo-scroll-y-9_4,.vo-scroll-y-neg-5_1) > .elementor-widget-container{
		animation:vo-scroll-y linear both;animation-timeline:--vo-tl;animation-range:cover var(--vo-ini) cover var(--vo-fin)}

	/* Fondo de la sección a2ba74e: translateX 15 negativo (60-84 %). Capa 250 % → de -60 % a -24 % del ancho
	   de la sección = -24 % … -9,6 % de la capa. En móvil Pro deja el fondo a 0 px (no se ve): solo ≥ 768 px. */
	@keyframes vo-fondo-x-neg-15{from{transform:translateX(-24%)}to{transform:translateX(-9.6%)}}
	@media (min-width:768px){
		body.vo-sin-pro .elementor-section.vo-bg-x-neg-15{view-timeline-name:--vo-tl-fondo;overflow:clip;background-size:0 0!important}
		body.vo-sin-pro .elementor-section.vo-bg-x-neg-15::before{content:"";position:absolute;top:0;left:0;width:250%;height:100%;
			background-image:inherit;background-position:center center;background-repeat:no-repeat;background-size:contain;pointer-events:none;
			animation:vo-fondo-x-neg-15 linear both;animation-timeline:--vo-tl-fondo;animation-range:cover 60% cover 84%}
	}
}
}
