/* Theme «Mas Prat» — maqueta masprat-web.html en Bootstrap 5.

   1) Copia de la hoja de base (clases fx-*): las páginas que este theme no
      trae (listado, ficha, opciones, pago, contacto…) son las de base y se
      pintan con ella. Es una COPIA a propósito, no un @import: un theme no
      depende de que los assets de otro estén publicados.
   2) Al final, la piel de Mas Prat (clases mp-*) y los ajustes de las fx-*
      para que todo comparta colores y tipografía.
*/

/* 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; }

/* Aviso solo informativo (sin nada que aceptar): una línea, en la esquina, sin tapar el contenido. */
.fx-cookies.fx-cookies-inline {
    display: flex; align-items: center; gap: 1rem;
    left: auto; right: 1rem; max-width: 440px; margin-inline: 0; padding: .75rem 1rem;
}
.fx-cookies-inline p { margin: 0; font-size: .8125rem; line-height: 1.4; }
.fx-cookies-inline .fx-cookies-actions { flex-shrink: 0; }
@media (max-width: 575.98px) { .fx-cookies.fx-cookies-inline { left: .75rem; right: .75rem; bottom: .75rem; max-width: none; } }

/* ---------- 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; }


/* =====================================================================
   2) Piel de Mas Prat
   ===================================================================== */

:root {
    --mp-ink: #171812;
    --mp-cream: #F2EDE3;
    --mp-sand: #E4DCCB;
    --mp-olive: #2E3A24;
    --mp-olive-2: #6B5A2E;
    --mp-gold: #D9A95B;
    --mp-muted: #5C574A;
    --mp-line: #D3CBBA;
    --mp-ph: .8; /* opacidad de las fotos sobre fondo oscuro */
    --mp-ease: cubic-bezier(.2, .8, .2, 1);

    /* Las fx-* de base heredan la paleta de la casa. */
    --fx-primary: var(--mp-olive);
    --fx-secondary: var(--mp-gold);
    --fx-ink: var(--mp-ink);
    --fx-muted: var(--mp-muted);
    --fx-line: var(--mp-line);
    --fx-bg: var(--mp-cream);
    --fx-soft: var(--mp-sand);
    --fx-radius: 18px;

    /* Bootstrap */
    --bs-body-bg: var(--mp-cream);
    --bs-body-color: var(--mp-ink);
    --bs-body-font-family: Manrope, system-ui, sans-serif;
    --bs-link-color-rgb: 46, 58, 36;
    --bs-link-hover-color-rgb: 23, 24, 18;
}

body.mp {
    background: var(--mp-cream);
    color: var(--mp-ink);
    font-family: Manrope, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
}
.mp a { color: var(--mp-olive); }
.mp a:hover { color: var(--mp-ink); }
.mp a:focus-visible, .mp button:focus-visible, .mp input:focus-visible,
.mp select:focus-visible, .mp textarea:focus-visible { outline: 2px solid var(--mp-gold); outline-offset: 3px; }
.mp img { display: block; }
.mp .container-xxl { padding-left: 40px; padding-right: 40px; max-width: 1320px; }

/* Títulos de las páginas heredadas de base, con la serif de la casa. */
.mp h1, .mp h2, .mp h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.02em; }
/* El color va aquí y en :hover a propósito: `.mp a` / `.mp a:hover` (más
   arriba) ganan en especificidad al `color:#fff` de `.fx-btn` de base, y un
   <a class="fx-btn"> quedaba con texto oliva sobre fondo oliva (ilegible). */
.mp .fx-btn, .mp .fx-btn:hover { background: var(--mp-olive); color: #fff; border-radius: 999px; font-weight: 600; }
.mp .fx-btn-ghost, .mp .fx-btn-ghost:hover { background: transparent; color: var(--mp-olive); }
.mp .fx-chips a.on:hover { color: #fff; }

.mp-serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.mp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.mp-lead { font-size: 18px; }
.mp-muted { color: var(--mp-muted); }
.text-gold { color: var(--mp-gold) !important; }
.text-olive { color: var(--mp-olive-2) !important; }
.text-cream { color: var(--mp-cream) !important; }
.bg-olive { background: var(--mp-olive); }
.bg-sand { background: var(--mp-sand); }
.bg-ink { background: var(--mp-ink); }
.pb-mp { padding-bottom: 140px; }

.mp-skip { position: absolute; left: -9999px; }
.mp-skip:focus { left: 16px; top: 16px; background: #fff; color: var(--mp-ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }

/* Botones (mp-btn: el .btn de la maqueta, renombrado para no pisar Bootstrap) */
.mp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
    font-family: inherit; font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none;
    transition: transform .4s var(--mp-ease), background .3s;
}
.mp-btn svg { transition: transform .4s var(--mp-ease); }
.mp-btn:hover { transform: translateY(-2px); }
.mp-btn:hover svg { transform: translateX(5px); }
.mp-btn-sm { min-height: 44px; padding: 0 22px; }
.mp .mp-btn-gold { background: var(--mp-gold); color: var(--mp-ink); }
.mp .mp-btn-cream { background: var(--mp-cream); color: var(--mp-ink); }
.mp .mp-btn-ink { background: var(--mp-ink); color: var(--mp-cream); }
.mp .mp-btn-ghost { background: transparent; color: var(--mp-cream); box-shadow: inset 0 0 0 1px rgba(242, 237, 227, .4); }

/* ---------- Cabecera ---------- */
.mp-hdr { position: sticky; top: 0; z-index: 40; background: var(--mp-ink); color: var(--mp-cream); transition: background .4s, backdrop-filter .4s; }
.mp-overlay .mp-hdr { margin-bottom: -92px; background: transparent; }
.mp-overlay .mp-hdr.is-scrolled { background: rgba(23, 24, 18, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.mp-hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 92px; }
.mp-navl { gap: 32px; font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.mp .mp-navl a, .mp .mp-navr a:not(.mp-btn), .mp .mp-brand { color: var(--mp-cream); text-decoration: none; position: relative; }
.mp-navl a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--mp-ease); }
.mp-navl a:hover::after, .mp-navl a.on::after { transform: scaleX(1); transform-origin: left; }
.mp-brand { justify-self: center; text-align: center; line-height: 1; }
.mp-brand img { max-height: 56px; width: auto; }
.mp-brand-name { display: block; font-size: 34px; letter-spacing: -.02em; }
.mp-brand-tag { display: block; margin-top: 4px; font-size: 9px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: #CFC8B8; }
.mp-navr { justify-self: end; display: flex; align-items: center; gap: 24px; }
.mp-lang { font-size: 13px; font-weight: 600; letter-spacing: .1em; }
.mp-lang a:not([aria-current]) { opacity: .7; }
.mp-lang-sep { opacity: .4; margin: 0 .35em; }
.mp-burger { justify-self: start; width: 44px; height: 44px; border: 0; background: transparent; display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; padding: 0 10px; }
.mp-burger span { display: block; height: 1.5px; background: var(--mp-cream); }
.mp-offcanvas { background: var(--mp-ink); color: var(--mp-cream); }
.mp .mp-offcanvas a:not(.mp-btn) { color: var(--mp-cream); text-decoration: none; }

/* ---------- Cortina de entrada (solo portada) ---------- */
.mp-curtain { position: absolute; top: 0; left: 0; right: 0; height: 100vh; height: 100svh; z-index: 60; background: var(--mp-ink); display: flex; align-items: center; justify-content: center; pointer-events: none; color: var(--mp-cream); animation: mp-lift 1.1s cubic-bezier(.76, 0, .24, 1) 1.7s both; }
.mp-curtain-name { margin: 0; font-size: 96px; letter-spacing: -.03em; }
.mp-curtain .cl { display: inline-block; overflow: hidden; line-height: 1; }
.mp-curtain .cl > span { display: inline-block; animation: mp-up 1s var(--mp-ease) both; }
@keyframes mp-lift { to { transform: translateY(-100%); } }
@keyframes mp-up { from { transform: translateY(105%); } to { transform: none; } }

/* ---------- Hero ---------- */
/* El hero ocupa exactamente la pantalla: cabecera, titular y buscador se ven
   sin hacer scroll. El titular escala con el ancho Y con el alto, para que en
   pantallas bajas (portátiles de 768–800 px) no empuje el buscador fuera. */
.mp-hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; color: var(--mp-cream); background: var(--mp-ink); overflow: hidden; }
.mp-hero-media { position: absolute; inset: 0; }
.mp-hero .hs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: mp-fade3 21s infinite; }
.mp-hero .hs.s2 { animation-delay: 7s; }
.mp-hero .hs.s3 { animation-delay: 14s; }
@keyframes mp-fade3 { 0% { opacity: 0; } 5% { opacity: var(--mp-ph); } 33% { opacity: var(--mp-ph); } 39% { opacity: 0; } 100% { opacity: 0; } }
.mp-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,24,18,.55) 0%, rgba(23,24,18,.05) 30%, rgba(23,24,18,.15) 55%, rgba(23,24,18,.86) 100%); }
.mp-hero-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 92px; padding-bottom: clamp(20px, 4svh, 40px); }
.mp-h-hero { font-size: clamp(56px, min(10vw, 15svh), 148px); line-height: .9; letter-spacing: -.035em; }
.mp-hero-in > .mp-eyebrow { margin-bottom: clamp(10px, 2.4svh, 22px) !important; }
.mp-hero-in > .mp-fadein.d-flex, .mp-hero-in > .mp-glass { margin-top: clamp(14px, 3.6svh, 36px) !important; }
.mp-hero .line { display: block; overflow: hidden; padding-bottom: .06em; }
.mp-hero .line > span { display: inline-block; animation: mp-up 1.3s var(--mp-ease) both; }
.mp-hero .l1 > span { animation-delay: .15s; }
.mp-hero .l2 > span { animation-delay: .3s; }
.mp-fadein { animation: mp-fi 1s ease .7s both; }
@keyframes mp-fi { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mp-scrollcue { width: 1px; height: 64px; background: rgba(242,237,227,.25); position: relative; overflow: hidden; }
.mp-scrollcue::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: var(--mp-cream); animation: mp-cue 2.2s cubic-bezier(.7, 0, .3, 1) infinite; }
@keyframes mp-cue { 0% { transform: translateY(-24px); } 100% { transform: translateY(64px); } }

