/* Theme «El Perer» (ver DESIGN.md).

   Dos capas en un solo fichero:
   1) La hoja del theme «base», COPIADA (no @import): misma retícula y mismas
      clases fx-*, así todas las vistas que este theme hereda de base (opciones,
      pago, confirmación, tienda…) salen bien sin tocarlas.
   2) La piel de El Perer (más abajo, «PIEL»), diseño «elperer-web»: piedra, basalto
      y el verde de la Moixina; Instrument Serif para titulares y Manrope
      para leer. Las clases propias llevan prefijo pr-.
*/

/* Theme "base" — hoja de estilos autosuficiente.
   No depende de Bootstrap ni de ningún CDN. Los colores de marca llegan por
   brand_css(), que emite --bs-primary/--bs-secondary desde el panel; aquí solo
   se leen con un valor de reserva por si el core no los emitiera. */

:root {
    --fx-primary: var(--bs-primary, #2f5d3a);
    --fx-secondary: var(--bs-secondary, #b08d57);
    --fx-ink: #16201c;
    --fx-muted: #6b7671;
    --fx-line: #e3e8e4;
    --fx-bg: #ffffff;
    --fx-soft: #f5f7f5;
    --fx-danger: #a3372f;
    --fx-ok: #2f6b45;

    --fx-radius: 14px;
    --fx-radius-sm: 9px;
    --fx-gap: 1.25rem;

    /* Ritmo vertical: un solo número del que cuelga todo lo demás. */
    --fx-space: clamp(2.5rem, 6vw, 4.5rem);

    /* Sombra sutil, en el tono del texto y no en negro puro: el negro sobre
       fondo cálido se ve sucio. */
    --fx-shadow: 0 1px 2px rgba(22, 32, 28, .04), 0 8px 24px rgba(22, 32, 28, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--fx-bg);
    color: var(--fx-ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* El cuerpo crece un poco en pantallas grandes: 16px fijos se quedan
       pequeños a partir de cierta anchura. */
    font-size: clamp(16px, 0.55vw + 14.5px, 17.5px);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--fx-primary); }

/* Escala tipográfica fluida: los titulares se adaptan sin saltos bruscos. */
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 650; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 1.4em; }
h3 { font-size: clamp(1.1rem, 1.4vw, 1.25rem); }
h2:first-child, h3:first-child { margin-top: 0; }

p { margin: 0 0 1em; }
/* Los párrafos largos se leen mejor acotados. */
.fx-col-12 > .fx-rich p, .fx-narrow p { max-width: 68ch; }

a { text-decoration-thickness: 1px; text-underline-offset: .18em; }

.fx-wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.fx-narrow { width: min(760px, 100% - 2rem); }
.fx-section { padding-block: var(--fx-space); }
.fx-muted { color: var(--fx-muted); }
.fx-sm { font-size: .875rem; }
.fx-hidden { display: none !important; }
.fx-empty { color: var(--fx-muted); padding: 2rem 0; }

/* Campo trampa antispam: fuera de la vista pero no display:none (algunos bots
   detectan el display:none y lo saltan). */
.fx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Cabecera ---------- */

.fx-header {
    border-bottom: 1px solid var(--fx-line);
    /* Translúcida al hacer scroll, si el navegador lo soporta. */
    background: color-mix(in srgb, var(--fx-bg) 88%, transparent);
    backdrop-filter: saturate(160%) blur(10px);
    position: sticky; top: 0; z-index: 20;
}
/* Sin wrap: si el menú no cabe, la respuesta correcta es el botón de menú (más
   abajo), no partir la cabecera en tres pisos. */
.fx-header-in { display: flex; align-items: center; gap: var(--fx-gap); flex-wrap: nowrap; padding-block: 1rem; }
.fx-logo { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; text-decoration: none; color: inherit; margin-right: auto; }
.fx-logo img { max-height: 38px; width: auto; }

.fx-nav { min-width: 0; }
.fx-nav > ul { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .95rem; margin: 0; padding: 0; }
.fx-nav li { position: relative; }
.fx-nav a { text-decoration: none; color: inherit; padding: .25rem 0; font-size: .95rem; }
.fx-nav > ul > li > a { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.fx-nav a:hover, .fx-nav a.on { color: var(--fx-primary); border-bottom: 2px solid var(--fx-primary); }

/* Punta de flecha en las entradas que llevan submenú: si no, no hay forma de
   saber que hay algo debajo hasta que se pasa por encima. */
.fx-nav li:has(> .fx-subnav) > a::after {
    content: ''; width: .4em; height: .4em; flex: none;
    border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-.1em, -.1em);
}

/* El submenú se despliega sobre el contenido: no empuja la cabecera. */
.fx-subnav {
    position: absolute; top: 100%; left: -.6rem; z-index: 30;
    display: none; flex-direction: column; gap: 0;
    min-width: 12rem; padding: .4rem; font-size: .875rem;
    background: var(--fx-bg); border: 1px solid var(--fx-line);
    border-radius: var(--fx-radius-sm); box-shadow: var(--fx-shadow);
}
.fx-nav li:hover > .fx-subnav,
.fx-nav li:focus-within > .fx-subnav { display: flex; }
.fx-subnav a { display: block; padding: .35rem .7rem; border-radius: var(--fx-radius-sm); white-space: nowrap; }
.fx-subnav a:hover, .fx-subnav a.on { background: var(--fx-soft); border-bottom: 0; }

.fx-header-side { display: flex; align-items: center; gap: .75rem; }
.fx-cart { text-decoration: none; color: inherit; font-size: .875rem; }
.fx-badge { background: var(--fx-primary); color: #fff; border-radius: 999px; padding: 0 .4em; font-size: .75rem; margin-left: .25em; }
.fx-lang { list-style: none; display: flex; gap: .4rem; margin: 0; padding: 0; font-size: .8rem; }
.fx-lang a { text-decoration: none; color: var(--fx-muted); }
.fx-lang a.on { color: var(--fx-ink); font-weight: 700; }

/* Menú móvil sin JavaScript: un checkbox oculto controla el desplegable. */
.fx-nav-toggle, .fx-burger { display: none; }
@media (max-width: 1080px) {
    .fx-header-in { flex-wrap: wrap; }
    .fx-burger { display: block; cursor: pointer; width: 26px; order: 3; }
    .fx-burger span { display: block; height: 2px; background: var(--fx-ink); margin: 5px 0; }
    .fx-nav { display: none; width: 100%; order: 4; }
    .fx-nav-toggle:checked ~ .fx-nav { display: block; }
    .fx-nav > ul { flex-direction: column; gap: .5rem; padding-block: .75rem; }

    /* Dentro del desplegable no hay «pasar por encima»: el submenú se ve
       siempre, sangrado bajo su entrada. */
    .fx-subnav {
        position: static; display: flex; min-width: 0;
        padding: .25rem 0 .25rem .9rem; margin-top: .35rem;
        border: 0; border-left: 2px solid var(--fx-line); border-radius: 0;
        background: none; box-shadow: none;
    }
    .fx-nav li:has(> .fx-subnav) > a::after { display: none; }
}

/* ---------- Portada ---------- */

.fx-hero {
    background:
        radial-gradient(80% 120% at 50% -20%, color-mix(in srgb, var(--fx-primary) 8%, transparent), transparent 70%),
        var(--fx-soft);
    padding-block: calc(var(--fx-space) * 1.2);
    text-align: center;
}
.fx-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.fx-lead { font-size: 1.125rem; color: var(--fx-muted); max-width: 60ch; margin-inline: auto; }
.fx-hero-img { width: 100%; border-radius: var(--fx-radius); margin-bottom: 1.5rem; }

/* ---------- Botones ---------- */

.fx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    background: var(--fx-primary);
    color: #fff;
    border: 1px solid var(--fx-primary);
    border-radius: 999px;
    padding: .7rem 1.4rem;
    font: inherit; font-weight: 550; line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.fx-btn:hover { filter: brightness(1.06); box-shadow: var(--fx-shadow); }
.fx-btn:active { transform: translateY(1px); }
.fx-btn:focus-visible { outline: 2px solid var(--fx-primary); outline-offset: 3px; }
.fx-btn-sm { padding: .45rem 1rem; font-size: .875rem; }
.fx-btn-block { display: block; width: 100%; text-align: center; }
.fx-btn-ghost { background: transparent; color: var(--fx-primary); }

/* ---------- Formularios ---------- */

.fx-form { max-width: 100%; }
.fx-form-row { display: flex; gap: var(--fx-gap); flex-wrap: wrap; }
.fx-form-row > .fx-field { flex: 1 1 220px; }

.fx-field { display: block; margin-bottom: 1rem; }
.fx-field > span { display: block; font-size: .8rem; font-weight: 550; color: var(--fx-muted); margin-bottom: .35rem; }
.fx-field input, .fx-field select, .fx-field textarea {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--fx-line);
    border-radius: var(--fx-radius-sm);
    background: #fff;
    font: inherit;
    color: inherit;
    transition: border-color .12s ease, box-shadow .12s ease;
}
.fx-field input:hover, .fx-field select:hover, .fx-field textarea:hover { border-color: #cdd6d0; }
.fx-field input:focus, .fx-field select:focus, .fx-field textarea:focus {
    outline: none;
    border-color: var(--fx-primary);
    /* Anillo en el color de marca en vez del outline del navegador. */
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-primary) 18%, transparent);
}
.fx-field-sm { flex: 0 1 150px !important; }
.fx-field-xs { flex: 0 1 110px !important; }

.fx-check { display: flex; gap: .5rem; align-items: flex-start; margin: 1rem 0; }
.fx-fieldset { border: 1px solid var(--fx-line); border-radius: var(--fx-radius); padding: 1rem; margin: 1rem 0; }
.fx-fieldset legend { font-size: .8rem; color: var(--fx-muted); padding-inline: .4rem; }
.fx-inline-form { display: flex; gap: .5rem; align-items: flex-end; flex-wrap: wrap; }
.fx-inline-form .fx-field { margin-bottom: 0; }
.fx-qty { width: 5rem; padding: .35rem; border: 1px solid var(--fx-line); border-radius: var(--fx-radius); }

/* ---------- Buscador ---------- */

