@charset "utf-8";
/* ==========================================================================
   Casa Rural Villa La Fuente — hoja propia
   El contenido de las páginas lleva el marcado de Elementor y su aspecto lo dan
   las hojas originales: css/elementor.css (Astra + Elementor, común) y
   css/paginas/<clave>.css (los ajustes de cada elemento). Esta hoja solo cubre
   lo que no viene de ahí: cabecera, visor, páginas legales, bloques de Gutenberg
   de las entradas y las piezas que aquí funcionan sin el JavaScript de Elementor (galerías,
   carrusel, acordeón, mapa). Se carga después de css/elementor.css.
   ========================================================================== */

/* ---------- Fuentes ----------
   Se reproduce lo que de verdad mostraba el WordPress: de Google solo llegaban
   Open Sans 400 y Vollkorn 700; los demás pesos los pedía a www.villalafuente.com
   y el navegador los rechazaba (otro origen), así que la negrita y la cursiva de
   Open Sans se veían en la sans del sistema. Las caras «local(…)» que no existen
   provocan ese mismo salto a la siguiente fuente de la lista, sin pedir nada a la
   red. Con ello los cortes de línea y los tamaños son los mismos que en WordPress.
   (Vollkorn en otros pesos, en las páginas que la pedían así: ver build/extraer.py.) */
@font-face {
  font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/OpenSans-var-latin.woff2) format('woff2');
}
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 300; src: local('Open Sans no cargada'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 500 800; src: local('Open Sans no cargada'); }
@font-face { font-family: 'Open Sans'; font-style: italic; font-weight: 300 800; src: local('Open Sans no cargada'); }
@font-face {
  font-family: 'Vollkorn'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/Vollkorn-var-latin.woff2) format('woff2');
}
/* Montserrat sí llegaba (la plantilla de las entradas la usa en títulos y extractos) */
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/Montserrat-var-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(../fonts/Montserrat-italic-var-latin.woff2) format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --claro: #6EC1E4;        /* azul claro corporativo */
  --oscuro: #4054B2;       /* azul oscuro corporativo */
  --menu: #2C3394;         /* textos del menú, como en la cabecera de Elementor */
  --boton: #2FC1FF;        /* botones (color global 0 de Astra) */
  --boton-hover: #08ACF2;
  --suave: #EEF8FC;
  --tinta: #1B1F3B;
  --texto: #4C5253;        /* texto de Astra */
  --gris: #7A7F87;
  --linea: #E3E8EE;
  --whatsapp: #25D366;

  --serif: 'Vollkorn', Georgia, 'Times New Roman', serif;
  --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ancho: 1140px;
  --header-h: 142px;
}

/* ---------- Base (lo demás lo pone Astra) ---------- */
html { scroll-behavior: smooth; }
/* El fondo de la página es el gris claro de Astra (#F3F6F6), como en WordPress */
body { -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--oscuro); outline-offset: 3px; }
/* Alineación escrita a mano en el editor (manda sobre la del widget) */
.izquierda { text-align: left; }
.centro { text-align: center; }
.derecha { text-align: right; }
.justificado { text-align: justify; }