/* Buscador de cristal */
.mp-glass { position: relative; z-index: 5; background: rgba(23,24,18,.42); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(242,237,227,.18); border-radius: 20px; }
.mp-bk { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 14px 20px; border-right: 1px solid rgba(242,237,227,.14); }
.mp-bkl { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #CFC8B8; }
.mp-bk select { font: inherit; font-size: 16px; color: var(--mp-cream); background: transparent; border: 0; padding: 4px 0; min-height: 32px; color-scheme: dark; width: 100%; }
.mp-bk select option { color: var(--mp-ink); }
.mp-bkbtn { font: inherit; font-size: 16px; color: #CFC8B8; background: transparent; border: 0; padding: 4px 0; min-height: 32px; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; }
.mp-bkbtn.has-value { color: var(--mp-cream); }
.mp-bkbtn svg { flex: none; opacity: .8; }

/* Calendario del buscador */
.mp-dp { position: absolute; left: 0; bottom: calc(100% + 14px); z-index: 30; width: 680px; max-width: 100%; background: var(--mp-cream); color: var(--mp-ink); border-radius: 22px; padding: 24px 28px 20px; box-shadow: 0 24px 64px rgba(0,0,0,.35); animation: mp-dpin .4s var(--mp-ease) both; }
@keyframes mp-dpin { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.mp-dp-head { position: absolute; left: 20px; right: 20px; top: 22px; display: flex; justify-content: space-between; pointer-events: none; }
.mp-dp-nav { pointer-events: auto; width: 30px; height: 30px; border-radius: 50%; border: 1px solid #CFC6B3; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--mp-ink); transition: background .2s, color .2s; }
.mp-dp-nav:not(:disabled):hover { background: var(--mp-ink); color: var(--mp-cream); }
.mp-dp-nav:disabled { opacity: .3; cursor: default; }
.mp-dp-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.mp-dp-title { margin: 4px 0 16px; text-align: center; font-family: "Instrument Serif", Georgia, serif; font-size: 19px; line-height: 1.2; }
.mp-dp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 6px; }
.mp-dp-wd { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6A6555; text-align: center; padding-bottom: 8px; }
.mp-dp-cell { display: flex; justify-content: center; height: 54px; }
.mp-dp-day { width: 100%; max-width: 50px; height: 54px; border-radius: 14px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; line-height: 1; border: 0; background: transparent; color: var(--mp-ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; }
.mp-dp-day:not(:disabled):hover { box-shadow: inset 0 0 0 1.5px var(--mp-ink); }
.mp-dp-day:disabled { cursor: default; color: #A8A08C; text-decoration: line-through; }
.mp-dp-day.today { box-shadow: inset 0 0 0 1px #BDB5A3; }
.mp-dp-day.sel { background: var(--mp-ink); color: var(--mp-cream); }
.mp-dp-cell.in { background: var(--mp-sand); }
.mp-dp-cell.start { background: linear-gradient(90deg, transparent 50%, var(--mp-sand) 50%); }
.mp-dp-cell.end { background: linear-gradient(90deg, var(--mp-sand) 50%, transparent 50%); }
.mp-dp-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #DDD5C4; }
.mp-dp-link { background: none; border: 0; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--mp-ink); font-size: 13px; min-height: 36px; padding: 0 10px; }


/* ---------- Secciones ---------- */
.mp-sec { padding-top: 140px; padding-bottom: 140px; }
.mp-sec-xl { padding-top: 180px; padding-bottom: 180px; }
.mp-dark { background: var(--mp-ink); color: var(--mp-cream); }
.mp-h2 { font-size: 88px; line-height: .95; letter-spacing: -.03em; }
.mp-h3 { font-size: 38px; line-height: 1; margin: 0 0 8px; }
.mp-manifesto { max-width: 1080px; font-size: 64px; line-height: 1.08; letter-spacing: -.02em; }
.mp-stats { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--mp-line); }
.mp-stat { margin: 0 0 8px; font-size: 56px; line-height: 1; }
.mp-badge { position: absolute; right: 40px; top: -60px; width: 150px; height: 150px; }
.mp-badge text { font-family: Manrope, sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; }
.mp-badge-ico { position: absolute; left: 58px; top: 58px; }
.spin { animation: mp-spin 22s linear infinite; }
@keyframes mp-spin { to { rotate: 360deg; } }

/* Imagen ancha */
.mp-wide { position: relative; height: 860px; overflow: hidden; background: var(--mp-ink); }
.mp-clipr { position: absolute; inset: 0; overflow: hidden; }
/* Foto luminosa a plena opacidad: solo un velo suave abajo, donde va el texto. */
.mp-clipr > img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.mp-wide { background: var(--mp-cream); }
.mp-wide-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,24,18,.55) 0%, rgba(23,24,18,.15) 28%, rgba(23,24,18,0) 45%); }
.mp-wide-text p { text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.mp-wide-text { position: absolute; left: 0; right: 0; bottom: 56px; color: var(--mp-cream); }
.mp-wide-text p { font-size: 44px; line-height: 1.1; max-width: 640px; }

/* Alojamientos */
.mp-rtabs { border-top: 1px solid #34362D; }
.mp-rbtn { display: flex; align-items: baseline; gap: 20px; width: 100%; background: none; border: 0; padding: 22px 0; border-bottom: 1px solid #34362D; cursor: pointer; text-align: left; font-family: inherit; color: #76786A; transition: padding .5s var(--mp-ease), color .3s; }
.mp-rbtn:hover { padding-left: 12px; }
.mp-rbtn[aria-selected="true"] { color: var(--mp-cream); }
.mp-rnum { font-size: 13px; font-weight: 700; letter-spacing: .1em; width: 28px; flex: none; }
.mp-rname { font-size: 60px; line-height: 1; }
.mp-chips { margin: 0 0 32px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; font-size: 14px; color: #D9D2C1; }
.mp-chips li { border: 1px solid #45473C; border-radius: 999px; padding: 7px 16px; }
.mp-rimgs { position: relative; height: 720px; border-radius: 20px; overflow: hidden; background: #24261F; }
.mp-rimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.mp-rimg.on { opacity: var(--mp-ph); }
.mp-rdots { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 8px; }
.mp-rdots span { width: 12px; height: 3px; border-radius: 3px; background: var(--mp-cream); transition: width .6s; }
.mp-rdots span.on { width: 40px; }

/* Bento */
.mp-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 20px; }
.mp-bento .b-2x2 { grid-column: span 2; grid-row: span 2; }
.mp-bento .b-1x2 { grid-row: span 2; }
.mp-bento .b-2x1 { grid-column: span 2; }
.mp-zoom { position: relative; margin: 0; overflow: hidden; background: var(--mp-ink); border-radius: 18px; }
.mp-zoom img { width: 100%; height: 100%; object-fit: cover; opacity: var(--mp-ph); transition: transform 1.2s var(--mp-ease); }
.mp-zoom:hover img { transform: scale(1.05); }
.mp-zoom figcaption { position: absolute; inset: auto 0 0 0; padding: 26px; color: var(--mp-cream); background: linear-gradient(0deg, rgba(23,24,18,.78), rgba(23,24,18,0)); font-size: 14px; }
.mp-zoom figcaption span:last-child { color: var(--mp-sand); }
.mp-fc-big { display: block; font-size: 36px; line-height: 1.05; }
.mp-fc { display: block; font-size: 30px; line-height: 1.05; }
.mp-tile { border-radius: 18px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.mp-tile-line { border: 1px solid #CFC6B3; }

/* Galería horizontal */
.mp-strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 40px 8px; scroll-padding: 0 40px; }
.mp-strip::-webkit-scrollbar { display: none; }
.mp-strip figure { background: var(--mp-ink); margin: 0; flex: none; height: 560px; scroll-snap-align: start; border-radius: 14px; overflow: hidden; position: relative; }
.mp-strip img { width: 100%; height: 100%; object-fit: cover; opacity: var(--mp-ph); }
.mp-strip figcaption { position: absolute; left: 16px; bottom: 14px; color: var(--mp-cream); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.mp-strip .w-400 { width: 400px; } .mp-strip .w-420 { width: 420px; } .mp-strip .w-460 { width: 460px; }
.mp-strip .w-560 { width: 560px; } .mp-strip .w-640 { width: 640px; } .mp-strip .w-720 { width: 720px; }
.mp-round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #BDB5A3; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--mp-ink); transition: background .3s, color .3s; }
.mp-round:hover { background: var(--mp-ink); color: var(--mp-cream); }

/* Entorno */
.mp-entorn { position: relative; background: var(--mp-ink); color: var(--mp-cream); overflow: hidden; }
.mp-entorn-bg { position: absolute; inset: 0; overflow: hidden; }
.mp-entorn-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.mp-entorn-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,24,18,.92) 0%, rgba(23,24,18,.55) 60%, rgba(23,24,18,.3) 100%); }
.mp-places { margin-top: 80px; }
.mp-places > div { border-top: 1px solid rgba(242,237,227,.25); padding-top: 22px; }
.mp-places dt { color: #A59F8C; }
.mp-places dd { margin: 10px 0 0; font-size: 30px; line-height: 1.1; }

/* La casa */
.mp-zoom.mp-arch-top, .mp-zoom.mp-arch-none, .mp-zoom.mp-arch-bottom { height: 520px; }
.mp-arch-top { border-radius: 300px 300px 18px 18px; }
.mp-arch-bottom { border-radius: 18px 18px 300px 300px; }
.mp-offset { margin-top: 120px; }

/* Reserva directa */
.mp-direct { position: relative; overflow: hidden; border-radius: 28px; background: var(--mp-olive); color: var(--mp-cream); padding: 96px 64px; }
.mp-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(242,237,227,.12); }
.mp-ring.r1 { inset: -40% -10% auto auto; width: 620px; height: 620px; }
.mp-ring.r2 { inset: auto auto -50% -8%; width: 520px; height: 520px; }

/* Contacto */
.mp .mp-contact-big { font-size: 36px; text-decoration: none; color: var(--mp-ink); }
.mp-fld { display: flex; flex-direction: column; gap: 8px; }
.mp-fld label { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #6A6555; }
.mp-fld input, .mp-fld textarea { font: inherit; font-size: 17px; color: var(--mp-ink); background: transparent; border: 0; border-bottom: 1px solid #BDB5A3; padding: 10px 0; min-height: 46px; border-radius: 0; }
.mp-fld input:focus, .mp-fld textarea:focus { outline: none; border-bottom-color: var(--mp-ink); }

/* ---------- Pie ---------- */
.mp-footer { background: var(--mp-ink); color: #B8B19F; font-size: 14px; overflow: hidden; }
.mp .mp-footer a { color: #B8B19F; text-decoration: none; }
.mp .mp-footer a:hover { color: var(--mp-cream); }
.mp-giant { margin: 0; text-align: center; font-size: 19vw; line-height: .8; letter-spacing: -.04em; color: var(--mp-cream); white-space: nowrap; }
.mp-giant em { color: var(--mp-gold); }
.mp-footer-legal { font-size: 13px; color: #8F8977; }

/* Sin efectos ligados al scroll: dejaban secciones en blanco o el texto
   casi transparente hasta que el navegador las «alcanzaba». Todo se ve
   desde el principio; solo se mueve lo que responde al usuario. */

/* Más fotos de cada casa, en su pestaña */
.mp-rthumbs { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mp-rthumbs a { position: relative; display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #24261F; }
.mp-rthumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--mp-ease), opacity .3s; }
.mp-rthumbs a:hover img { transform: scale(1.06); }
.mp-rmore { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(23, 24, 18, .55); color: var(--mp-cream); font-family: "Instrument Serif", serif; font-size: 30px; }

/* ---------- Móvil ---------- */
@media (max-width: 991.98px) {
    .mp .container-xxl { padding-left: 20px; padding-right: 20px; }
    .mp-hdr-in { grid-template-columns: auto 1fr auto; }
    .mp-hero { min-height: 0; }
    .mp-hero-in { padding-top: 84px; }
    .mp-hero .mp-lead { font-size: 16px; }
    .mp-bk { padding: 10px 16px; }
    .mp-hdr-in { height: 76px; gap: 12px; }
    .mp-overlay .mp-hdr { margin-bottom: -76px; }
    .mp-brand-name { font-size: 26px; white-space: nowrap; }
    .mp-brand-tag { display: none; }
    .mp-curtain { height: 100svh; }
    .mp-h-hero { font-size: clamp(42px, min(16vw, 8.5svh), 68px); }
    .mp-h2 { font-size: 48px; }
    .mp-manifesto { font-size: 38px; }
    .mp-rname { font-size: 40px; }
    .mp-rimgs { height: 420px; }
    .mp-sec { padding-top: 88px; padding-bottom: 88px; }
    .mp-sec-xl { padding-top: 110px; padding-bottom: 110px; }
    .pb-mp { padding-bottom: 88px; }
    .mp-wide { height: 520px; }
    .mp-wide-text p { font-size: 30px; }
    .mp-strip { padding: 0 20px 8px; }
    .mp-strip figure { height: 380px; width: 78vw !important; }
    .mp-bk { border-right: 0; border-bottom: 1px solid rgba(242,237,227,.14); }
    .mp-bento { grid-template-columns: minmax(0, 1fr); }
    .mp-bento > * { grid-column: auto !important; grid-row: auto !important; min-height: 260px; }
    .mp-offset { margin-top: 0; }
    .mp-direct { padding: 64px 24px; }
    .mp-dp { width: auto; right: 0; padding: 20px 16px 16px; }
    .mp-dp-months { grid-template-columns: minmax(0, 1fr); }
    .mp-dp-month.second { display: none; }
    .mp-dp-day { height: 56px; }
    .mp-dp-cell { height: 56px; }
    .mp-curtain-name { font-size: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .mp-curtain { display: none; }
    .mp-hero .hs.s1 { opacity: var(--mp-ph); }
}


/* =====================================================================
   3) Mejoras: contraste, precios en el calendario, mapa de la finca,
      menú móvil sin el JS de Bootstrap
   ===================================================================== */

/* Antetítulo sobre crema: #6A6555 da 4,99:1 (el #7A7462 de la maqueta, 4,0:1). */
.mp-eyebrow-muted { color: #6A6555; }

/* Calendario: el precio de la noche debajo del día. */
.mp-dp-price { font-size: 11px; font-weight: 600; letter-spacing: 0; color: #6A6555; white-space: nowrap; }
.mp-dp-day.sel .mp-dp-price { color: var(--mp-gold); }
.mp-dp-day:disabled .mp-dp-price { display: none; }
/* Antes del mínimo de noches: no es salida posible pero sí una llegada nueva
   (JS). Atenuado, sin tachar: no está ocupado. */
.mp-dp-day.is-short { color: #A8A08C; }
.mp-dp-day.is-short .mp-dp-price { opacity: .55; }
.mp-dp-day.is-full { text-decoration: none; color: #B9B19E; }
.mp-dp-legend { font-size: 12px; color: #6A6555; }
.mp-dp-loading .mp-dp-months { opacity: .55; transition: opacity .2s; }

/* Mapa de la finca */
.mp-map { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 6 / 5; background: var(--mp-ink); }
.mp-map > img { width: 100%; height: 100%; object-fit: cover; }
.mp-map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,24,18,0) 55%, rgba(23,24,18,.25)); pointer-events: none; }
.mp-pin { position: absolute; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--mp-cream); }
.mp-pin-dot { position: relative; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mp-cream); color: var(--mp-ink); font-weight: 700; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.35); transition: background .3s, color .3s, transform .4s var(--mp-ease); }
.mp-pin-dot::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(242,237,227,.7); animation: mp-pulse 2.4s var(--mp-ease) infinite; }
@keyframes mp-pulse { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.mp-pin-label { padding: 6px 12px; border-radius: 999px; background: rgba(23,24,18,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--mp-ease); pointer-events: none; }
.mp-pin:hover .mp-pin-dot, .mp-pin:focus-visible .mp-pin-dot { transform: scale(1.1); }
.mp-pin:hover .mp-pin-label, .mp-pin:focus-visible .mp-pin-label, .mp-pin[aria-pressed="true"] .mp-pin-label { opacity: 1; transform: none; }
.mp-pin[aria-pressed="true"] .mp-pin-dot { background: var(--mp-gold); }
.mp-pin[aria-pressed="true"] .mp-pin-dot::before { border-color: var(--mp-gold); }

.mp-place { height: 100%; display: flex; flex-direction: column; animation: mp-fi .5s var(--mp-ease) both; }
.mp-place-img { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mp-sand); }
.mp-place-img img { width: 100%; height: 100%; object-fit: cover; }
.mp .mp-place-room { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--mp-line); color: var(--mp-ink); text-decoration: none; }
.mp-place-room:last-of-type { border-bottom: 1px solid var(--mp-line); }
.mp-place-room .mp-serif { font-size: 26px; line-height: 1; }
.mp-place-room svg { transition: transform .4s var(--mp-ease); }
.mp-place-room:hover svg { transform: translateX(5px); }

/* Menú móvil: el offcanvas de Bootstrap, abierto por theme.js. */
.mp-offcanvas { transition: transform .4s var(--mp-ease); }
.mp-backdrop { position: fixed; inset: 0; z-index: 1040; background: rgba(23,24,18,.55); opacity: 0; transition: opacity .3s; }
.mp-backdrop.show { opacity: 1; }

@media (max-width: 991.98px) {
    .mp-pin-label { display: none; }
    .mp-pin-dot { width: 32px; height: 32px; font-size: 13px; }
    .mp-map { border-radius: 18px; }
}


/* =====================================================================
   4) Páginas propias: cabecera de página, Galería y El entorno
   ===================================================================== */

/* Cabecera de página (foto a lo ancho, más baja que el hero de portada) */
.mp-phero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; color: var(--mp-cream); background: var(--mp-ink); overflow: hidden; }
.mp-phero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; animation: mp-kb 14s ease-out both; }
@keyframes mp-kb { from { transform: scale(1.08); } to { transform: none; } }
.mp-phero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,24,18,.55) 0%, rgba(23,24,18,.05) 35%, rgba(23,24,18,.8) 100%); }
.mp-phero-in { position: relative; padding-top: 140px; padding-bottom: clamp(40px, 7svh, 72px); }
.mp-h-page { font-size: clamp(56px, min(9vw, 14svh), 128px); line-height: .92; letter-spacing: -.035em; }
.mp-crumbs { display: flex; gap: 10px; margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #E4DCCB; }
.mp .mp-crumbs a { color: #E4DCCB; text-decoration: none; }
.mp .mp-crumbs a:hover { color: var(--mp-cream); text-decoration: underline; text-underline-offset: 4px; }
.mp-crumbs span[aria-hidden] { opacity: .5; }
.mp-fade-up { animation: mp-fi .9s var(--mp-ease) .15s both; }

/* Galería: filtros */
.mp-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.mp-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #BDB5A3; background: transparent; color: var(--mp-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.mp-filter span { font-size: 12px; font-weight: 600; color: #6A6555; transition: color .25s; }
.mp-filter:hover { border-color: var(--mp-ink); }
.mp-filter[aria-pressed="true"] { background: var(--mp-ink); border-color: var(--mp-ink); color: var(--mp-cream); }
.mp-filter[aria-pressed="true"] span { color: var(--mp-gold); }

/* Galería: mosaico */
.mp-masonry { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 16px; }
.mp-shot { position: relative; border-radius: 16px; overflow: hidden; background: var(--mp-sand); animation: mp-fi .5s var(--mp-ease) both; }
.mp-shot.is-tall { grid-row: span 2; }
.mp-shot[hidden] { display: none; }
.mp-shot a { display: block; width: 100%; height: 100%; color: var(--mp-cream); text-decoration: none; }
.mp-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--mp-ease); }
.mp-shot a:hover img, .mp-shot a:focus-visible img { transform: scale(1.05); }
.mp-shot-cap { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 600; background: linear-gradient(0deg, rgba(23,24,18,.75), rgba(23,24,18,0)); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--mp-ease); }
.mp-shot-cap .mp-eyebrow { font-size: 10px; color: var(--mp-gold); }
.mp-shot a:hover .mp-shot-cap, .mp-shot a:focus-visible .mp-shot-cap { opacity: 1; transform: none; }
@media (hover: none) { .mp-shot-cap { opacity: 1; transform: none; } }

/* Visor a pantalla completa */
.mp-lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(23,24,18,.96); color: var(--mp-cream); }
.mp-lb[open] { display: flex; align-items: center; justify-content: center; animation: mp-fi .3s ease both; }
.mp-lb::backdrop { background: transparent; }
.mp-lb figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 180px); }
.mp-lb img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; object-fit: contain; }
.mp-lb figcaption { font-size: 15px; font-weight: 600; text-align: center; }
.mp-lb-count { margin-left: 10px; font-weight: 500; color: #A59F8C; }
.mp-lb-close, .mp-lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(242,237,227,.3); background: rgba(23,24,18,.4); color: var(--mp-cream); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, color .25s; }
.mp-lb-close:hover, .mp-lb-nav:hover { background: var(--mp-cream); color: var(--mp-ink); }
.mp-lb-close { top: 20px; right: 20px; }
.mp-lb-nav.prev { left: 24px; top: 50%; transform: translateY(-50%); }
.mp-lb-nav.next { right: 24px; top: 50%; transform: translateY(-50%); }