.fx-search { background: var(--fx-soft); border: 1px solid var(--fx-line); border-radius: var(--fx-radius); padding: 1rem; margin-bottom: 1.5rem; }
.fx-search-row { display: flex; gap: var(--fx-gap); flex-wrap: wrap; align-items: flex-end; }
.fx-search-row > .fx-field { flex: 1 1 170px; margin-bottom: 0; }
.fx-search-ages { display: flex; gap: .5rem; flex-wrap: wrap; align-items: flex-end; margin-top: .75rem; }
.fx-search-ages-label { flex: 1 0 100%; font-size: .8rem; color: var(--fx-muted); }

/* ---------- Listados ---------- */

.fx-rooms, .fx-cardgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.fx-rooms { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.fx-cardgrid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.fx-room, .fx-card {
    border: 1px solid var(--fx-line); border-radius: var(--fx-radius);
    overflow: hidden; display: flex; flex-direction: column;
    background: var(--fx-bg);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.fx-room:hover, .fx-card:hover { transform: translateY(-2px); box-shadow: var(--fx-shadow); border-color: #d4dcd7; }
.fx-room-off:hover, .fx-card.fx-room-off:hover { transform: none; box-shadow: none; }
.fx-room-off { opacity: .6; }
.fx-room-img, .fx-card-media { display: block; position: relative; background: var(--fx-soft); }
.fx-room-img img, .fx-card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.fx-room-body, .fx-card-body { padding: 1.15rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.fx-room-body h3, .fx-card-body h3 { margin: 0; }
.fx-room-body h3 a, .fx-card-body h3 a { text-decoration: none; color: inherit; }

.fx-tag { position: absolute; top: .5rem; left: .5rem; background: var(--fx-secondary); color: #fff; font-size: .75rem; padding: .15rem .5rem; border-radius: 999px; }
.fx-tag-off { left: auto; right: .5rem; background: var(--fx-danger); }

.fx-room-meta { list-style: none; display: flex; gap: .75rem; flex-wrap: wrap; margin: 0; padding: 0; font-size: .85rem; color: var(--fx-muted); }
.fx-room-foot { margin-top: auto; padding-top: .75rem; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; flex-wrap: wrap; }
.fx-price strong { font-size: 1.15rem; }
.fx-unavailable { color: var(--fx-danger); font-size: .875rem; margin: 0; }

.fx-features, .fx-gallery { list-style: none; margin: 0 0 1em; padding: 0; }
.fx-features { display: flex; gap: .5rem; flex-wrap: wrap; }
.fx-features li { background: var(--fx-soft); border-radius: 999px; padding: .2rem .7rem; font-size: .85rem; }
.fx-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .5rem; }
.fx-gallery img { border-radius: var(--fx-radius); aspect-ratio: 3 / 2; object-fit: cover; }

.fx-chips { list-style: none; display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding: 0; }
.fx-chips a { text-decoration: none; border: 1px solid var(--fx-line); border-radius: 999px; padding: .25rem .8rem; font-size: .875rem; color: inherit; }
.fx-chips a.on { background: var(--fx-primary); border-color: var(--fx-primary); color: #fff; }

/* ---------- Dos columnas ---------- */

.fx-cols { display: flex; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.fx-col-main { flex: 1 1 400px; min-width: 0; }
.fx-col-side { flex: 0 1 320px; position: sticky; top: 5rem; }
@media (max-width: 800px) { .fx-col-side { position: static; flex-basis: 100%; } }

.fx-box { border: 1px solid var(--fx-line); border-radius: var(--fx-radius); padding: 1.25rem; background: var(--fx-soft); margin-bottom: 1.5rem; }
.fx-box h2 { margin-top: 0; }

/* ---------- Pasos del funnel ---------- */

.fx-steps { list-style: none; display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.5rem; padding: 0; font-size: .875rem; }
.fx-steps li { color: var(--fx-muted); }
.fx-steps li a { color: inherit; text-decoration: none; }
.fx-steps li a:hover { text-decoration: underline; }
.fx-steps li.current { color: var(--fx-ink); font-weight: 700; }
.fx-steps li.done { color: var(--fx-primary); }
.fx-step-n { display: inline-block; min-width: 1.5em; text-align: center; border: 1px solid currentColor; border-radius: 999px; font-size: .75rem; }
.fx-steps li + li::before { content: "›"; margin-right: .5rem; color: var(--fx-line); }

/* ---------- Extras y totales ---------- */

.fx-options { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .75rem; }
.fx-option { border: 1px solid var(--fx-line); border-radius: var(--fx-radius); padding: .75rem 1rem; }
.fx-option-name { font-weight: 600; }
.fx-option-price { margin: .25rem 0 0; }
.fx-option .fx-field { margin-top: .5rem; margin-bottom: 0; }

.fx-payments { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.fx-payments label { display: flex; gap: .5rem; align-items: center; }

.fx-totals { margin: 0; }
.fx-totals > div { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px dashed var(--fx-line); }
.fx-totals dt { color: var(--fx-muted); font-size: .9rem; }
.fx-totals dd { margin: 0; text-align: right; }
.fx-totals .fx-total { border-bottom: 0; border-top: 2px solid var(--fx-line); margin-top: .35rem; padding-top: .6rem; }
.fx-totals .fx-total dt { color: inherit; font-weight: 600; }

.fx-coupon { margin-top: 1rem; }
.fx-summary-room { font-weight: 600; margin-bottom: .25rem; }
.fx-quote { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--fx-line); }

.fx-code { text-align: center; }
.fx-code-value { font-size: 1.6rem; font-weight: 700; letter-spacing: .08em; margin: .25rem 0; }

/* ---------- Tablas ---------- */

.fx-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.fx-table th, .fx-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--fx-line); vertical-align: top; }
.fx-table tfoot th, .fx-table tfoot td { border-bottom: 0; border-top: 2px solid var(--fx-line); }

/* ---------- Calendario de disponibilidad ---------- */

.fx-avail-room { margin-bottom: 2.5rem; }
.fx-cal-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.fx-cal { border-collapse: collapse; width: 100%; font-size: .8rem; }
.fx-cal caption { text-align: left; font-weight: 600; padding-bottom: .35rem; }
.fx-cal td { text-align: center; padding: .3rem 0; border: 1px solid var(--fx-line); }
.fx-cal td.fx-cal-pad { border: 0; }
.fx-cal td.fx-cal-off { background: var(--fx-soft); color: var(--fx-muted); text-decoration: line-through; }

.fx-openings { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }

/* ---------- Avisos ---------- */

.fx-flash { border-radius: var(--fx-radius); padding: .75rem 1rem; margin: 1rem auto; width: min(1120px, 100% - 2rem); }
.fx-flash ul { margin: 0; padding-left: 1.2em; }
.fx-flash-ok { background: #e8f4ec; color: var(--fx-ok); }
.fx-flash-err { background: #fbeceb; color: var(--fx-danger); }

/* ---------- Contenido enriquecido ---------- */

.fx-rich img { border-radius: var(--fx-radius); margin-block: 1rem; }
.fx-rich ul, .fx-rich ol { padding-left: 1.3em; }
.fx-rich table { width: 100%; border-collapse: collapse; }
.fx-rich td, .fx-rich th { border: 1px solid var(--fx-line); padding: .4rem; }

/* ---------- Cookies ---------- */

.fx-cookies {
    position: fixed; bottom: 1rem; left: 1rem; right: 1rem;
    max-width: 560px; margin-inline: auto;
    background: var(--fx-bg); border: 1px solid var(--fx-line);
    border-radius: var(--fx-radius); padding: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12); z-index: 50;
}
.fx-cookies p { margin-bottom: .75rem; font-size: .875rem; }
.fx-cookies-actions { display: flex; gap: .5rem; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Pie ---------- */

.fx-footer { background: var(--fx-soft); border-top: 1px solid var(--fx-line); margin-top: 3rem; padding-block: 2rem 1rem; }
.fx-footer-in { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.fx-footer p { margin: 0 0 .25em; font-size: .9rem; }
.fx-footer-name { font-weight: 700; }
.fx-footer a { color: inherit; }
.fx-footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; font-size: .9rem; }
.fx-footer-legal { border-top: 1px solid var(--fx-line); margin-top: 1.5rem; padding-top: 1rem; font-size: .8rem; color: var(--fx-muted); }

/* ---------- Bloques de contenido ---------- */
/* La rejilla la decide el core (front/blocks.blade.php); aquí solo su aspecto. */

/* Las filas del pintor llevan el mismo ancho y el mismo aire que una sección:
   si no, el contenido compuesto se pegaría a los bordes de la pantalla. */
.fx-row { width: min(1120px, 100% - 2rem); margin-inline: auto; padding-block: calc(var(--fx-space) / 2); }
/* Una fila a sangre (cabecera con vídeo, banda de premios) ocupa todo el ancho. */
.fx-row:has(> .fx-grid > .fx-col > .fx-vhero),
.fx-row:has(> .fx-grid > .fx-col > .fx-awards) { width: 100%; padding-inline: 0; }

/* Un titular pega con lo que viene detrás: son la misma sección, no dos. */
.fx-row:has(> .fx-grid > .fx-col > .fx-blockhead:only-child) { padding-bottom: 0; }
.fx-row:has(> .fx-grid > .fx-col > .fx-blockhead:only-child) + .fx-row { padding-top: .5rem; }

/* Fila pegada a la anterior: sin margen arriba, se lee como continuacion. */
.fx-row.fx-tight { padding-top: 0; }

/* Dentro de una columna, los bloques respiran entre ellos. */
.fx-col > * + * { margin-top: 1.25rem; }
.fx-grid { display: flex; flex-wrap: wrap; gap: var(--fx-gap); align-items: flex-start; }
.fx-col { flex: 1 1 100%; min-width: 0; }

@media (min-width: 720px) {
    /* Doceavos: el ancho de cada bloque en la fila. */
    .fx-col-3 { flex-basis: calc(25% - var(--fx-gap) * 3 / 4); }
    .fx-col-4 { flex-basis: calc(33.333% - var(--fx-gap) * 2 / 3); }
    .fx-col-6 { flex-basis: calc(50% - var(--fx-gap) / 2); }
    .fx-col-8 { flex-basis: calc(66.666% - var(--fx-gap) / 3); }
    .fx-col-9 { flex-basis: calc(75% - var(--fx-gap) / 4); }
    .fx-col-12 { flex-basis: 100%; }
}

.fx-blockhead { margin-bottom: 1.5rem; }
.fx-blockhead.fx-center { text-align: center; }
.fx-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--fx-secondary); margin-bottom: .25rem; }

.fx-blockhero {
    background: var(--fx-soft) center/cover no-repeat;
    border-radius: var(--fx-radius);
    padding: 3.5rem 1.5rem;
    text-align: center;
    position: relative;
}
/* Velo: sin él, un texto claro sobre una foto clara no se lee. */
.fx-blockhero[style] { color: #fff; }
.fx-blockhero[style]::before {
    content: ""; position: absolute; inset: 0;
    background: rgba(0, 0, 0, .38); border-radius: inherit;
}
.fx-blockhero-in { position: relative; }
.fx-blockhero-cta { margin-top: 1.25rem; display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }

.fx-blockimg { margin: 0; }
.fx-blockimg img { width: 100%; border-radius: var(--fx-radius); }
.fx-blockimg figcaption { font-size: .85rem; color: var(--fx-muted); margin-top: .4rem; }

.fx-faq details { border-bottom: 1px solid var(--fx-line); padding: .75rem 0; }
.fx-faq summary { cursor: pointer; font-weight: 600; }
.fx-faq details p { margin: .5rem 0 0; }

.fx-pricelist { list-style: none; margin: 0; padding: 0; }
.fx-pricelist li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--fx-line); }
.fx-pricelist-name { display: flex; flex-direction: column; }
.fx-pricelist-price { font-weight: 700; white-space: nowrap; }

.fx-quote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--fx-secondary); font-size: 1.1rem; }
.fx-quote cite { display: block; font-size: .85rem; color: var(--fx-muted); font-style: normal; margin-top: .5rem; }

.fx-ctaband {
    background: var(--fx-soft); border-radius: var(--fx-radius); padding: 1.75rem;
    display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.fx-ctaband h2 { margin: 0 0 .25rem; }
.fx-ctaband p { margin: 0; }

/* Pestañas sin JavaScript: el radio marcado enseña su panel. */
.fx-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.fx-tabradio { position: absolute; opacity: 0; pointer-events: none; }
.fx-tablabel {
    order: -1; cursor: pointer; padding: .35rem .9rem;
    border: 1px solid var(--fx-line); border-radius: 999px; font-size: .9rem;
}
.fx-tabradio:checked + .fx-tablabel { background: var(--fx-primary); border-color: var(--fx-primary); color: #fff; }
.fx-tabpanel { display: none; flex-basis: 100%; }
.fx-tabradio:checked + .fx-tablabel + .fx-tabpanel { display: block; }

/* ---------- Cabecera con vídeo ---------- */

.fx-vhero {
    position: relative; overflow: hidden;
    border-radius: var(--fx-radius);
    min-height: min(72svh, 640px);
    display: grid; place-items: center;
    text-align: center; color: #fff;
}
.fx-vhero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Velo: sin él, un texto claro sobre imagen clara no se lee. */
.fx-vhero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)); }
.fx-vhero-in { position: relative; padding: 2rem 1.5rem; max-width: 46rem; }
.fx-vhero-in h1 { color: #fff; }
.fx-vhero-in .fx-lead { color: rgba(255,255,255,.9); }
.fx-vhero-cta { margin-top: 1.5rem; display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
/* Las palabras que rotan son una animación del tema Cabanyes: aquí la
   primera se queda quieta, para que la frase se lea entera. */
.fx-vhero-rotor { display: block; margin-top: .35rem; color: var(--fx-secondary); }
.fx-searchhint { margin: 0 0 .75rem; font-size: .9rem; color: var(--fx-muted); }
.fx-rating { margin: 0 0 1rem; font-size: 1.1rem; }
.fx-rating strong { font-size: 1.9rem; }

/* Quien pide menos movimiento no debería recibir un vídeo en bucle. */
@media (prefers-reduced-motion: reduce) {
    .fx-vhero video.fx-vhero-media { display: none; }
}

/* ---------- Reseñas ---------- */

.fx-reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fx-reviews li { border: 1px solid var(--fx-line); border-radius: var(--fx-radius); padding: 1.15rem 1.25rem; background: var(--fx-bg); }
.fx-reviews p { margin: 0 0 .6rem; }
.fx-reviews cite { font-style: normal; font-size: .875rem; color: var(--fx-muted); }
.fx-stars { color: var(--fx-secondary); letter-spacing: .08em; display: block; margin-bottom: .5rem; }
.fx-stars span { color: var(--fx-line); }

/* ---------- Sellos y premios ---------- */

.fx-logos {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-wrap: wrap; gap: 1.75rem;
    align-items: center; justify-content: center;
}
.fx-logos img { max-height: 64px; width: auto; }
/* En gris hasta que se pasa por encima: así no compiten con el contenido. */
.fx-logos li { filter: grayscale(1); opacity: .75; transition: filter .15s ease, opacity .15s ease; }
.fx-logos li:hover { filter: none; opacity: 1; }

/* ---------- Premios ---------- */

.fx-awards { background: var(--fx-ink); color: #fff; border-radius: var(--fx-radius); padding: 2.5rem 2rem; }
.fx-awards-head { text-align: center; margin-bottom: 1.75rem; }
.fx-awards-head h2 { color: #fff; margin: 0; }
.fx-awards ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fx-awards li { text-align: center; }
.fx-award-year { display: block; color: var(--fx-secondary); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.fx-award-text { display: block; font-size: .95rem; opacity: .92; }


/* =====================================================================
   PIEL · El Perer — diseño «elperer-web» (ver DESIGN.md).
   Diseña los BLOQUES del editor: el contenido vive en la base de datos y
   cualquier theme lo puede pintar; este solo le da el aspecto.
   ===================================================================== */

/* ---------- TOKENS ---------- */
:root {
    --stone: #f2eee6;
    --paper: #fbfaf7;
    --sand: #e7e1d3;
    --basalt: #1c1f1b;
    --ink-2: #3e433c;
    --muted: #5a5f57;
    --moss: #34503b;
    --moss-dark: #2a4230;
    --pear: #c9c46b;
    --pear-light: #d7d27d;
    --line: #e4dfd4;
    --on-dark: #fbfaf7;
    --on-dark-2: #c3c8bc;
    --on-dark-3: #a8aea2;
    --dark-line: #33382f;
    --ok: #2f6b45;
    --err: #a3372f;

    /* Fraunces con el eje SOFT al máximo (curvas suaves, sin aristas) y
       tamaño óptico automático; Geist para todo lo demás. */
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --serif-w: 350;
    --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;

    --t-display: clamp(2.8rem, 7.2vw, 7rem);
    --t-section: clamp(2.2rem, 4.4vw, 3.9rem);
    --t-h3: clamp(1.7rem, 2.6vw, 2.25rem);
    --t-lead: 1.125rem;

    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
    --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
    --section: clamp(5rem, 9vw, 7.5rem);
    --wrap: min(1320px, 100% - clamp(32px, 7vw, 112px));

    --r-pill: 999px;
    --r-card: 1.6rem;
    --r-img: 1.75rem;
    --r-box: 1.4rem;
    --shadow-float: 0 30px 60px rgb(0 0 0 / .22);

    --ease: cubic-bezier(.2, .8, .2, 1);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

    /* Puente con la hoja de base (vistas heredadas del embudo de reserva). */
    --fx-primary: var(--moss);
    --fx-secondary: var(--pear);
    --fx-ink: var(--basalt);
    --fx-muted: var(--muted);
    --fx-line: var(--line);
    --fx-bg: var(--stone);
    --fx-soft: var(--paper);
    --fx-radius: var(--r-box);
    --fx-radius-sm: .75rem;
    --fx-gap: clamp(24px, 4vw, 48px);
    --fx-space: var(--section);
    --fx-shadow: var(--shadow-float);
}

/* ---------- Base ---------- */
html { scroll-behavior: auto; }
body { font-variation-settings: "SOFT" 100; font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--basalt); background: var(--stone); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: var(--serif-w); letter-spacing: -.02em; }
h1 { font-size: var(--t-section); line-height: 1; }
h2 { font-size: var(--t-section); line-height: 1; }
h3 { font-size: var(--t-h3); line-height: 1.05; }
p { text-wrap: pretty; }
a { color: var(--moss); }
::selection { background: var(--pear); color: var(--basalt); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
.fx-wrap { width: var(--wrap); }
.fx-muted { color: var(--muted); }
figcaption { font-size: .875rem; color: var(--muted); margin-top: var(--s-3); }
.pr-skip { position: absolute; left: var(--s-2); top: -4rem; z-index: 2000; background: var(--basalt); color: var(--paper); padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); }
.pr-skip:focus { top: var(--s-2); }
.pr-eyebrow, .pr-head-eyebrow, .pr-hero-eyebrow { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--moss); margin: 0 0 var(--s-4); }

/* ---------- Botones: píldoras ---------- */
.fx-btn, .pr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .8rem 1.6rem; border-radius: var(--r-pill);
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    background: var(--basalt); color: var(--paper); border: 1.5px solid var(--basalt);
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .25s var(--ease);
}
.fx-btn:hover, .pr-btn:hover { background: #30352e; border-color: #30352e; color: #fff; filter: none; box-shadow: none; }
.fx-btn:active, .pr-btn:active { transform: scale(.97); }
.fx-btn-sm { min-height: 44px; padding: .55rem 1.25rem; font-size: .9375rem; }
.fx-btn-ghost, .pr-btn-outline { background: transparent; color: var(--basalt); border-color: var(--basalt); }
.fx-btn-ghost:hover, .pr-btn-outline:hover { background: var(--basalt); color: var(--paper); }
.pr-btn-pear { background: var(--pear); border-color: var(--pear); color: var(--basalt); }
.pr-btn-pear:hover { background: var(--pear-light); border-color: var(--pear-light); color: var(--basalt); }
.pr-btn-light { background: var(--paper); border-color: var(--paper); color: var(--basalt); }
.pr-btn-light:hover { background: #fff; border-color: #fff; color: var(--basalt); }
.pr-btn-outline-light { background: transparent; border-color: rgb(251 250 247 / .7); color: var(--paper); }
.pr-btn-outline-light:hover { background: var(--paper); color: var(--basalt); }
.pr-arrow-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 700; color: var(--basalt); text-decoration: none; }
.pr-arrow-link i { transition: transform .25s var(--ease); }
.pr-arrow-link:hover i { transform: translateX(4px); }
.pr-link { font-weight: 700; color: var(--moss); text-underline-offset: .25em; }

/* ---------- Cabecera: cápsula de vidrio ---------- */
.pr-nav { position: fixed; inset: 1.25rem clamp(1rem, 4vw, 3.5rem) auto; z-index: 1030; transition: transform .5s var(--ease); }
.pr-nav.is-hidden { transform: translateY(-140%); }
.pr-nav-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); background: rgb(28 31 27 / .55); border: 1px solid rgb(255 255 255 / .14); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-radius: var(--r-pill); padding: .6rem .6rem .6rem 1.5rem; transition: background-color .4s; }
.pr-nav.is-solid .pr-nav-in { background: rgb(28 31 27 / .9); }
.pr-brand { color: var(--paper); text-decoration: none; display: flex; align-items: baseline; gap: .55rem; min-height: 44px; align-items: center; }
.pr-brand b { font-family: var(--serif); font-weight: var(--serif-w); font-size: 1.65rem; line-height: 1; }
.pr-brand small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pear); }
.pr-brand img { max-height: 40px; width: auto; }
.pr-menu { list-style: none; display: flex; margin: 0; padding: 0; }
/* En mayúsculas espaciadas, como los antetítulos y las etiquetas del buscador. */
.pr-menu a { position: relative; display: block; color: var(--paper); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; padding: .7rem .7rem; text-decoration: none; }
.pr-menu a::after { content: ""; position: absolute; left: .7rem; right: calc(.7rem + .14em); bottom: .45rem; height: 1px; background: var(--pear); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.pr-menu a:hover::after, .pr-menu a.on::after { transform: scaleX(1); }
.pr-nav-side { display: flex; align-items: center; gap: var(--s-2); }
.pr-lang { display: flex; list-style: none; margin: 0; padding: 0; }
.pr-lang a { display: inline-grid; place-items: center; min-width: 36px; min-height: 36px; color: #dde0d7; font-size: .75rem; font-weight: 600; letter-spacing: .06em; padding: 0 .55rem; border-radius: var(--r-pill); text-decoration: none; }
.pr-lang a.on { background: var(--paper); color: var(--basalt); }
.pr-nav .pr-btn { min-height: 44px; padding: .55rem 1.4rem; font-size: .9375rem; white-space: nowrap; }
.pr-burger { display: none; width: 44px; height: 44px; place-items: center; background: none; border: 0; color: var(--paper); cursor: pointer; border-radius: var(--r-pill); }
.pr-burger i { font-size: 1.75rem; }
.pr-nav :focus-visible, .pr-offcanvas :focus-visible { outline-color: var(--pear); }

/* Menú móvil (panel lateral) */
.pr-offcanvas { position: fixed; inset: 0 0 0 auto; z-index: 1050; width: min(400px, 100%); background: var(--basalt); color: var(--paper); padding: var(--s-5) var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease-drawer), visibility 0s .35s; }
.pr-offcanvas.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease-drawer), visibility 0s; }
.pr-offcanvas-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s-5); }
.pr-offcanvas-head span { font-family: var(--serif); font-size: 2rem; }
.pr-offcanvas-close { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--paper); font-size: 1.5rem; cursor: pointer; }
.pr-offcanvas nav a { display: block; font-family: var(--serif); font-size: 2.5rem; line-height: 1.25; color: var(--paper); text-decoration: none; }
.pr-offcanvas .pr-lang { margin-top: auto; padding-top: var(--s-5); }
.pr-scrim { position: fixed; inset: 0; z-index: 1049; background: rgb(0 0 0 / .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.pr-scrim.is-open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
@media (max-width: 1199.98px) { .pr-nav .pr-menu { display: none; } .pr-burger { display: grid; } }
@media (max-width: 767.98px) { .pr-nav-side > .pr-lang, .pr-brand small { display: none; } .pr-nav-in { padding-left: 1.1rem; } .pr-nav .pr-btn { padding: .55rem 1rem; font-size: .875rem; } }

/* ---------- Filas del editor ---------- */
.fx-row { width: var(--wrap); padding-block: calc(var(--section) / 2); }
.fx-row:first-child { padding-top: calc(var(--section) + 5rem); }
.fx-row:last-child { padding-bottom: var(--section); }
.fx-col > * + * { margin-top: var(--s-5); }
.fx-grid { gap: var(--fx-gap); }
.fx-row:has(> .fx-grid > .fx-col-6), .fx-row:has(> .fx-grid > .fx-col-4) { padding-block: calc(var(--section) / 1.4); }
.fx-row:has(> .fx-grid > .fx-col-6) .fx-grid { align-items: center; }
@media (min-width: 900px) { .fx-row .fx-grid:has(> .fx-col-6) { flex-wrap: nowrap; } }

/* Filas a sangre: el bloque pone su propio fondo. */
.fx-row:has(.pr-hero), .fx-row:has(.pr-figures), .fx-row:has(.pr-marquee), .fx-row:has(.pr-reviews),
.fx-row:has(.pr-amen-grid), .fx-row:has(.pr-floors) { width: 100%; padding: 0; }
.fx-row:has(.pr-hero) .fx-grid, .fx-row:has(.pr-figures) .fx-grid, .fx-row:has(.pr-marquee) .fx-grid, .fx-row:has(.pr-reviews) .fx-grid { display: block; }

/* Texto con formato */
.fx-rich p { max-width: 62ch; }
.fx-rich > p, .pr-lead { font-size: var(--t-lead); color: var(--ink-2); }
.fx-rich h2 { font-size: var(--t-section); line-height: 1; margin-bottom: var(--s-5); }
.fx-rich h2:not(:first-child) { margin-top: var(--s-8); }
.fx-rich table { width: 100%; border-collapse: collapse; margin: var(--s-4) 0 var(--s-7); }
.fx-rich :is(table, th, td) { border-left: 0; border-right: 0; border-top: 0; background: none; }
.fx-rich th, .fx-rich td { text-align: left; padding: var(--s-4) var(--s-3) var(--s-4) 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fx-rich th { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); border-bottom: 1.5px solid var(--basalt); }
.fx-rich td:last-child { font-weight: 700; }
.pr-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.pr-actions a { text-decoration: none; }

/* ---------- Cabecera (bloque hero) ---------- */
.pr-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: #2a332b; }
.pr-hero-media { position: absolute; inset: -8% 0 0; z-index: -2; will-change: transform; }
.pr-hero-img { width: 100%; height: 100%; object-fit: cover; }
.pr-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 23 19 / .45); }
.pr-hero-in { padding-block: 11rem var(--s-8); }
.pr-hero-title { font-size: var(--t-section); line-height: 1; margin: 0; max-width: 18ch; text-wrap: balance; }
.pr-hero-lead { font-size: 1.25rem; line-height: 1.5; color: #e3e6dd; max-width: 560px; margin: var(--s-5) 0 0; }
.pr-hero-eyebrow { color: var(--pear); }
.pr-hero-cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-6) 0 0; }
.pr-hero-plain { background: var(--basalt); }
.pr-hero-plain::after { display: none; }
.pr-crumb { font-size: .875rem; margin: 0 0 var(--s-4); color: var(--on-dark-2); }
.pr-crumb a { color: inherit; }
/* Portada: a pantalla completa, título enorme partido en palabras. */
.pr-front .fx-row:first-child .pr-hero { min-height: 100svh; display: flex; align-items: flex-end; }
.pr-front .fx-row:first-child .pr-hero-in { padding-bottom: 15rem; }
.pr-front .fx-row:first-child .pr-hero-title { font-size: var(--t-display); line-height: .94; letter-spacing: -.02em; max-width: 1000px; }
.pr-front .fx-row:first-child .pr-hero-media { transform: scale(1.08); }
/* Máscara de la entrada palabra a palabra: el margen de abajo deja sitio a
   los trazos descendentes de Fraunces (y, g, p), más largos que la interlínea. */