.saltar {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--oscuro); color: #fff; padding: 12px 20px;
}
.saltar:focus { left: 0; color: #fff; }

.contenedor {
  width: 100%; max-width: var(--ancho);
  margin-inline: auto; padding-inline: 20px;
}
.contenedor--texto { max-width: 800px; }

/* Botones propios: sin el estilo general de <button> de Astra */
.cabecera button, .visor button, .filtros button, .carrusel button {
  font: inherit; letter-spacing: normal; text-transform: none; line-height: 1;
  border: 0; border-radius: 0; padding: 0; background: none; color: inherit; cursor: pointer;
}
.cabecera button:hover, .cabecera button:focus,
.filtros button:hover, .filtros button:focus,
.carrusel button:hover, .carrusel button:focus { background: none; color: inherit; }

/* Títulos que cambian de nivel (un solo h1 por página) con el tamaño del suyo */
.elementor-heading-title.como-h1 { font-size: 64px; line-height: 1.4em; }
.elementor-heading-title.como-h2 { font-size: 40px; line-height: 1.3em; }
.elementor-heading-title.como-h3 { font-size: 32px; line-height: 1.3em; }
.elementor-heading-title.como-h4 { font-size: 24px; line-height: 1.2em; }
.elementor-heading-title.como-h5 { font-size: 18px; line-height: 1.2em; }
.elementor-heading-title.como-h6 { font-size: 14px; line-height: 1.25em; }

/* ==========================================================================
   Cabecera (medidas de la plantilla de cabecera de Elementor)
   ========================================================================== */
.cabecera {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .93);
  padding: 15px 0;
}
.cabecera__interior {
  width: 100%; max-width: var(--ancho); margin-inline: auto;
  min-height: 112px;
  display: grid; grid-template-columns: 262px 1fr 171px; align-items: center;
}
.logo { display: block; }
.logo img { display: block; width: 262px; height: auto; }

.nav-principal { display: flex; justify-content: center; align-self: start; }
.nav-principal > ul { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.nav-principal li { position: relative; list-style: none; margin: 0; }
.nav-principal a {
  position: relative; display: block;
  font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 20px;
  text-transform: uppercase; color: var(--menu);
  padding: 36px 20px;
}
.nav-principal a:hover, .nav-principal a:focus { color: var(--menu); }
/* Subrayado que crece desde el centro («pointer underline» de Elementor) */
.nav-principal > ul > li > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--menu);
  transform: scaleX(0); opacity: 0; transition: transform .3s, opacity .3s;
}
.nav-principal > ul > li > a:hover::after,
.nav-principal > ul > li > a[aria-current]::after { transform: scaleX(1); opacity: 1; }