/* El entorno */
.mp-entorn-photo { height: 520px; }
.mp-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mp-facts > div { border-top: 1px solid var(--mp-line); padding-top: 14px; }
.mp-facts dt { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #6A6555; }
.mp-facts dd { margin: 6px 0 0; font-family: "Instrument Serif", Georgia, serif; font-size: 22px; line-height: 1.15; }
.mp-todo { height: 100%; padding: 32px; border-radius: 20px; border: 1px solid #34362D; transition: background .35s, border-color .35s; }
.mp-todo:hover { background: #20221B; border-color: #45473C; }
.mp-todo-n { font-size: 40px; line-height: 1; color: #45473C; }
.mp-seasons > div { border-top: 1px solid var(--mp-line); padding-top: 22px; }

/* Enlace «ver más» de las secciones de la portada */
.mp .mp-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--mp-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.mp .mp-more.on-dark { color: var(--mp-cream); }
.mp-more svg { transition: transform .4s var(--mp-ease); }
.mp-more:hover svg { transform: translateX(5px); }

@media (max-width: 991.98px) {
    .mp-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 10px; }
    .mp-lb figure { max-width: 100vw; padding: 0 12px; }
    .mp-lb-nav { top: auto !important; bottom: 20px; transform: none !important; }
    .mp-lb-nav.prev { left: calc(50% - 64px); }
    .mp-lb-nav.next { right: calc(50% - 64px); }
    .mp-lb img { max-height: calc(100vh - 200px); }
    .mp-entorn-photo { height: 340px; }
    .mp-facts { grid-template-columns: minmax(0, 1fr); }
    .mp-phero { min-height: 64svh; }
    .mp-phero-in { padding-top: 110px; }
}
@media (max-width: 575.98px) {
    .mp-masonry { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 240px; }
    .mp-shot.is-tall { grid-row: span 1; }
}

/* Menú de escritorio: los enlaces nunca se parten y, entre 992 y 1280 px, se
   compacta para que quepa junto a la marca y los idiomas. */
.mp-navl a { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1279.98px) {
    .mp-navl { gap: 18px; font-size: 13px; }
    .mp-navr { gap: 14px; }
    .mp-hdr-in { gap: 16px; }
}

/* =====================================================================
   Alojamientos, ficha de cada casa y disponibilidad
   ===================================================================== */
.mp-sm { font-size: 14px; }
.mp .mp-btn-line { background: transparent; color: var(--mp-ink); box-shadow: inset 0 0 0 1px var(--mp-ink); }
.mp .mp-btn-line:hover { background: var(--mp-ink); color: var(--mp-cream); }
.mp-price-big { font-size: 40px; line-height: 1; }

/* Estado de una casa para unas fechas: color y texto, nunca solo color. */
.mp-state { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.mp-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.mp-state.is-free { background: #E1E8D3; color: #2E3A24; }
.mp-state.is-busy { background: #F1E1D6; color: #8A3B23; }

/* ---------- Buscador (listado y ficha) ---------- */
.mp-search { position: relative; }
.mp-search-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: stretch; }
.mp-search-go { display: flex; align-items: center; padding: 8px; }
.mp-search-glass { z-index: 5; background: rgba(23, 24, 18, .42); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(242, 237, 227, .18); border-radius: 20px; }
.mp-search-glass .mp-search-fields > .mp-bk:nth-last-child(2) { border-right: 0; }
.mp-ages { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 20px 14px; border-top: 1px solid rgba(242, 237, 227, .14); }
.mp-ages-label { font-size: 13px; color: #CFC8B8; margin-right: 6px; }
.mp-age select { font: inherit; font-size: 14px; border-radius: 999px; padding: 6px 14px; min-height: 36px; border: 1px solid rgba(242, 237, 227, .3); background: transparent; color: var(--mp-cream); color-scheme: dark; }
.mp-age select option { color: var(--mp-ink); }

/* Tarjeta clara (ficha de la casa): dos columnas y el botón debajo. */
.mp-search-card .mp-search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); background: #fff; border: 1px solid var(--mp-line); border-radius: 16px; }
.mp-search-card .mp-bk { padding: 12px 16px; border-right: 1px solid var(--mp-line); border-bottom: 1px solid var(--mp-line); }
.mp-search-card .mp-bk:nth-of-type(even) { border-right: 0; }
.mp-search-card .mp-bkl { color: #6A6555; }
.mp-search-card .mp-bkbtn { color: #8A8473; white-space: nowrap; }
.mp-search-card .mp-bkbtn.has-value { color: var(--mp-ink); }
.mp-search-card .mp-bk select { color: var(--mp-ink); color-scheme: light; }
.mp-search-card .mp-search-go { grid-column: 1 / -1; padding: 12px; }
.mp-search-card .mp-search-go .mp-btn { width: 100%; }
.mp-search-card .mp-ages { padding: 14px 2px 0; border: 0; }
.mp-search-card .mp-ages-label { color: #6A6555; }
.mp-search-card .mp-age select { color: var(--mp-ink); border-color: var(--mp-line); background: #fff; color-scheme: light; }
/* El calendario se abre sobre la tarjeta, hacia la izquierda (hay sitio). */
.mp-search-card .mp-dp { top: 0; bottom: auto; left: auto; right: 0; width: 680px; max-width: calc(100vw - 32px); }

/* ---------- Cabecera con buscador (listado) ---------- */
.mp-phero-search { min-height: 82svh; }
.mp-phero-search .mp-h-page { font-size: clamp(52px, min(7.5vw, 12svh), 112px); }
/* El calendario se abre hacia abajo, sobre las casas: arriba lo taparía la cabecera.
   Por eso la cabecera no recorta (y la foto no hace el zoom de entrada). */
.mp-phero-search { overflow: visible; }
.mp-phero-search .mp-phero-in { z-index: 10; }
.mp-phero-search .mp-phero-img { animation: none; }
.mp-phero-search .mp-dp { top: calc(100% + 12px); bottom: auto; }

/* ---------- Listado de casas ---------- */
.mp-rooms-sec { padding-top: 104px; }
.mp-rooms-sec.is-funnel { padding-top: 64px; background: var(--mp-cream); }
.mp-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.mp-facts li { border: 1px solid var(--mp-line); border-radius: 999px; padding: 6px 14px; }

/* Tres casas, una al lado de otra. */
.mp-rcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.mp-rcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mp-line); border-radius: 22px; overflow: hidden; transition: transform .5s var(--mp-ease), box-shadow .5s var(--mp-ease); }
.mp-rcard:not(.is-off):hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(23, 24, 18, .12); }
.mp-rcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--mp-sand); overflow: hidden; }
.mp-rcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--mp-ease); }
.mp-rcard:not(.is-off):hover .mp-rcard-media img { transform: scale(1.05); }
.mp-rcard-badge { position: absolute; left: 16px; top: 16px; margin: 0; box-shadow: 0 4px 14px rgba(23, 24, 18, .12); }
.mp-rcard-tag { padding: 6px 12px; border-radius: 999px; background: rgba(242, 237, 227, .92); color: var(--mp-ink); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mp-rcard-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 24px; }
.mp-rcard-name { font-size: clamp(32px, 2.6vw, 42px); line-height: 1; letter-spacing: -.02em; }
.mp .mp-rcard-name a { color: var(--mp-ink); text-decoration: none; }
/* Toda la tarjeta lleva a la casa: el enlace del nombre se estira por encima. */
.mp .mp-rcard-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.mp-rcard-btn { position: relative; z-index: 2; width: 100%; }
.mp-rcard-blurb { margin: 14px 0 18px; font-size: 15px; line-height: 1.6; color: var(--mp-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mp-rcard .mp-facts { font-size: 13px; gap: 6px; }
.mp-rcard .mp-facts li { padding: 4px 12px; }
.mp-rcard-foot { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.mp-rcard-foot::before { content: ""; display: block; height: 1px; background: var(--mp-line); margin-bottom: 4px; }
.mp-rcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.mp-rcard .mp-price-big { font-size: 36px; }
/* No libre en esas fechas: apagada y sin poder elegirla. */
.mp-rcard.is-off { opacity: .45; pointer-events: none; user-select: none; }
.mp-rcard.is-off .mp-rcard-media img { filter: grayscale(.85); }
.mp .mp-btn.is-disabled { cursor: not-allowed; box-shadow: inset 0 0 0 1px var(--mp-line); color: var(--mp-muted); }
.mp-nofree { margin-bottom: 40px; padding: 28px 32px; border-radius: 20px; background: #fff; border: 1px solid var(--mp-line); }

/* ---------- Funnel de reserva: banda del paso 2 ---------- */
.mp-funnel { position: relative; z-index: 10; background: var(--mp-ink); color: var(--mp-cream); padding: 40px 0 44px; }
.mp-funnel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; margin-top: 44px; }
.mp-funnel-title { font-size: clamp(48px, 6vw, 88px); line-height: .92; letter-spacing: -.03em; }
.mp-funnel-sum { display: grid; grid-template-columns: repeat(4, auto); margin: 0; border: 1px solid rgba(242, 237, 227, .18); border-radius: 18px; overflow: hidden; }
.mp-funnel-sum > div { padding: 14px 22px; border-right: 1px solid rgba(242, 237, 227, .14); }
.mp-funnel-sum > div:last-child { border-right: 0; }
.mp-funnel-sum dt { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #CFC8B8; }
.mp-funnel-sum dd { margin: 6px 0 0; font-size: 16px; font-weight: 600; white-space: nowrap; }
.mp-funnel-edit { margin-top: 24px; }
.mp-funnel-edit > summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--mp-gold); }
.mp-funnel-edit > summary::-webkit-details-marker { display: none; }
.mp-funnel-edit > summary::after { content: "+"; font-size: 18px; line-height: 1; }
.mp-funnel-edit[open] > summary::after { content: "\2013"; }
.mp-funnel .mp-dp { top: calc(100% + 12px); bottom: auto; }

/* ---------- Pasos de la reserva (paso 2, opciones y pago) ---------- */
.mp-steps-nav { margin: 0 0 2rem; }
.mp-funnel .mp-steps-nav { margin: 0; }
.mp-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.mp-step { display: flex; align-items: center; flex: 1; min-width: 0; color: var(--mp-muted); }
.mp-step:last-child { flex: none; }
/* La raya que une cada paso con el siguiente. */
.mp-step:not(:last-child)::after { content: ""; flex: 1; height: 1px; margin: 0 16px; background: var(--mp-line); }
.mp-step.is-done:not(:last-child)::after { background: var(--mp-olive); }
.mp-step > a, .mp-step > span { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; white-space: nowrap; font-size: 14px; font-weight: 600; }
.mp-step > a:hover .mp-step-l { text-decoration: underline; text-underline-offset: 4px; }
.mp-step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; border: 1px solid currentColor; }
.mp-step.is-done { color: var(--mp-olive); }
.mp-step.is-done .mp-step-n { background: var(--mp-olive); border-color: var(--mp-olive); color: var(--mp-cream); }
.mp-step.is-current { color: var(--mp-ink); }
.mp-step.is-current .mp-step-n { background: var(--mp-gold); border-color: var(--mp-gold); color: var(--mp-ink); box-shadow: 0 0 0 5px rgba(217, 169, 91, .22); }
/* Sobre la banda oscura. */
.mp-funnel .mp-step { color: #8E8B7C; }
.mp-funnel .mp-step:not(:last-child)::after { background: rgba(242, 237, 227, .18); }
.mp-funnel .mp-step.is-done, .mp-funnel .mp-step.is-current { color: var(--mp-cream); }
.mp-funnel .mp-step.is-done:not(:last-child)::after { background: var(--mp-gold); }
.mp-funnel .mp-step.is-done .mp-step-n { background: transparent; border-color: var(--mp-gold); color: var(--mp-gold); }

.mp-rooms-note { margin: 96px 0 0; text-align: center; font-size: 15px; }
.mp .mp-rooms-note a { color: var(--mp-ink); text-underline-offset: 4px; }

/* ---------- Ficha de una casa ---------- */
.mp-room { padding-top: 40px; }
.mp-crumbs-dark, .mp .mp-crumbs-dark a { color: #6A6555; }
.mp .mp-crumbs-dark a:hover { color: var(--mp-ink); }
.mp-room-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 32px; }
.mp-room-title { font-size: clamp(60px, 8.4vw, 124px); line-height: .9; letter-spacing: -.035em; }
.mp-room-from { padding-bottom: 10px; }
.mp-room-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(180px, 17vw, 270px)); gap: 10px; }
.mp-room-mosaic .mp-shot { border-radius: 16px; }
.mp-room-mosaic .is-lead { grid-row: span 2; }
.mp-room-mosaic .is-extra { display: none; }
.mp-room-mosaic[data-count="1"] .is-lead { grid-column: 1 / -1; }
.mp-room-all { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--mp-cream); color: var(--mp-ink); font-size: 14px; font-weight: 600; pointer-events: none; box-shadow: 0 6px 20px rgba(23, 24, 18, .2); }
.mp-room-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; align-items: start; margin-top: 64px; padding-bottom: 128px; }
.mp-room-keys { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 0 0 36px; padding: 0 0 30px; border-bottom: 1px solid var(--mp-line); font-size: 16px; }
.mp-room-keys li { display: flex; align-items: center; gap: 10px; }
.mp-room-keys .mp-serif { font-size: 40px; line-height: 1; }
.mp-key-ico, .mp-equip svg, .mp-book-notes svg { color: var(--mp-olive); flex: none; }
.mp-room-text p { font-size: 19px; line-height: 1.7; max-width: 62ch; }
.mp-room-block { margin-top: 64px; }
.mp-room-block .mp-h3 { margin-bottom: 20px; }
.mp-equip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.mp-equip li { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--mp-line); font-size: 16px; }
.mp-plain { padding-left: 18px; }
.mp-room-side { position: sticky; top: 112px; }
.mp-book { position: relative; background: #FBF8F2; border: 1px solid var(--mp-line); border-radius: 24px; padding: 28px; box-shadow: 0 30px 70px rgba(23, 24, 18, .08); }
.mp-book-title { font-size: 34px; line-height: 1; margin: 0 0 8px; }
.mp-quote { margin-top: 16px; padding: 18px; border-radius: 16px; background: var(--mp-sand); }
.mp-quote-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; font-size: 14px; }
.mp-book-notes { list-style: none; display: grid; gap: 10px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--mp-line); font-size: 14px; color: var(--mp-muted); }
.mp-book-notes li { display: flex; gap: 10px; align-items: flex-start; }
.mp .mp-book-notes a { color: var(--mp-ink); text-underline-offset: 3px; }
.mp-bookbar { display: none; }

