/* Lienzo: lo mínimo para que contenedores y widgets funcionen sobre cualquier tema. */

.lz-documento { display: block; }
.lz-el { box-sizing: border-box; min-width: 0; }
.lz-contenedor { position: relative; display: flex; flex: 1 1 0; min-width: 0; background-position: center; background-size: cover; }
.lz-interno { position: relative; display: flex; flex: 1; flex-direction: column; gap: 20px; width: 100%; min-width: 0; }
.lz-documento > .lz-contenedor.es-limitado > .lz-interno { width: min(100% - 2 * var(--lz-margen, 24px), var(--lz-ancho, 1280px)); margin-inline: auto; }
.lz-contenedor .lz-contenedor { flex-basis: 0; }

@media (min-width: 1025px) { .lz-oculto-d { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .lz-oculto-t { display: none !important; } }
@media (max-width: 767px) { .lz-oculto-m { display: none !important; } }

/* Animación de entrada: frontal.js quita es-oculto cuando el elemento aparece. */
.lz-anima.es-oculto { opacity: 0; }
.lz-anima-subir.es-oculto { transform: translateY(28px); }
.lz-anima-acercar.es-oculto { transform: scale(.96); }
.lz-anima { transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
@media (prefers-reduced-motion: reduce) { .lz-anima { transition: none; } .lz-anima.es-oculto { opacity: 1; transform: none; } }

.lz-titulo, .lz-tarjeta__titulo, .lz-llamado__titulo, .lz-precio__nombre { margin: 0; font-family: var(--lz-fuente-titulos, inherit); }
.lz-texto > :first-child { margin-top: 0; }
.lz-texto > :last-child { margin-bottom: 0; }
.lz-w-imagen img { display: block; max-width: 100%; height: auto; }
.lz-w-imagen img[style], .lz-w-imagen img { vertical-align: top; }
.lz-vacio { display: grid; place-items: center; min-height: 120px; border: 1.5px dashed rgb(0 0 0 / 18%); border-radius: 10px; color: rgb(0 0 0 / 50%); font-size: .875rem; }

.lz-boton { --lz-boton: var(--lz-color-primario, #111827); display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1.5px solid var(--lz-boton); border-radius: 999px; font-weight: 500; text-decoration: none; transition: opacity .2s, transform .2s; }
.lz-boton.es-relleno { background: var(--lz-boton); color: #fff; }
.lz-boton.es-borde { background: none; color: var(--lz-boton); }
.lz-boton.es-simple { padding: 0; border: 0; color: var(--lz-boton); }
@media (hover: hover) { .lz-boton:hover { opacity: .85; } }
.lz-enlace { color: var(--lz-color-acento, inherit); font-weight: 500; }

.lz-separador { width: 100%; margin: 0; border: 0; border-top: 1px solid rgb(0 0 0 / 14%); }
.lz-icono { display: inline-block; width: 32px; height: 32px; }

.lz-lista { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lz-lista li { position: relative; padding-left: 26px; }
.lz-lista.es-nada li { padding-left: 0; }
.lz-lista.es-visto li::before { content: ""; position: absolute; top: .45em; left: 2px; width: 12px; height: 6px; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(-45deg); }
.lz-lista.es-punto li::before { content: ""; position: absolute; top: .55em; left: 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lz-lista.es-linea li::before { content: ""; position: absolute; top: .7em; left: 2px; width: 14px; border-top: 2px solid currentColor; }

.lz-video { display: block; overflow: hidden; width: 100%; }
.lz-video--marco iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.lz-cita { margin: 0; padding-left: 20px; border-left: 3px solid var(--lz-color-acento, currentColor); }
.lz-cita__texto { margin: 0 0 8px; font-size: 1.25em; }
.lz-cita cite { font-size: .875em; font-style: normal; opacity: .7; }

.lz-tarjeta { display: grid; align-content: start; gap: 12px; height: 100%; padding: 20px; border-radius: var(--lz-radio, 16px); background: var(--lz-color-suave, #f3f4f6); }
.lz-tarjeta__imagen { overflow: hidden; aspect-ratio: 3 / 2; border-radius: calc(var(--lz-radio, 16px) - 6px); }
.lz-tarjeta__imagen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lz-tarjeta__texto { margin: 0; }

.lz-llamado { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 4vw, 56px); border-radius: var(--lz-radio, 16px); background: var(--lz-color-primario, #111827); color: #fff; }
.lz-llamado__texto { margin: 8px 0 0; opacity: .8; }
.lz-llamado .lz-boton { --lz-boton: #fff; color: var(--lz-color-primario, #111827); }

.lz-contador { display: grid; gap: 4px; }
.lz-contador__cifra { font-family: var(--lz-fuente-titulos, inherit); font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.lz-contador__nota { opacity: .7; }

.lz-acordeon details { border-top: 1px solid rgb(0 0 0 / 12%); }
.lz-acordeon details:last-child { border-bottom: 1px solid rgb(0 0 0 / 12%); }
.lz-acordeon summary { padding-block: 16px; font-weight: 500; cursor: pointer; }
.lz-acordeon details > div { padding-bottom: 16px; }

.lz-pestanas__lista { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid rgb(0 0 0 / 12%); }
.lz-pestanas__lista button { min-height: 44px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: inherit; font: inherit; cursor: pointer; opacity: .65; }
.lz-pestanas__lista button[aria-selected="true"] { border-bottom-color: currentColor; opacity: 1; }

.lz-galeria { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lz-galeria img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
/* Carrusel solo horizontal: overflow-y:hidden deja el gesto vertical a la página. */
.lz-carrusel { display: flex; gap: 12px; overflow: auto hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.lz-carrusel > * { flex: 0 0 78%; margin: 0; scroll-snap-align: start; }
.lz-carrusel img { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 12px; }

.lz-testimonio { margin: 0; }
.lz-testimonio__texto { margin: 0 0 14px; font-size: 1.15em; }
.lz-testimonio figcaption { display: flex; align-items: center; gap: 10px; }
.lz-testimonio img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.lz-testimonio figcaption span { display: grid; }

.lz-precio { display: grid; align-content: start; gap: 12px; height: 100%; padding: 24px; border-radius: var(--lz-radio, 16px); background: var(--lz-color-suave, #f3f4f6); }
.lz-precio p { margin: 0; }
.lz-precio__valor { font-size: 2em; }

.lz-formulario { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lz-campo { display: grid; gap: 6px; grid-column: 1 / -1; font-size: .875rem; font-weight: 500; }
.lz-campo.es-medio { grid-column: auto; }
.lz-campo input, .lz-campo textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid transparent; border-radius: 12px; background: var(--lz-color-suave, #f3f4f6); font: 400 1rem/1.4 inherit; }
.lz-campo :focus { border-color: currentColor; outline: none; }
.lz-formulario .lz-boton { grid-column: 1 / -1; justify-self: start; cursor: pointer; }
.lz-formulario__trampa { position: absolute; left: -9999px; }
.lz-formulario__error { grid-column: 1 / -1; margin: 0; color: #c00; font-size: .875rem; }
.lz-formulario__listo { padding: 20px; border-radius: 12px; background: var(--lz-color-suave, #f3f4f6); font-weight: 500; }
.lz-mapa { display: block; width: 100%; height: 360px; border: 0; }