.pr-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .2em; margin-bottom: -.2em; }
.pr-word > span { display: inline-block; }
.pr-front .fx-row:has(.pr-hero) + .fx-row:has(.pr-searchblock) { margin-top: -13rem; position: relative; z-index: 3; padding-block: 0 var(--s-7); }
.pr-front .fx-row:has(.pr-hero) + .fx-row:has(.pr-searchblock) .fx-searchhint { color: #d5d9cf; }
/* A mitad de página: banda de foto con el texto encima. */
.fx-row:not(:first-child) .pr-hero:not(.pr-hero-plain) { min-height: clamp(460px, 70vh, 680px); display: flex; align-items: flex-end; }
.fx-row:not(:first-child) .pr-hero-in { padding-block: var(--section); }
.scroll-cue { position: absolute; right: clamp(1rem, 4vw, 3.5rem); bottom: 2.5rem; z-index: 2; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: #d5d9cf; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 60px; margin: 1rem auto 0; background: linear-gradient(var(--pear), transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 991.98px) { .scroll-cue { display: none; } }

/* ---------- Buscador: barra redondeada ---------- */
.pr-searchblock .fx-search { background: var(--paper); color: var(--basalt); border: 0; border-radius: var(--r-box); padding: .6rem; margin: 0; box-shadow: var(--shadow-float); max-width: 1040px; }
.pr-searchblock .fx-searchhint { margin: var(--s-4) 0 0; font-size: .875rem; color: var(--muted); }
.pr-search .fx-search-row { gap: 0; align-items: stretch; flex-wrap: nowrap; }
.pr-search .fx-search-row > .fx-btn { margin: .25rem; min-height: 64px; border-radius: 1rem; padding-inline: var(--s-5); }
.pr-search .fx-search-row > .fx-btn::after { content: "\F138"; font-family: bootstrap-icons; font-weight: 400; margin-left: .25rem; }
.pr-search .fx-field > span, .pr-dates-label { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pr-search .fx-field-sm { flex: 0 1 190px !important; padding: .85rem 1.25rem; margin: 0; border-left: 1px solid var(--line); }
.pr-dates { position: relative; flex: 2 1 320px; min-width: 0; }
.pr-dates-trigger { width: 100%; height: 100%; min-height: 64px; display: flex; align-items: center; gap: var(--s-4); padding: .85rem 1.25rem; text-align: left; cursor: pointer; font: inherit; color: var(--basalt); background: none; border: 0; border-radius: 1rem; transition: background-color .2s var(--ease); }
.pr-dates-trigger:hover { background: rgb(28 31 27 / .03); }
.pr-dates.is-open .pr-dates-trigger { background: rgb(52 80 59 / .06); }
.pr-dates-col { display: grid; gap: 2px; min-width: 0; flex: 1; }
.pr-dates-value { font-weight: 600; font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-dates-value::first-letter { text-transform: uppercase; }
.pr-dates.is-empty .pr-dates-value { color: var(--muted); font-weight: 500; }
.pr-dates-arrow { width: 18px; height: 18px; flex: none; color: var(--moss); }
.fx-field > .pr-stepper, .pr-stepper { display: flex; align-items: center; gap: var(--s-2); min-height: 0; background: none; border: 0; padding: 0; margin-top: 2px; }
.fx-field .pr-stepper input { border: 0; box-shadow: none; min-height: 0; text-align: center; padding: 0; width: 2rem; min-width: 0; font-weight: 600; font-size: 1.05rem; background: none; -moz-appearance: textfield; appearance: textfield; }
.pr-stepper input::-webkit-outer-spin-button, .pr-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pr-stepper-btn { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--r-pill); background: var(--paper); color: var(--basalt); cursor: pointer; transition: border-color .2s var(--ease), transform .16s var(--ease-out); }
.pr-stepper-btn svg { width: 14px; height: 14px; }
.pr-stepper-btn:hover:not(:disabled) { border-color: var(--basalt); }
.pr-stepper-btn:active:not(:disabled) { transform: scale(.94); }
.pr-stepper-btn:disabled { opacity: .35; cursor: default; }
.fx-search-ages { padding: .5rem 1.25rem .75rem; }
.fx-field input, .fx-field select, .fx-field textarea { background: var(--paper); border: 1.5px solid var(--line); border-radius: .9rem; min-height: 52px; padding: .75rem 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.fx-field input:focus, .fx-field select:focus, .fx-field textarea:focus { border-color: var(--moss); box-shadow: 0 0 0 3px rgb(52 80 59 / .15); }
.fx-field > span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
@media (max-width: 767.98px) {
    .pr-search .fx-search-row { flex-wrap: wrap; }
    .pr-dates { flex-basis: 100%; }
    .pr-search .fx-field-sm { flex: 1 1 50% !important; border-left: 0; border-top: 1px solid var(--line); }
    .pr-search .fx-field-sm + .fx-field-sm { border-left: 1px solid var(--line); }
    .pr-search .fx-search-row > .fx-btn { flex-basis: 100%; }
    .pr-front .fx-row:first-child .pr-hero-in { padding-bottom: 22rem; }
    .pr-front .fx-row:has(.pr-hero) + .fx-row:has(.pr-searchblock) { margin-top: -20rem; }
}

/* Calendario del selector */
.pr-cal { position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; width: max-content; max-width: min(720px, calc(100vw - 32px)); background: var(--paper); color: var(--basalt); border-radius: var(--r-box); padding: var(--s-5) var(--s-5) var(--s-4); box-shadow: 0 2px 6px rgb(0 0 0 / .06), var(--shadow-float); transform-origin: top left; animation: pr-pop .2s var(--ease-out) both; }
.pr-cal[hidden] { display: none; }
@keyframes pr-pop { from { opacity: 0; transform: scale(.97) translateY(-4px); } to { opacity: 1; transform: none; } }
/* Hacia arriba cuando debajo no cabe (lo decide theme.js al abrir). */
@media (min-width: 768px) {
    .pr-cal.is-up { top: auto; bottom: calc(100% + 10px); transform-origin: bottom left; animation-name: pr-pop-up; }
}
@keyframes pr-pop-up { from { opacity: 0; transform: scale(.97) translateY(4px); } to { opacity: 1; transform: none; } }
.pr-cal-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-2); }
.pr-cal-hint { margin: 0; font-weight: 700; font-size: .9375rem; }
.pr-cal-nav { display: flex; gap: var(--s-1); }
.pr-cal-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid var(--basalt); border-radius: var(--r-pill); background: transparent; color: var(--basalt); cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s; }
.pr-cal-btn + .pr-cal-btn { background: var(--basalt); color: var(--paper); }
.pr-cal-btn svg { width: 18px; height: 18px; }
.pr-cal-btn:active:not(:disabled) { transform: scale(.95); }
.pr-cal-btn:disabled { opacity: .3; cursor: default; }
.pr-cal-months { display: flex; gap: var(--s-6); }
.pr-cal-month { width: 19rem; }
.pr-cal-title { margin: var(--s-1) 0 var(--s-3); text-align: center; font-family: var(--serif); font-size: 1.5rem; }
.pr-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 2px; }
.pr-cal-dow { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; padding-bottom: var(--s-2); }
.pr-cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; font: inherit; font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--basalt); background: none; border: 0; border-radius: var(--r-pill); cursor: pointer; transition: transform .14s var(--ease-out); }
.pr-cal-day:active:not(:disabled) { transform: scale(.94); }
.pr-cal-day:focus-visible { outline: 2px solid var(--moss); outline-offset: 1px; }
.pr-cal-day.is-today { font-weight: 800; text-decoration: underline; text-decoration-color: var(--pear); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pr-cal-day:disabled { color: #a3a89f; cursor: default; }
.pr-cal-day.is-blocked { text-decoration: line-through; }
.pr-cal-day.is-in { background: #e4ebe2; border-radius: 0; }
.pr-cal-day.is-start, .pr-cal-day.is-end { background: none; border-radius: 0; isolation: isolate; color: #fff; font-weight: 700; }
.pr-cal-day.is-start::before, .pr-cal-day.is-end::before { content: ""; position: absolute; inset: 2px; border-radius: var(--r-pill); background: var(--moss); z-index: -1; }
.pr-cal-day.is-start.has-range { background: linear-gradient(90deg, transparent 50%, #e4ebe2 50%); }
.pr-cal-day.is-end.has-range { background: linear-gradient(90deg, #e4ebe2 50%, transparent 50%); }
.pr-cal-day.is-start.is-end { background: none; }
.pr-cal-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.pr-cal-clear { background: none; border: 0; min-height: 44px; padding: 0; font: inherit; font-weight: 700; color: var(--basalt); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .pr-cal-day:hover:not(:disabled):not(.is-start):not(.is-end) { box-shadow: inset 0 0 0 1.5px var(--basalt); } }
/*
 * Escritorio: calendario compacto (~430 px de alto en vez de ~515). Los meses
 * de seis semanas no cabían ni encima ni debajo del buscador de la portada y
 * se metían por debajo de la cápsula del menú. Días de 36 px de alto (el
 * círculo de llegada/salida se dibuja aparte para seguir siendo redondo).
 * En móvil la hoja conserva las medidas grandes, pensadas para el dedo.
 */
@media (min-width: 768px) {
    .pr-cal { padding: 18px 20px 12px; }
    .pr-cal-top { margin-bottom: 0; }
    .pr-cal-btn { width: 36px; height: 36px; }
    .pr-cal-btn svg { width: 16px; height: 16px; }
    .pr-cal-months { gap: var(--s-5); }
    .pr-cal-month { width: 17.5rem; }
    .pr-cal-title { margin: 0 0 var(--s-2); font-size: 1.25rem; }
    .pr-cal-dow { padding-bottom: var(--s-1); }
    .pr-cal-day { aspect-ratio: auto; height: 36px; font-size: .875rem; }
    .pr-cal-day.is-start::before, .pr-cal-day.is-end::before { inset: auto; left: 50%; top: 50%; width: 34px; height: 34px; transform: translate(-50%, -50%); }
    .pr-cal-foot { margin-top: var(--s-2); padding-top: var(--s-2); }
    .pr-cal-clear { min-height: 36px; }
    .pr-cal-done { min-height: 36px; padding: .4rem 1.1rem; }
}
@media (max-width: 767.98px) {
    .pr-cal { position: fixed; inset: auto 0 0 0; top: auto; max-width: none; width: auto; border-radius: 1.5rem 1.5rem 0 0; padding-bottom: calc(var(--s-4) + env(safe-area-inset-bottom)); z-index: 1060; transform-origin: bottom center; animation: pr-sheet .28s var(--ease-drawer) both; }
    .pr-cal-month { width: 100%; }
    @keyframes pr-sheet { from { transform: translateY(100%); } to { transform: none; } }
}
.pr-book .pr-cal { left: auto; right: 0; transform-origin: top right; }

/* ---------- Título de sección ---------- */
.pr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-4) var(--s-6); }
.pr-head-main { max-width: 640px; }
.pr-head h2 { margin: 0; font-size: var(--t-section); line-height: 1; }
.pr-head-intro { margin: var(--s-4) 0 0; font-size: var(--t-lead); color: var(--ink-2); max-width: 60ch; }
.pr-head-center { flex-direction: column; align-items: center; text-align: center; }
.fx-col:has(> .pr-head + *) > .pr-head { margin-bottom: var(--s-6); }

/* ---------- Cifras (bloque «Premios y reconocimientos») ---------- */
.pr-figures { background: var(--basalt); color: var(--paper); }
.pr-figures-in { width: var(--wrap); margin-inline: auto; padding-block: var(--s-7); }
.pr-figures-head { margin-bottom: var(--s-6); }
.pr-figures-head h2 { color: var(--paper); font-size: var(--t-h3); }
.pr-figures ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s-5); }
.pr-figures b { display: block; font-family: var(--serif); font-weight: var(--serif-w); font-size: 3.5rem; line-height: 1; color: var(--pear); }
.pr-figures li > span { display: block; margin-top: var(--s-2); font-size: .9rem; color: var(--on-dark-2); }

/* ---------- Imagen ---------- */
.pr-figure { margin: 0; }
.pr-figure .pr-frame { aspect-ratio: 4 / 5; }
@media (max-width: 899px) { .pr-figure .pr-frame { aspect-ratio: 3 / 2; } }
.pr-frame { position: relative; overflow: hidden; border-radius: var(--r-img); background: var(--sand); }
.pr-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .pr-frame:hover img { transform: scale(1.05); } }

/* ---------- Galería: collage (3), mosaico (5) y bento (6 o más) ---------- */
.pr-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.pr-gallery li[hidden] { display: none; }
.pr-gallery a { position: relative; display: block; height: 100%; overflow: hidden; border-radius: 1.5rem; background: var(--sand); }
.pr-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.pr-gallery a::after { content: "\F62C"; font-family: bootstrap-icons; position: absolute; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: var(--r-pill); background: rgb(251 250 247 / .92); color: var(--basalt); display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .pr-gallery a:hover img { transform: scale(1.06); } .pr-gallery a:hover::after { opacity: 1; transform: none; } }
.pr-gallery a:focus-visible { outline-offset: 3px; }
.pr-bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; }
.pr-bento .w2 { grid-column: span 2; }
.pr-bento .h2 { grid-row: span 2; }
.pr-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 230px); }
.pr-mosaic li:first-child { grid-column: span 2; grid-row: span 2; }
.pr-collage { grid-template-columns: 2fr 1fr; grid-template-rows: 220px 220px; }
.pr-collage li:first-child { grid-row: span 2; }
.pr-collage a { border-radius: var(--r-img); }
.pr-grid-plain { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 220px; }
@media (max-width: 767.98px) {
    .pr-bento, .pr-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .pr-bento .w2 { grid-column: span 2; }
    .pr-bento .h2 { grid-row: span 1; }
    .pr-collage { grid-template-rows: 160px 160px; }
}

