/* Cabecera y pie del tema (páginas legales, gracias y resto). */
.ag-cabecera { background: #fffef9; padding: 43px 0 50px; text-align: center; }
.ag-cabecera img { display: inline-block; height: auto; max-width: 70vw; }
.ag-pie { background: #fffef9; color: #455128; font-family: 'Inter', sans-serif; font-weight: 300; font-size: 13px; line-height: 1.6; padding: 36px 20px 40px; text-align: center; }
.ag-pie a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ag-pie p { margin: 6px 0 0; }

/* Vídeo de portada: misma caja que el póster (1920×1080, top -173) */
.elementor-25 [data-id="a9c3d7e1"] { position: absolute; top: -173px; left: 0; width: 1920px; height: 1080px; max-width: none; }
.elementor-25 [data-id="a9c3d7e1"] .elementor-widget-container { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .elementor-25 [data-id="a9c3d7e1"] { display: none; } }

/* Interlineado de Figma para Inter 16 px (19,36 px; «normal» daba 20 px en el navegador) */
@media (min-width: 1101px) {
	.elementor-25 :is([data-id="588abe2"],[data-id="350bce7d"],[data-id="798e6a84"],[data-id="606b3fd2"],[data-id="7c16cec1"],[data-id="cb8cb2a"],[data-id="139fe4b"],[data-id="1cc2ffd9"],[data-id="1faf2e7"],[data-id="62e3b726"],[data-id="5828621d"],[data-id="5428b8ea"],[data-id="78247ba7"]) { line-height: 19.36px !important; }
}

/* Chevrons de los pies de foto de «Hay lugares» (Figma 1:1769, 12×6,5 #6E755A) */
@media (min-width: 1101px) {
	.elementor-25 :is([data-id="cdb153c"],[data-id="41909e50"],[data-id="d2cb37d"],[data-id="41cb8eb9"]) { position: relative; }
	.elementor-25 :is([data-id="cdb153c"],[data-id="41909e50"],[data-id="d2cb37d"],[data-id="41cb8eb9"])::after {
		content: ""; position: absolute; top: 12px; width: 12px; height: 6.5px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6.5' viewBox='0 0 12 6.5' fill='none'%3E%3Cpath d='M0.5 0.5L6 6L11.5 0.5' stroke='%236E755A' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
	}
	.elementor-25 [data-id="cdb153c"]::after { left: 123px; }
	.elementor-25 [data-id="41909e50"]::after { left: 168px; }
	.elementor-25 [data-id="d2cb37d"]::after { left: 105px; }
	.elementor-25 [data-id="41cb8eb9"]::after { left: 233px; }
}

/* Marca de agua (Figma 1:1726 y:1967 · 1:1734 y:4293 · 1:2233 x:-875 y:-190). Capa detrás de las secciones color crema, que pasan a transparentes. */
@media (min-width: 1101px) {
	.elementor-25 { position: relative; overflow: hidden; background-color: #FFFEF9; }
	.elementor-25::before {
		content: ""; position: absolute; inset: 0; pointer-events: none;
		background-repeat: no-repeat;
		background-image: url("../img/marca-agua-b.svg"), url("../img/marca-agua-a.svg"), url("../img/marca-agua-a.svg");
		background-position: -875px -190px, -548px 1967px, -548px 4293px;
		background-size: 2376px 1408.81px, 2987.73px 1842px, 2987.73px 1842px;
	}
	.elementor-25 :is([data-id="5076c1de"],[data-id="21125f85"],[data-id="6e825d72"],[data-id="bf09c05"]) { background: transparent !important; }
}

/* Animaciones de revelado: el motor está en assets/js/revelado.js (oculta con html.ag-anim, solo si el script puede revelar) */

/* Hero: pista de las tres fotos que pasan solas (la crea carrusel.js; sin JS queda el diseño estático).
   Cada foto es una tarjeta de 1191 × 592 con un hueco de 10 px que viaja con ella. */
.ag-pista { position: absolute; left: 0; top: 184px; width: 100%; height: 592px; overflow: hidden; }
.ag-tarjeta { position: absolute; left: 0; top: 0; width: 1191px; height: 592px; overflow: hidden; will-change: transform; }
.ag-tarjeta > img { position: absolute !important; max-width: none; }

/* Enlaces de la portada: salto suave al bloque de contacto (#contacto) */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* «Hay lugares»: textos desplegables (la clase html.ag-acordeon la pone carrusel.js; sin JS se ven todos) */
html.ag-acordeon .elementor-25 :is([data-id="5b243068"],[data-id="a1c7e3b1"],[data-id="b2d8f4c2"],[data-id="c3e905d3"]) {
	opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
html.ag-acordeon .elementor-25 :is([data-id="5b243068"],[data-id="a1c7e3b1"],[data-id="b2d8f4c2"],[data-id="c3e905d3"]).ag-abierto {
	opacity: 1; visibility: visible; transition: opacity .35s ease;
}
.elementor-25 :is([data-id="cdb153c"],[data-id="41909e50"],[data-id="d2cb37d"],[data-id="41cb8eb9"]):focus-visible { outline: 2px solid #6E755A; outline-offset: 4px; }
@media (min-width: 1101px) {
	.elementor-25 :is([data-id="cdb153c"],[data-id="41909e50"],[data-id="d2cb37d"],[data-id="41cb8eb9"])::after { transition: transform .35s ease; transform-origin: 50% 50%; }
	.elementor-25 :is([data-id="cdb153c"],[data-id="41909e50"],[data-id="d2cb37d"],[data-id="41cb8eb9"]).ag-abierto::after { transform: rotate(180deg); }
}