.con-submenu { display: flex; align-items: center; }
.con-submenu > a { padding-right: 4px; }
.submenu-boton {
  display: grid; place-items: center;
  width: 20px; height: 30px; margin-right: 16px; color: var(--menu);
}
.submenu-boton svg { width: 12px; height: 12px; transition: transform .2s; }
.submenu-boton[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: 0; z-index: 10;
  min-width: 230px; margin: 0; padding: 0; list-style: none;
  background: #f2f2f2;
  display: none;
}
.submenu a {
  padding: 10px 20px; font-size: 15px; color: #000;
}
.submenu a:hover { background: var(--suave); color: #000; }
.submenu a[aria-current="page"] { color: #00A6CE; }
.con-submenu:hover .submenu,
.con-submenu:focus-within .submenu,
.submenu.abierto { display: block; }

.cabecera__acciones { display: flex; align-items: center; gap: 12px; padding-left: 7px; }

.boton {
  display: inline-block;
  font-family: var(--sans); font-size: 14px; font-weight: 700; line-height: 14px;
  letter-spacing: 1.4px; text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  background: var(--boton); color: #fff;
  transition: background-color .2s;
}
.boton:hover, .boton:focus { background: var(--boton-hover); color: #fff; }

.hamburguesa {
  display: none !important;
  width: 46px; height: 46px; color: var(--menu);
}
.hamburguesa svg { width: 28px; height: 28px; margin-inline: auto; }
.hamburguesa .icono-cerrar { display: none; }
.hamburguesa[aria-expanded="true"] .icono-abrir { display: none; }
.hamburguesa[aria-expanded="true"] .icono-cerrar { display: block; }

/* ==========================================================================
   Piezas de Elementor que aquí van sin su JavaScript
   ========================================================================== */
/* Iconos SVG en línea: heredan el color (fill) que fija Elementor */
.e-font-icon-svg { display: inline-block; }

/* Galería: rejilla de proporción fija */
.elementor-gallery__container.galeria-rejilla {
  display: grid; gap: var(--vgap) var(--hgap);
  grid-template-columns: repeat(var(--columns), 1fr);
}
/* Galería: mosaico (masonry). Sin JavaScript, columnas de CSS; con él (js/main.js),
   cada foto va a la columna más corta, en el orden de la galería, como en Elementor */
.elementor-gallery__container.galeria-mosaico { columns: var(--columns); column-gap: var(--hgap); }
.galeria-mosaico .galeria-item { margin-bottom: var(--vgap); break-inside: avoid; }
.galeria-mosaico.colocada { columns: auto; position: relative; }
.galeria-mosaico.colocada .galeria-item { position: absolute; margin: 0; }
.elementor-gallery-item { display: block; position: relative; overflow: hidden; }
.elementor-gallery-item img.e-gallery-image { display: block; width: 100%; height: auto; padding: 0; }
.galeria-rejilla .elementor-gallery-item img.e-gallery-image { aspect-ratio: var(--proporcion); object-fit: cover; }
.galeria-item[hidden] { display: none; }
.elementor-gallery-item__overlay, .elementor-gallery-item__content { opacity: 0; transition: opacity .5s; }
.elementor-gallery-item:hover .elementor-gallery-item__overlay,
.elementor-gallery-item:focus-visible .elementor-gallery-item__overlay { opacity: 1; background-color: rgba(0, 0, 0, .5); }
.elementor-gallery-item:hover .elementor-gallery-item__content,
.elementor-gallery-item:focus-visible .elementor-gallery-item__content { opacity: 1; }
.elementor-gallery-item__title { font-family: var(--sans); font-size: 15px; }
/* El original seguía con las columnas de escritorio a 1024 px justos */
@media (max-width: 1023px) {
  .elementor-gallery__container { --columns: 2 !important; }
}
@media (max-width: 767px) {
  .elementor-gallery__container { --columns: var(--columns-movil, 1) !important; }
}

/* Filtros de la galería (títulos de galería de Elementor Pro) */
.filtros.elementor-gallery__titles-container { display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.filtros .elementor-gallery-title {
  position: relative; padding: 7px 14px; margin-inline-end: 10px;
  font-family: var(--sans); font-size: 16px; font-weight: 500; color: #6d7882;
  transition: color .3s;
}
.filtros .elementor-gallery-title:hover, .filtros .elementor-gallery-title:focus { color: #495157; }
.filtros .elementor-gallery-title[aria-pressed="true"] { color: #495157; }
.filtros .elementor-gallery-title::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--boton-hover); opacity: 0; transition: opacity .3s;
}
.filtros .elementor-gallery-title:hover::after,
.filtros .elementor-gallery-title[aria-pressed="true"]::after { opacity: 1; }

/* Carrusel de imágenes: tres por vista, flechas y puntos (js/main.js) */
.carrusel { position: relative; }
.carrusel__pista {
  display: flex;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carrusel__pista::-webkit-scrollbar { display: none; }
.carrusel .swiper-slide {
  flex: 0 0 calc(100% / 3); max-width: none; scroll-snap-align: start;
  text-align: center;
}
.carrusel .swiper-slide-inner { margin: 0; }
.carrusel .swiper-slide-image { display: inline-block; width: 300px; max-width: 100%; aspect-ratio: 1; object-fit: cover; }
.carrusel .elementor-image-carousel-caption { color: #113379; text-align: center; }
.carrusel .elementor-swiper-button {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  display: inline-flex; width: 25px; height: 25px; font-size: 25px;
  color: rgba(238, 238, 238, .9); fill: rgba(238, 238, 238, .9);
}
.carrusel .elementor-swiper-button svg { width: 1em; height: 1em; }
.carrusel .elementor-swiper-button-prev { left: 10px; }
.carrusel .elementor-swiper-button-next { right: 10px; }
.carrusel__puntos { display: flex; justify-content: center; align-items: center; gap: 12px; height: 31px; }
.carrusel__puntos span { width: 6px; height: 6px; border-radius: 50%; background: #000; opacity: .2; }
.carrusel__puntos span.activo { opacity: 1; }
@media (max-width: 1024px) {
  .carrusel .swiper-slide { flex-basis: 50%; }
}
@media (max-width: 767px) {
  .carrusel .swiper-slide { flex-basis: 100%; }
}

/* Acordeón (preguntas frecuentes) con <details>: se abre sin JavaScript */
.elementor-accordion-item > summary { list-style: none; cursor: pointer; }
.elementor-accordion-item > summary::-webkit-details-marker { display: none; }
.elementor-accordion-item[open] .elementor-tab-content { display: block; }
.elementor-accordion-item[open] .elementor-accordion-icon-closed { display: none; }
.elementor-accordion-item[open] .elementor-accordion-icon-opened { display: block; }
.elementor-accordion .elementor-accordion-icon svg { width: 1em; height: 1em; }
/* En el original el título era un <a> y Astra le daba este alto de línea */
.elementor-accordion .elementor-accordion-title { line-height: 1.2em; }

/* Mapa en lugar del iframe de Google Maps */
.elementor-custom-embed .mapa-bloque { margin: 0; }
.elementor-custom-embed .mapa { aspect-ratio: auto; height: 400px; border-radius: 0; border: 0; }
/* Aquí la atribución basta con la de la propia captura: el mapa ocupa lo que el iframe */
.elementor-custom-embed .mapa-credito { display: none; }

.tabla { overflow-x: auto; margin: 1.4em 0; }
.tabla table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabla th, .tabla td { padding: 10px 12px; border-bottom: 1px solid var(--linea); text-align: left; }

/* Contacto directo (sustituye a los formularios) */
.aviso-contacto {
  background: var(--suave);
  border-left: 4px solid var(--claro);
  border-radius: 12px;
  padding: 32px;
}
.aviso-contacto h2 { font-size: 26px; line-height: 1.3; margin: 0 0 10px; }
.aviso-contacto p { margin-bottom: 20px; }
.aviso-contacto__botones { display: flex; flex-wrap: wrap; gap: 12px; }
.boton-contacto {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 700; line-height: 1.3;
  padding: 12px 22px; border-radius: 100px;
  background: var(--oscuro); color: #fff;
  transition: background-color .2s;
}
.boton-contacto:hover, .boton-contacto:focus { background: #33449a; color: #fff; }
.boton-contacto svg { width: 20px; height: 20px; }
.boton-contacto--wa { background: #1c8d47; }
.boton-contacto--wa:hover, .boton-contacto--wa:focus { background: #167238; }

/* ==========================================================================
   Visor de fotos
   ========================================================================== */
.galeria-item { cursor: zoom-in; }
.visor {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  background: rgba(6, 10, 26, .94);
  padding: 60px 20px;
}
.visor.abierto { display: flex; }
.visor img { max-width: min(1400px, 92vw); max-height: 80vh; width: auto; object-fit: contain; margin-inline: auto; }
.visor__pie { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; text-align: center; color: #fff; padding-inline: 80px; }
.visor__pie strong { display: block; font-family: var(--serif); font-size: 20px; }
.visor__pie span { font-size: 15px; color: #d6dcea; }
.visor button {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  transition: background-color .2s;
}
.visor button:hover, .visor button:focus { background: rgba(255, 255, 255, .25); color: #fff; }
.visor svg { width: 24px; height: 24px; }
.visor__cerrar { top: 20px; right: 20px; }
.visor__ant { left: 20px; top: 50%; transform: translateY(-50%); }
.visor__sig { right: 20px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Texto de las páginas legales y bloques de las entradas del blog
   ========================================================================== */
.texto { color: var(--texto); }
.texto h2, .texto h3, .texto h4, .texto h5, .texto h6 { margin: 1.3em 0 .5em; }
.texto > :first-child { margin-top: 0; }
.texto h2 { font-size: clamp(26px, 3vw, 34px); }
.texto h3 { font-size: 24px; }
.texto h4 { font-size: 20px; }
.texto h5 { font-size: 17px; font-family: var(--sans); font-weight: 700; }
.texto h6 { font-size: 16px; font-family: var(--sans); font-weight: 700; }
.texto ul, .texto ol { padding-left: 1.3em; margin: 0 0 1em; }
.texto li { margin-bottom: .35em; }
.texto a { color: var(--oscuro); text-decoration: underline; text-decoration-color: rgba(64, 84, 178, .35); text-underline-offset: 2px; }
.texto a:hover { text-decoration-color: currentColor; }
.texto img { border-radius: 10px; margin: 1.4em auto; }
.texto figure { margin: 1.4em 0; }
.texto figcaption { font-size: 14px; color: var(--gris); text-align: center; margin-top: -.8em; }
.texto blockquote { margin: 1.4em 0; padding: 8px 0 8px 22px; border-left: 4px solid var(--claro); font-style: italic; }

/* Bloques de Gutenberg: lo que WordPress añadía al pintar (clases is-layout-flex y
   estilos globales), que no está en el contenido guardado */
.wp-block-gallery.has-nested-images, .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.wp-block-gallery.has-nested-images > *, .wp-block-buttons > * { margin: 0; }
.wp-block-gallery.has-nested-images { --wp--style--unstable-gallery-gap: .5em; gap: .5em; align-items: normal; }
:root :where(.wp-element-button, .wp-block-button__link) {
  background-color: #32373c; border-width: 0; color: #fff; font-family: inherit; font-size: inherit;
  font-style: inherit; font-weight: inherit; letter-spacing: inherit; line-height: inherit;
  padding: calc(.667em + 2px) calc(1.333em + 2px); text-decoration: none; text-transform: inherit;
}

/* ==========================================================================
   Mapa (captura de Google Maps alojada aquí, no un iframe)
   ========================================================================== */
.mapa-bloque { margin: 0; }
.mapa {
  display: block; position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 8 / 5;
  border-radius: 10px; border: 1px solid var(--linea);
}
.mapa img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.mapa:hover img, .mapa:focus-visible img { transform: scale(1.04); }
.mapa__rotulo {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; color: var(--oscuro);
  font-size: 12.5px; font-weight: 700; line-height: 1;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .22);
}
.mapa:hover .mapa__rotulo { background: var(--oscuro); color: #fff; }
/* La atribución va dentro de la captura, como pide Google; aquí se repite legible */
.mapa-credito { margin-top: 6px; font-size: 11.5px; line-height: 1.4; color: var(--gris); }

/* ==========================================================================
   Páginas legales
   ========================================================================== */
.legal-cabecera {
  background: var(--oscuro); color: #fff; text-align: center;
  padding: 64px 0 56px;
  border-bottom-right-radius: 150px;
}
.legal-cabecera h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.2; color: #fff; margin: 0; }
.legal-cabecera p { margin: 12px 0 0; font-size: 15px; color: #dfe5f6; }
.seccion { padding-block: 70px; }
.legal h2 { font-size: 26px; margin: 46px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--sans); font-size: 18px; color: var(--oscuro); margin: 28px 0 10px; }
.legal ul { list-style: none; padding: 0; margin-left: 0; }
.legal ul li { position: relative; padding-left: 20px; }
.legal ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--claro);
}
.legal__datos {
  display: grid; grid-template-columns: minmax(180px, auto) 1fr; gap: 8px 24px;
  margin: 0 0 24px; padding: 24px 26px;
  background: var(--suave); border-left: 4px solid var(--claro);
}
.legal__datos dt { font-weight: 700; color: var(--tinta); }
.legal__datos dd { margin: 0; }

/* ==========================================================================
   Botón flotante de WhatsApp
   ========================================================================== */
.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 12px; flex-direction: row-reverse;
}
.wa-flotante__boton {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.wa-flotante__boton:hover, .wa-flotante__boton:focus { transform: scale(1.07); color: #fff; }
.wa-flotante__boton svg { width: 34px; height: 34px; }
.wa-flotante__globo {
  background: #fff; color: var(--texto);
  padding: 10px 16px; border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
  font-size: 14px; line-height: 1.35; max-width: 230px;
}
.wa-flotante__globo strong { display: block; color: var(--tinta); }

/* ==========================================================================
   Pantallas menores
   ========================================================================== */
@media (max-width: 1200px) {
  .cabecera__interior { padding-inline: 20px; grid-template-columns: 210px 1fr auto; }
  .nav-principal a { padding-inline: 12px; }
  .logo img { width: 210px; }
}

@media (max-width: 1024px) {
  .elementor-custom-embed .mapa { height: 350px; }
  .elementor-heading-title.como-h1 { font-size: 40px; }
  .elementor-heading-title.como-h2 { font-size: 32px; }
  .elementor-heading-title.como-h3 { font-size: 24px; }
  .elementor-heading-title.como-h4 { font-size: 22px; }
}

@media (max-width: 960px) {
  :root { --header-h: 80px; }
  .cabecera { padding: 8px 0; }
  .cabecera__interior { min-height: 64px; display: flex; justify-content: space-between; }
  .logo img { width: 180px; }
  .hamburguesa { display: grid !important; place-items: center; }
  .nav-principal {
    position: fixed; inset: var(--header-h) 0 auto 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    background: #fff;
    border-top: 1px solid var(--linea);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
    padding: 8px 24px 24px;
    display: none;
  }
  .nav-principal.abierto { display: block; }
  .nav-principal > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-principal li { border-bottom: 1px solid var(--linea); }
  .nav-principal a { padding: 15px 0; font-size: 15px; }
  .nav-principal > ul > li > a::after { display: none; }
  .nav-principal > ul > li > a[aria-current] { color: #00A6CE; }
  .con-submenu { flex-wrap: wrap; justify-content: space-between; }
  .submenu-boton { width: 46px; height: 46px; margin: 0; }
  .submenu {
    position: static; flex-basis: 100%;
    background: none; padding: 0 0 8px 14px;
  }
  /* En móvil el submenú solo se abre con su botón, no al pasar o enfocar */
  .con-submenu:hover .submenu, .con-submenu:focus-within .submenu { display: none; }
  .con-submenu .submenu.abierto { display: block; }
  .submenu li { border-bottom: 0; }
  .submenu a { padding: 10px 0; }
  .wa-flotante__globo { display: none; }
}

@media (max-width: 767px) {
  .legal__datos { grid-template-columns: 1fr; gap: 2px; padding: 20px 22px; }
  .legal__datos dd { margin-bottom: 12px; }
  .visor__ant { left: 8px; }
  .visor__sig { right: 8px; }
  .visor__pie { padding-inline: 20px; }
  .elementor-heading-title.como-h2 { font-size: 28px; }
  .elementor-heading-title.como-h3 { font-size: 22px; }
  .elementor-heading-title.como-h4 { font-size: 18px; }
  .elementor-heading-title.como-h5 { font-size: 16px; }
}

@media (max-width: 767px) {
  /* Como la cabecera móvil de Elementor: logo y botón de menú, sin «Reservar» */
  :root { --header-h: 94px; }
  .cabecera { padding: 20px 0; }
  .cabecera__interior { padding-inline: 20px; min-height: 54px; }
  .logo img { width: 175px; }
  .cabecera__acciones .boton { display: none; }
  .hamburguesa { width: 45px; height: 45px; color: #000; }
}

@media (max-width: 560px) {
  .aviso-contacto { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