/* ---------- Cita: tarjeta de arena ---------- */
.pr-quote { margin: 0; background: var(--sand); border-radius: var(--r-img); padding: var(--s-5) var(--s-6); }
.pr-quote p { font-family: var(--serif); font-size: 1.85rem; line-height: 1.15; margin: 0 0 var(--s-1); }
.pr-quote cite { font-style: normal; font-size: .875rem; color: var(--muted); }

/* ---------- Cinta de palabras ---------- */
.pr-marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); }
.pr-marquee-track { display: inline-flex; align-items: center; gap: 3rem; padding-block: 1.4rem; animation: marquee 40s linear infinite; }
.pr-marquee-track span { font-family: var(--serif); font-size: 2.2rem; color: var(--moss); }
.pr-marquee-track i { color: var(--pear); font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pr-marquee:hover .pr-marquee-track { animation-play-state: paused; }

/* ---------- «Toda la casa»: pestañas en píldora ---------- */
.fx-row:has(.pr-floors) { background: var(--paper); }
.fx-row:has(.pr-floors) .fx-grid { width: var(--wrap); margin-inline: auto; padding-block: var(--section); }
.fx-row:has(.pr-floors) .fx-col { position: relative; }
.pr-floors { margin-top: var(--s-7); }
.pr-floors-panel { position: static; }
.pr-tabs { display: inline-flex; flex-wrap: wrap; gap: .35rem; background: #ede8dd; border-radius: var(--r-pill); padding: .35rem; margin: 0 0 var(--s-6); }
@media (min-width: 992px) { .fx-row:has(.pr-floors) .fx-col:has(> .pr-head) .pr-tabs { position: absolute; right: 0; top: calc(var(--section) * 0 + 1.5rem); margin: 0; } }
.pr-tabs button { font: inherit; font-weight: 600; font-size: .9rem; min-height: 44px; padding: .6rem 1.2rem; border-radius: var(--r-pill); background: none; border: 0; color: var(--basalt); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .16s var(--ease-out); }
.pr-tabs button[aria-selected="true"] { background: var(--basalt); color: var(--paper); }
.pr-tabs button:active { transform: scale(.97); }
.pr-floors:not(.is-ready) .pr-tabs { display: none; }
.pr-panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); align-items: center; }
.pr-panel + .pr-panel { margin-top: var(--s-7); }
.pr-floors.is-ready .pr-panel + .pr-panel { margin-top: 0; }
.pr-panel[hidden] { display: none; }
.pr-panel-media { order: -1; }
.pr-panel-media .pr-frame { aspect-ratio: 3 / 2; }
.pr-panel-before { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 0; }
.pr-panel h3 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; margin: var(--s-4) 0; }
.pr-panel p { font-size: var(--t-lead); color: var(--ink-2); }
.pr-panel-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.pr-panel-list li { padding-left: 1.4rem; position: relative; }
.pr-panel-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: .8rem; height: 2px; background: var(--pear); }
.pr-floors.is-ready .pr-panel:not([hidden]) { animation: pr-in .4s var(--ease) both; }
.pr-floors.is-keyed .pr-panel:not([hidden]) { animation: none; }
@keyframes pr-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 991.98px) { .pr-panel { grid-template-columns: minmax(0, 1fr); } }