/* ---------- Disponibilidad ---------- */
.mp-avail-sec { padding-top: 96px; }
.mp-openings { display: grid; gap: 18px; margin-bottom: 64px; padding: 32px; border-radius: 22px; background: var(--mp-olive); color: var(--mp-cream); }
.mp-openings li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 16px; border-top: 1px solid rgba(242, 237, 227, .2); }
.mp-openings-form { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-openings-form input[type=email] { font: inherit; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(242, 237, 227, .35); background: transparent; color: var(--mp-cream); min-width: 240px; }
.mp-openings-form input::placeholder { color: #B8B19F; }
.mp-openings .mp-btn-ink { background: var(--mp-cream); color: var(--mp-ink); }

.mp-avail-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 44px; }
.mp-avail-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.mp-avail-tab { display: flex; align-items: center; gap: 12px; padding: 7px 20px 7px 7px; border-radius: 999px; border: 1px solid var(--mp-line); background: transparent; color: var(--mp-ink); text-align: left; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.mp-avail-tab img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.mp-avail-tab > span { display: flex; flex-direction: column; gap: 3px; }
.mp-avail-tab-name { font-size: 22px; line-height: 1; }
.mp-avail-tab-sub { font-size: 12px; color: var(--mp-muted); }
.mp-avail-tab:hover { border-color: var(--mp-ink); }
.mp-avail-tab[aria-selected="true"] { background: var(--mp-ink); border-color: var(--mp-ink); color: var(--mp-cream); }
.mp-avail-tab[aria-selected="true"] .mp-avail-tab-sub { color: #B8B19F; }
.mp-avail-panel[hidden] { display: none; }
.mp-avail-panel + .mp-avail-panel { margin-top: 80px; }
.mp-avail-sum { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 24px; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--mp-line); }

.mp-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; font-size: 14px; }
.mp-legend li { display: flex; align-items: center; gap: 8px; }
.mp-months { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 36px; }
.mp-month-title { margin: 0 0 14px; font-size: 26px; line-height: 1; }
.mp-month-title span { font-size: 18px; color: #8F8977; }
.mp-month-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mp-wd { padding-bottom: 4px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6A6555; }

/* Una noche: el mismo dibujo en el calendario y en la leyenda. */
.mp-day, .mp-sw { display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; }
.mp-day { aspect-ratio: 1; }
.mp-sw { width: 30px; height: 30px; font-size: 11px; }
.is-free.mp-day, .is-free.mp-sw { background: #DEE6CE; color: #263020; }
.mp a.mp-day.is-free { color: #263020; transition: background .2s, color .2s, transform .2s; }
.mp a.mp-day.is-free:hover, .mp a.mp-day.is-free:focus-visible { background: var(--mp-olive); color: var(--mp-cream); transform: scale(1.08); }
.is-busy.mp-day, .is-busy.mp-sw { background: repeating-linear-gradient(135deg, #D6CCB8 0 3px, #E9E2D3 3px 7px); color: #8C8471; text-decoration: line-through; }
.is-closed.mp-day, .is-closed.mp-sw { border: 1px dashed #BDB5A3; color: #A39B87; }
.is-past.mp-day, .is-past.mp-sw { color: #C3BBA8; }
.is-today.mp-day, .is-today.mp-sw { box-shadow: inset 0 0 0 2px var(--mp-gold); }

/* ---------- Pantallas medianas y móvil ---------- */
@media (max-width: 1199.98px) {
    .mp-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mp-room-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; }
}
@media (max-width: 991.98px) {
    .mp-search-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mp-search-glass .mp-bk { border-right: 0; border-bottom: 1px solid rgba(242, 237, 227, .14); }
    .mp-search-go { grid-column: 1 / -1; }
    .mp-search-go .mp-btn { width: 100%; }
    .mp-search-card .mp-dp { left: 0; right: 0; width: auto; }

    .mp-phero-search { min-height: 0; }
    .mp-rcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .mp-rooms-sec.is-funnel { padding-top: 40px; }
    .mp-funnel { padding: 24px 0 32px; }
    .mp-funnel-head { margin-top: 28px; }
    .mp-funnel-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .mp-funnel-sum > div:nth-child(2) { border-right: 0; }
    .mp-funnel-sum > div:nth-child(-n+2) { border-bottom: 1px solid rgba(242, 237, 227, .14); }
    /* Pasos en móvil: solo el nombre del paso actual, los demás con su número. */
    .mp-step:not(.is-current) .mp-step-l { display: none; }
    /* Sin sitio, el nombre del paso actual se recorta con «…» en vez de montarse
       sobre la raya y el paso siguiente; los demás nunca bajan de círculo + raya. */
    .mp-step:not(:last-child)::after { margin: 0 8px; min-width: 14px; }
    .mp-step:not(.is-current) { min-width: auto; }
    .mp-step.is-current:not(:last-child) { flex: 1 1 auto; }
    .mp-step > a, .mp-step > span { gap: 8px; min-width: 0; }
    .mp-step-l { overflow: hidden; text-overflow: ellipsis; }

    .mp-room-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 130px; }
    .mp-room-mosaic .is-lead { grid-column: 1 / -1; grid-row: auto; }
    .mp-room-mosaic .mp-shot:nth-child(n+4) { display: none; }
    .mp-room-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; margin-top: 40px; padding-bottom: 96px; }
    .mp-room-side { position: static; }
    .mp-room-text p { font-size: 17px; }
    .mp-bookbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: var(--mp-cream); border-top: 1px solid var(--mp-line); box-shadow: 0 -10px 30px rgba(23, 24, 18, .08); }
    .mp-room-page .mp-footer { padding-bottom: 76px; }

    .mp-avail-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; width: calc(100% + 40px); }
    .mp-avail-tab { flex: none; }
    .mp-months { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
}
@media (max-width: 575.98px) {
    .mp-equip { grid-template-columns: minmax(0, 1fr); }
    .mp-rcards { grid-template-columns: minmax(0, 1fr); }
    .mp-rcard-body { padding: 22px 20px 20px; }
    .mp-step-n { width: 30px; height: 30px; font-size: 13px; }
    .mp-months { grid-template-columns: minmax(0, 1fr); }
    .mp-month-grid { gap: 5px; }
    .mp-day { font-size: 14px; }
    .mp-openings-form input[type=email] { min-width: 0; flex: 1; }
}

/* ---------- Contacto (portada y /contacto) ---------- */
.mp-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.mp-contact-info { position: sticky; top: 120px; }
.mp-ways { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 0; }
.mp-ways li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--mp-line); }
.mp-ways li:last-child { border-bottom: 1px solid var(--mp-line); }
.mp-way-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mp-sand); color: var(--mp-olive); }
.mp-ways li > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mp-way-label { font-size: 13px; color: #6A6555; }
.mp .mp-way-big { font-size: 30px; line-height: 1.1; color: var(--mp-ink); text-decoration: none; overflow-wrap: anywhere; }
.mp .mp-way-big:hover { color: var(--mp-olive); }
.mp .mp-way-link { font-size: 14px; font-weight: 600; color: var(--mp-ink); text-underline-offset: 4px; margin-top: 4px; }

.mp-cform { position: relative; display: grid; gap: 22px; padding: 36px; border-radius: 24px; background: #FBF8F2; border: 1px solid var(--mp-line); box-shadow: 0 30px 70px rgba(23, 24, 18, .07); }
.mp-cform .mp-state { margin: 0; justify-self: start; }
.mp-cf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mp-cf-dates { position: relative; grid-template-columns: 1fr 1fr .8fr; }
.mp-cf { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.mp-cf-label { font-size: 14px; font-weight: 600; color: var(--mp-ink); }
.mp-cf-opt { font-weight: 400; color: #8A8473; }
.mp-cf input, .mp-cf select, .mp-cf textarea, .mp-cf-date {
    font: inherit; font-size: 16px; color: var(--mp-ink); background: #fff;
    border: 1px solid #CFC6B3; border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%;
    transition: border-color .2s, box-shadow .2s;
}
.mp-cf textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.mp-cf input:focus, .mp-cf select:focus, .mp-cf textarea:focus, .mp-cf-date:focus-visible { outline: none; border-color: var(--mp-ink); box-shadow: 0 0 0 3px rgba(217, 169, 91, .35); }
.mp-cf input::placeholder, .mp-cf textarea::placeholder { color: #A39B87; }
.mp-cf-date { display: flex; align-items: center; gap: 10px; text-align: left; cursor: pointer; color: #8A8473; white-space: nowrap; }
.mp-cf-date.has-value { color: var(--mp-ink); }
.mp-cf-date svg { flex: none; color: var(--mp-olive); }
.mp-cf.has-error input, .mp-cf.has-error textarea { border-color: #B2482B; }
.mp-cf-err { margin: 0; font-size: 13px; color: #9A3A20; }
.mp-cf-dates .mp-dp { top: calc(100% + 8px); bottom: auto; left: 0; right: auto; width: 680px; max-width: calc(100vw - 32px); }

.mp-cf-topic { border: 0; margin: 0; padding: 0; min-width: 0; }
.mp-cf-topic legend { margin-bottom: 10px; float: none; }
.mp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-pill { position: relative; cursor: pointer; }
.mp-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mp-pill span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #CFC6B3; background: #fff; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.mp-pill:hover span { border-color: var(--mp-ink); }
.mp-pill input:checked + span { background: var(--mp-ink); border-color: var(--mp-ink); color: var(--mp-cream); }
.mp-pill input:focus-visible + span { outline: 2px solid var(--mp-gold); outline-offset: 2px; }

.mp-cf-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-top: 6px; }

.mp-cform-done { justify-items: start; gap: 6px; padding: 48px 40px; }
.mp-done-ico { width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #E1E8D3; color: var(--mp-olive); margin-bottom: 12px; }

@media (max-width: 991.98px) {
    .mp-contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .mp-contact-info { position: static; }
    .mp-cform { padding: 24px 20px; }
    .mp-cf-dates .mp-dp { left: 0; right: 0; width: auto; }
}
@media (max-width: 575.98px) {
    .mp-cf-row { grid-template-columns: minmax(0, 1fr); }
    .mp-cf-dates { grid-template-columns: 1fr 1fr; }
    .mp-cf-dates > .mp-cf:nth-child(3) { grid-column: 1 / -1; }
    .mp-cf-date { padding: 12px 10px; gap: 8px; font-size: 15px; }
    .mp-cf-date span { overflow: hidden; text-overflow: ellipsis; }
    .mp .mp-way-big { font-size: 24px; }
}

/* Aviso del calendario cuando las fechas no se pueden reservar (p. ej. 1 noche
   con un mínimo de 2): se dice por qué en vez de reabrirlo sin más. */
.mp-dp-warn { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: #F6E3DC; color: #8A3A22; font-size: 14px; line-height: 1.45; }