/* Una sola fila de imagen y texto */
.pr-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.pr-split .pr-frame { aspect-ratio: 3 / 2; }
.pr-split h2 { font-size: var(--t-section); line-height: 1; margin: var(--s-3) 0 var(--s-4); }
.pr-split p { font-size: var(--t-lead); color: var(--ink-2); }
@media (max-width: 991.98px) { .pr-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Características: rejilla con iconos (fondo oscuro) ---------- */
.fx-row:has(.pr-amen-grid) { background: var(--basalt); color: var(--paper); }
.fx-row:has(.pr-amen-grid) .fx-grid { width: var(--wrap); margin-inline: auto; padding-block: var(--section); align-items: flex-start; }
.fx-row:has(.pr-amen-grid) .pr-head-eyebrow { color: var(--pear); }
.fx-row:has(.pr-amen-grid) .pr-head h2 { color: var(--paper); }
.fx-row:has(.pr-amen-grid) .pr-head-intro { color: var(--on-dark-2); font-size: 1rem; }
.fx-row:has(.pr-amen-grid) :focus-visible { outline-color: var(--pear); }
.pr-amen-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--r-box); overflow: hidden; }
.pr-amen-grid li { background: var(--basalt); padding: 1.6rem 1.4rem; min-height: 120px; transition: background-color .3s; }
@media (hover: hover) and (pointer: fine) { .pr-amen-grid li:hover { background: #252923; } }
.pr-amen-grid i { font-size: 1.6rem; color: var(--pear); display: block; margin-bottom: .8rem; }
.pr-amen-grid b { font-weight: 600; display: block; line-height: 1.3; }
.pr-amen-grid small { color: var(--on-dark-3); font-size: .875rem; }
.pr-amen-grid .pr-amen-price { color: var(--pear); font-weight: 700; }
.pr-note { border: 1px solid #3a3f37; border-radius: var(--r-box); padding: var(--s-5); }
.pr-note p { color: #e3e6dd; max-width: none; font-size: 1rem; }
.pr-note p:last-child { margin-bottom: 0; }
.pr-note .pr-note-label { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--pear); margin-bottom: var(--s-2); }
.pr-note a { color: var(--paper); font-weight: 600; font-size: .875rem; }
/* La misma lista fuera del fondo oscuro (si se usa en otra parte). */
.fx-row:not(:has(.fx-col-8 .pr-amen-grid, .fx-col-6 .pr-amen-grid)) .pr-amen-grid { background: var(--line); border-color: var(--line); }

/* ---------- Fichas del entorno (bloque «places») ---------- */
.pr-places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-4); }
.pr-place { background: var(--paper); border-radius: var(--r-card); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .pr-place:hover { transform: translateY(-6px); box-shadow: 0 24px 40px rgb(28 31 27 / .12); } }
.pr-place-media { height: 220px; overflow: hidden; background: var(--sand); }
.pr-place-media img { width: 100%; height: 100%; object-fit: cover; }
.pr-place-body { padding: var(--s-5); }
.pr-place-body .pr-eyebrow { font-size: .75rem; margin: 0; }
.pr-place h3 { font-size: 2rem; line-height: 1.05; margin: var(--s-2) 0; }
.pr-place p { margin: 0; color: var(--muted); }
.pr-place-body a { display: inline-block; margin-top: var(--s-3); font-weight: 700; }
.pr-place:not(:has(.pr-place-media)) { background: var(--sand); justify-content: space-between; }
.pr-place:not(:has(.pr-place-media)):last-child { background: var(--moss); color: var(--paper); }
.pr-place:not(:has(.pr-place-media)):last-child .pr-eyebrow { color: var(--pear); }
.pr-place:not(:has(.pr-place-media)):last-child h3 { font-size: clamp(2rem, 2.6vw, 2.6rem); }
.pr-place:not(:has(.pr-place-media)):last-child p { color: #dde5da; }

/* ---------- Opiniones: carrusel ---------- */
.pr-reviews { background: var(--sand); padding-block: var(--section); }
.pr-reviews-head { width: var(--wrap); margin: 0 auto var(--s-7); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-4); }
.pr-reviews-head h2 { margin: 0; }
.pr-reviews-nav { display: flex; align-items: center; gap: var(--s-3); }
.pr-reviews-rating { display: flex; align-items: center; gap: var(--s-3); margin: 0; }
.pr-reviews-rating strong { font-family: var(--serif); font-weight: var(--serif-w); font-size: 3rem; line-height: 1; }
.pr-reviews-rating span { font-size: .875rem; color: var(--muted); line-height: 1.3; }
.pr-reviews-nav button { width: 48px; height: 48px; border-radius: var(--r-pill); border: 1.5px solid var(--basalt); background: transparent; color: var(--basalt); display: grid; place-items: center; cursor: pointer; transition: transform .16s var(--ease-out), opacity .2s; }
.pr-reviews-nav button + button { background: var(--basalt); color: var(--paper); }
.pr-reviews-nav button:active { transform: scale(.95); }
.pr-reviews-nav button:disabled { opacity: .35; cursor: default; }
.pr-reviews-track { list-style: none; margin: 0; padding: 0 max(16px, (100% - 1320px) / 2) var(--s-2); display: grid; grid-auto-flow: column; grid-auto-columns: calc((min(1320px, 100% - 32px) - 2 * 18px) / 3); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, (100% - 1320px) / 2); scrollbar-width: none; scroll-behavior: smooth; }
.pr-reviews-track::-webkit-scrollbar { display: none; }
@media (max-width: 1199.98px) { .pr-reviews-track { grid-auto-columns: calc((min(1320px, 100% - 32px) - 18px) / 2.1); } }
@media (max-width: 767.98px) { .pr-reviews-track { grid-auto-columns: 88%; } }
.pr-review { scroll-snap-align: start; background: var(--paper); border-radius: var(--r-card); padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1.75rem; min-height: 270px; }
.pr-review blockquote { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; margin: 0; }
.pr-review figcaption { display: flex; gap: var(--s-3); align-items: center; margin: 0; font-size: .875rem; color: var(--muted); }
.pr-review figcaption strong { color: var(--basalt); font-size: 1rem; }
.pr-avatar { width: 40px; height: 40px; flex: none; border-radius: var(--r-pill); background: var(--moss); color: var(--paper); display: grid; place-items: center; font-weight: 700; }
.pr-stars { color: var(--moss); letter-spacing: .1em; margin: 0; }
.pr-reviews-embed { width: var(--wrap); margin: var(--s-6) auto 0; }

/* ---------- Tarifas: tarjeta verde ---------- */
.fx-row:has(.pr-ratesblock) .fx-grid { background: var(--moss); color: var(--paper); border-radius: 2.5rem; padding: clamp(24px, 5vw, 64px); }
.fx-row:has(.pr-ratesblock) .fx-col:has(> .pr-head) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }
.fx-row:has(.pr-ratesblock) .fx-col > * + * { margin-top: 0; }
.fx-row:has(.pr-ratesblock) .pr-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; }
.fx-row:has(.pr-ratesblock) .pr-head-eyebrow { color: var(--pear); }
.fx-row:has(.pr-ratesblock) .pr-head h2 { color: var(--paper); }
.fx-row:has(.pr-ratesblock) .pr-head-intro { color: #dde5da; font-size: 1rem; }
.fx-row:has(.pr-ratesblock) .pr-head-cta { order: 3; margin-top: var(--s-5); }
.fx-row:has(.pr-ratesblock) :focus-visible { outline-color: var(--pear); }
.pr-rates-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2); margin: 0 0 var(--s-5); }
.pr-rates-price strong { font-family: var(--serif); font-weight: var(--serif-w); font-size: clamp(3.5rem, 6vw, 4.5rem); line-height: 1; color: var(--paper); }
.pr-rates-from, .pr-rates-unit { color: #dde5da; }
.pr-rules ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: rgb(255 255 255 / .16); border-radius: var(--r-box); overflow: hidden; }
.pr-rules li { background: var(--moss); padding: 1.5rem; font-size: 1.05rem; }
.pr-rules li strong { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--pear); margin-bottom: .35rem; }
.pr-rules p { margin: var(--s-4) 0 0; }
.pr-rules a { color: var(--paper); font-size: .875rem; }
.pr-ratesblock .pr-amen-list { margin: 0 0 var(--s-4); }
@media (max-width: 991.98px) { .fx-row:has(.pr-ratesblock) .fx-col:has(> .pr-head) { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Banda de cierre ---------- */
.pr-close { padding-block: calc(var(--section) / 2); text-align: center; }
.pr-close h2 { margin-inline: auto; max-width: 16ch; }
.pr-close p { margin-inline: auto; max-width: 48ch; color: var(--muted); }
.pr-close-actions { display: flex; gap: var(--s-2); justify-content: center; flex-wrap: wrap; margin-top: var(--s-5); }

/* ---------- Lista de conceptos (otros usos) ---------- */
.pr-amen-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); border-top: 1.5px solid var(--basalt); }
.pr-amen-one { grid-template-columns: minmax(0, 1fr); }
.pr-amen-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.pr-amen-row dt { font-weight: 700; }
.pr-amen-row dd { margin: 0; color: var(--muted); }
.pr-ratesblock .pr-amen-row { border-color: rgb(255 255 255 / .16); }
.pr-ratesblock .pr-amen-row dd, .pr-ratesblock .pr-amen-row dt a { color: var(--paper); }

/* ---------- Visor de fotos ---------- */
.pr-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgb(20 23 19 / .96); display: grid; place-items: center; padding: 56px var(--s-4); animation: pr-fade .22s var(--ease-out); }
.pr-lightbox[hidden] { display: none; }
@keyframes pr-fade { from { opacity: 0; } to { opacity: 1; } }
.pr-lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 112px); width: auto; object-fit: contain; border-radius: 1rem; }
.pr-lightbox p { position: absolute; bottom: var(--s-4); left: 0; right: 0; text-align: center; color: var(--on-dark-2); margin: 0; font-size: .875rem; }
.pr-lightbox button { position: absolute; display: grid; place-items: center; min-width: 48px; min-height: 48px; background: rgb(251 250 247 / .1); border: 0; border-radius: var(--r-pill); color: #fff; font: inherit; font-size: 1.25rem; padding: 0 var(--s-4); cursor: pointer; transition: background-color .2s, transform .16s var(--ease-out); }
.pr-lightbox button:active { transform: scale(.95); }
.pr-lightbox :focus-visible { outline-color: var(--pear); }
.pr-lb-close { top: var(--s-3); right: var(--s-3); font-size: .9375rem !important; font-weight: 700; }
.pr-lb-prev { left: var(--s-3); top: 50%; transform: translateY(-50%); }
.pr-lb-next { right: var(--s-3); top: 50%; transform: translateY(-50%); }

/* ---------- Páginas propias: cabecera de página, ficha, disponibilidad, contacto ---------- */
.pr-pagehead { background: var(--basalt); color: var(--paper); }
.pr-pagehead-in { width: var(--wrap); margin-inline: auto; padding-block: 10rem var(--s-8); }
.pr-pagehead h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: .96; letter-spacing: -.02em; margin: 0; max-width: 16ch; }
.pr-pagehead p { color: #e3e6dd; font-size: 1.2rem; max-width: 560px; margin: var(--s-5) 0 0; }
.pr-pagehead .pr-eyebrow { color: var(--pear); }
.pr-pagehead-facts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-5) 0 0; padding: 0; list-style: none; }
.pr-pagehead-facts li { border: 1px solid rgb(255 255 255 / .22); border-radius: var(--r-pill); padding: .4rem 1rem; font-size: .875rem; color: #e3e6dd; }

.pr-detail-photos { width: var(--wrap); margin: var(--s-7) auto 0; }
.pr-detail { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); grid-template-areas: "main side"; gap: clamp(32px, 5vw, 80px); padding-block: var(--s-8) var(--section); align-items: start; }
.pr-detail-main { grid-area: main; }
.pr-detail-side { grid-area: side; position: sticky; top: 7rem; scroll-margin-top: 7rem; }
.pr-detail-main .fx-rich p:first-child { font-size: 1.25rem; color: var(--basalt); }
.pr-detail-main h2 { font-size: var(--t-h3); margin: var(--s-8) 0 var(--s-5); }
.pr-detail-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.pr-detail-features li { background: var(--paper); border-radius: 1rem; padding: var(--s-3) var(--s-4); font-weight: 600; }
.pr-book { background: var(--paper); border-radius: var(--r-card); padding: var(--s-6); box-shadow: 0 24px 50px rgb(28 31 27 / .1); }
.pr-book h2 { font-size: 2.25rem; margin: 0 0 var(--s-2); }
.pr-book-from { color: var(--muted); margin: 0 0 var(--s-5); }
.pr-book-from strong { font-family: var(--serif); font-weight: var(--serif-w); font-size: 2.5rem; color: var(--basalt); }
.pr-book .fx-search { padding: 0; border: 0; background: none; box-shadow: none; margin: 0; }
.pr-book .fx-search-row { flex-wrap: wrap; }
.pr-book .fx-search-row > * { flex-basis: 100% !important; }
.pr-book .pr-dates-trigger { border: 1.5px solid var(--line); }
.pr-book .fx-field-sm { flex-basis: 50% !important; border: 0 !important; padding: var(--s-3) 0 0; }
.pr-book .fx-search-row > .fx-btn { margin: var(--s-3) 0 0; min-height: 56px; border-radius: var(--r-pill); }
.pr-quote-box { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.pr-quote-line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); margin: 0 0 var(--s-4); }
.pr-quote-line strong { font-family: var(--serif); font-weight: var(--serif-w); font-size: 2.25rem; }
.pr-book-link { margin: var(--s-4) 0 0; font-size: .875rem; }
.pr-book-link a { display: inline-block; padding-block: 12px; margin-block: -12px; }
@media (max-width: 991.98px) {
    .pr-detail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "side" "main"; padding-top: var(--s-6); }
    .pr-detail-side { position: static; }
    .pr-detail-features { grid-template-columns: minmax(0, 1fr); }
}

.pr-avail { width: var(--wrap); margin-inline: auto; padding-block: var(--s-8) var(--section); }
.pr-avail-room + .pr-avail-room { margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--line); }
.pr-avail-head h2 { margin: 0 0 var(--s-3); }
.pr-avail-head h2 a { color: inherit; text-decoration: none; }
.pr-avail-facts { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.pr-avail-facts li { background: var(--paper); border-radius: var(--r-pill); padding: .35rem .9rem; font-size: .875rem; font-weight: 600; }
.pr-avail .pr-searchblock { margin: var(--s-6) 0 var(--s-7); }
.pr-avail .pr-searchblock .fx-search { box-shadow: 0 20px 40px rgb(28 31 27 / .1); }
.pr-cal-legend { display: flex; gap: var(--s-5); font-size: .875rem; color: var(--muted); margin-bottom: var(--s-4); }
.pr-key { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: var(--s-2); vertical-align: -2px; }
.pr-key-free { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.pr-key-off { background: var(--sand); background-image: linear-gradient(135deg, transparent 45%, #8e938a 45% 55%, transparent 55%); }
.pr-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--s-6) var(--s-5); }
.pr-month { width: 100%; border-collapse: separate; border-spacing: 3px; font-variant-numeric: tabular-nums; }
.pr-month caption { text-align: left; font-family: var(--serif); font-size: 1.6rem; padding-bottom: var(--s-2); }
.pr-month th { font-size: .7rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; padding-bottom: var(--s-1); }
.pr-month td { text-align: center; font-size: .875rem; font-weight: 500; height: 34px; background: var(--paper); border-radius: 8px; }
.pr-month td:empty { background: none; }
.pr-month td.is-off { background: var(--sand); color: #7f847b; text-decoration: line-through; }
.pr-month td.is-past { background: none; color: #a3a89f; }
.pr-openings { background: var(--paper); border-radius: var(--r-card); padding: var(--s-5) var(--s-6); margin-bottom: var(--s-7); }
.pr-openings h2 { font-size: var(--t-h3); margin: 0 0 var(--s-3); }
.pr-openings ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.pr-inline-form { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: flex-end; }
.pr-inline-form .fx-field { flex: 1 1 260px; margin: 0; }
@media (max-width: 600px) {
    .pr-year { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
    .pr-month { border-spacing: 2px; }
    .pr-month caption { font-size: 1.25rem; }
    .pr-month th { font-size: .625rem; }
    .pr-month td { font-size: .75rem; height: 26px; border-radius: 5px; }
}

.pr-contact { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: var(--s-8) var(--section); align-items: start; }
.pr-form { display: grid; gap: var(--s-1); }
.pr-form .fx-field { margin-bottom: var(--s-4); }
.pr-form textarea { min-height: 180px; resize: vertical; }
.pr-form .fx-btn { justify-self: start; margin-top: var(--s-2); }
.pr-contact-info { background: var(--paper); border-radius: var(--r-card); padding: var(--s-6); position: sticky; top: 7rem; }
.pr-contact-info h2 { font-size: 2.25rem; margin: 0 0 var(--s-5); }
.pr-contact-info dl { margin: 0; display: grid; gap: var(--s-5); }
.pr-contact-info dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: var(--s-1); }
.pr-contact-info dd { margin: 0; }
.pr-contact-info a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.pr-contact-alt { margin: var(--s-6) 0 0; padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--muted); }
@media (max-width: 991.98px) { .pr-contact { grid-template-columns: minmax(0, 1fr); } .pr-contact-info { position: static; } }

/* ---------- Vistas heredadas de base (embudo de reserva) ---------- */
.fx-section, .fx-wrap.fx-section { padding-top: calc(var(--section) + 5rem); }
.fx-section h1 { font-size: var(--t-section); }
.fx-box, .fx-search, .fx-room { background: var(--paper); border: 0; border-radius: var(--r-card); }
.fx-tag { border-radius: var(--r-pill); }
.fx-cookies { border-radius: var(--r-box); box-shadow: var(--shadow-float); z-index: 1100; }
.fx-table th { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fx-flash { border-radius: var(--r-box); }
body:not(.pr-front) .fx-flash { margin-top: 7rem; }

/* ---------- Pie y contacto ---------- */
.pr-footer { background: var(--basalt); color: var(--paper); margin-top: 0; border: 0; padding: 0; }
.pr-footer-in { width: var(--wrap); margin-inline: auto; padding-block: 7rem 2.5rem; }
.pr-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); margin-bottom: var(--s-7); }
.pr-footer h2 { font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .94; letter-spacing: -.02em; margin: 0 0 var(--s-5); color: var(--paper); }
.pr-footer h2 em { font-style: italic; }
.pr-footer-lead { font-size: 1.25rem; color: var(--on-dark-2); max-width: 460px; }
.pr-footer-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.pr-footer address { font-style: normal; margin-top: var(--s-5); color: var(--on-dark-2); }
.pr-footer address a { color: var(--paper); }
.pr-map { min-height: 340px; height: 100%; border-radius: var(--r-img); border: 1px solid #3a3f37; overflow: hidden; background: #2a3029; }
.pr-map .leaflet-tile-pane { filter: grayscale(.6) contrast(.95); }
.pr-map .leaflet-container { background: #2a3029; font-family: var(--sans); }
.pr-map-fallback { display: grid; place-items: center; height: 100%; min-height: 340px; color: var(--on-dark-2); }
.pr-footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--dark-line); font-size: .875rem; color: var(--on-dark-3); }
.pr-footer-legal nav { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.pr-footer-legal a { color: var(--on-dark-3); display: inline-block; padding-block: 12px; margin-block: -12px; }
.pr-footer-legal a:hover { color: var(--paper); }
.pr-footer :focus-visible { outline-color: var(--pear); }
@media (max-width: 991.98px) { .pr-footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* CTA fija en el móvil y botón «arriba» con progreso */
.pr-bookbar { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1029; display: none; transform: translateY(150%); transition: transform .5s var(--ease); }
.pr-bookbar.is-shown { transform: none; }
.pr-bookbar.is-hidden { transform: translateY(150%); }
.pr-bookbar .pr-btn { width: 100%; box-shadow: 0 16px 40px rgb(0 0 0 / .25); }
.pr-bookbar-price { display: none; }
@media (max-width: 767.98px) { .pr-bookbar { display: block; } body:has(.pr-bookbar) .pr-footer-in { padding-bottom: 6rem; } }
.pr-totop { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1028; width: 52px; height: 52px; border-radius: var(--r-pill); border: 0; background: var(--paper); box-shadow: 0 10px 30px rgb(0 0 0 / .18); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s, transform .16s var(--ease-out); cursor: pointer; color: var(--basalt); }
.pr-totop.is-shown { opacity: 1; pointer-events: auto; }
.pr-totop:active { transform: scale(.95); }
.pr-totop svg { position: absolute; inset: 0; transform: rotate(-90deg); }
@media (max-width: 767.98px) { .pr-totop { display: none; } }

/* Revelados (theme.js con GSAP): solo si hay JS y se permite movimiento. */
.js-motion .pr-reveal-clip { clip-path: inset(12% 12% 12% 12% round 1.75rem); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .15s !important; }
    .pr-marquee-track { animation: none !important; }
    .scroll-cue::after { animation: none !important; }
    .pr-front .fx-row:first-child .pr-hero-media { transform: none; }
    .js-motion .pr-reveal-clip { clip-path: none; }
    .fx-btn:active, .pr-btn:active { transform: none; }
}

/* ---------- Añadidos ---------- */
.pr-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Cabeceras de página interiores: foto a sangre de buena altura. */
body:not(.pr-front) .fx-row:first-child .pr-hero:not(.pr-hero-plain), .pr-hero-page:not(.pr-hero-plain) { min-height: 72vh; display: flex; align-items: flex-end; }
.pr-hero-page .pr-hero-in, body:not(.pr-front) .fx-row:first-child .pr-hero .pr-hero-in { padding-block: 11rem var(--s-8); }
.pr-hero-plain .pr-hero-in { padding-block: 10rem var(--s-7); }
.pr-hero .pr-hero-title { color: var(--paper); }
/* El enlace del título, en la tarjeta de tarifas, es un botón pera. */
.fx-row:has(.pr-ratesblock) .pr-head-cta a { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .8rem 1.6rem; border-radius: var(--r-pill); background: var(--pear); color: var(--basalt); font-weight: 700; text-decoration: none; transition: background-color .2s var(--ease), transform .16s var(--ease-out); }
.fx-row:has(.pr-ratesblock) .pr-head-cta a:hover { background: var(--pear-light); }
.fx-row:has(.pr-ratesblock) .pr-head-cta a:active { transform: scale(.97); }
.fx-row:has(.pr-ratesblock) .pr-head-cta a i { display: none; }
.fx-row:has(.pr-ratesblock) .fx-grid { width: auto; }
/* Pestañas de «Toda la casa» a la altura del título (escritorio). */
@media (min-width: 992px) { .fx-row:has(.pr-floors) .fx-col > .pr-head { padding-right: 440px; } }
.fx-row:has(.pr-floors) .pr-floors { margin-top: var(--s-7); }
@media (min-width: 992px) { .fx-row:has(.pr-floors) .pr-tabs { position: absolute; right: 0; top: 0; margin: 0; } .fx-row:has(.pr-floors) .fx-col { padding-top: 0; } .fx-row:has(.pr-floors) .pr-head { min-height: 56px; } }
/* Opiniones completas (largas): un punto menos de letra que una cita corta. */
.pr-review blockquote { font-size: 1.3rem; line-height: 1.3; }
/* Tarifas: el precio y el botón, bajo la entradilla (columna izquierda); las condiciones, a la derecha. */
@media (min-width: 992px) {
    .fx-row:has(.pr-ratesblock) .fx-col:has(> .pr-head) { grid-template-areas: "main rules" "price rules" "cta rules"; grid-template-rows: auto auto 1fr; column-gap: var(--s-7); row-gap: 0; }
    .fx-row:has(.pr-ratesblock) .pr-head, .fx-row:has(.pr-ratesblock) .pr-ratesblock { display: contents; }
    .fx-row:has(.pr-ratesblock) .pr-head-main { grid-area: main; }
    .fx-row:has(.pr-ratesblock) .pr-rates-price { grid-area: price; margin: var(--s-5) 0; }
    .fx-row:has(.pr-ratesblock) .pr-head-cta { grid-area: cta; margin: 0; }
    .fx-row:has(.pr-ratesblock) .pr-rules { grid-area: rules; }
}
/* 12 características = 4 × 3 en escritorio, 3 × 4 en tableta, 2 × 6 en móvil: sin huecos. */
.pr-amen-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .pr-amen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .pr-amen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pr-amen-grid li { padding: 1.2rem 1rem; } }
/* Nota bajo el buscador de la portada: con su propio fondo oscuro se lee igual
   sobre la foto que fuera de ella (en el móvil cae por debajo de la cabecera). */
.pr-front .fx-row:has(.pr-hero) + .fx-row:has(.pr-searchblock) .fx-searchhint { display: inline-block; background: rgb(28 31 27 / .82); color: #e3e6dd; padding: .45rem .9rem; border-radius: .9rem; }

/* ---------- Logo ---------- */
.pr-brand .pr-logo-img { height: 48px; width: auto; max-height: none; display: block; }
.pr-offcanvas-head .pr-logo-img { height: 48px; width: auto; }
.pr-footer-logo { display: block; height: 72px; width: auto; margin-bottom: var(--s-6); }
/* Si la instalación solo tiene el logo para fondos claros, se aclara aquí. */
.pr-logo-invert { filter: brightness(0) invert(1); }
.pr-nav-in { padding-block: .5rem; }
@media (max-width: 767.98px) { .pr-brand .pr-logo-img { height: 38px; } }
