/* ==========================================================================
   Hoteles Burbuja Travel
   Paleta: noche (#001d3d, la del logo), crema (#f2e9d7, fondo del logo),
   dorado "luz de estrellas" para la acción principal.
   ========================================================================== */

@font-face { font-family: "Urbanist"; font-weight: 400; font-display: swap; src: url(../fonts/urbanist-400.woff2) format("woff2"); }
@font-face { font-family: "Urbanist"; font-weight: 700; font-display: swap; src: url(../fonts/urbanist-700.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 400; font-display: swap; src: url(../fonts/work-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Work Sans"; font-weight: 700; font-display: swap; src: url(../fonts/work-sans-700.woff2) format("woff2"); }

:root {
	--night: #001d3d;
	--night-2: #0d3463;
	--ink: #17233a;
	--muted: #5c6577;
	--cream: #f2e9d7;
	--sand: #faf6ee;
	--paper: #fffdf9;
	--line: #e8ddc8;
	--gold: #f4b740;
	--gold-2: #e3a11d;
	--olive: #4f6a2c;
	--red: #b5483f;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgb(0 29 61 / .06), 0 10px 30px rgb(0 29 61 / .08);
	--shadow-hover: 0 2px 4px rgb(0 29 61 / .08), 0 16px 40px rgb(0 29 61 / .14);
	--font-h: "Urbanist", ui-sans-serif, system-ui, sans-serif;
	--font-b: "Work Sans", ui-sans-serif, system-ui, sans-serif;
	--wrap: 1200px;
	--header-h: 76px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-b); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--night); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--night-2); }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 700; line-height: 1.15; color: var(--night); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.15rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--night); padding: .6em 1em; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }

.eyebrow { font: 700 .8rem/1.3 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
.eyebrow--light { color: var(--gold); }

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

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.3em; border-radius: 12px; border: 1.5px solid transparent; font: 700 1rem/1.1 var(--font-b); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--night); box-shadow: 0 6px 16px rgb(244 183 64 / .35); }
.btn--gold:hover { background: var(--gold-2); color: var(--night); }
.btn--navy { background: var(--night); color: var(--cream); }
.btn--navy:hover { background: var(--night-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--night); border-color: var(--night); }
.btn--ghost:hover { background: var(--night); color: var(--cream); }
.btn--sm { padding: .65em 1em; font-size: .92rem; border-radius: 10px; }
.btn--block { width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6rem 0; }
.ctas--center { justify-content: center; margin-top: .8rem; }

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

.site-header { position: sticky; top: 0; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand__logo { height: 58px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav .menu, .site-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.site-nav .menu { display: flex; gap: 4px; }
.site-nav .menu > li { position: relative; }
.site-nav a { display: block; padding: .55em .8em; border-radius: 10px; color: var(--night); font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { background: rgb(0 29 61 / .07); }
.site-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2em) rotate(45deg); }
.site-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-hover); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { font-weight: 400; }
.nav-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; }
.nav-search input { border: 0; background: none; font: inherit; font-size: .95rem; width: 150px; padding: .45em 0; color: var(--ink); }
.nav-search input:focus { outline: none; }
.nav-search button { border: 0; background: none; padding: .45em; color: var(--night); cursor: pointer; display: flex; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
	.brand__logo { height: 48px; }
	:root { --header-h: 66px; }
	.nav-toggle { display: inline-flex; align-items: center; gap: .45em; margin-left: auto; background: var(--night); color: var(--cream); border: 0; border-radius: 10px; padding: .6em .9em; font: 700 .95rem var(--font-b); cursor: pointer; }
	.nav-toggle .icon { width: 1.3em; height: 1.3em; }
	.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.site-nav { position: absolute; inset: 100% 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 12px; background: var(--cream); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--header-h)); overflow: auto; box-shadow: var(--shadow-hover); }
	.nav-open .site-nav { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 8px 8px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
	.site-nav .sub-menu a { white-space: normal; font-size: .95rem; line-height: 1.3; padding: .5em .6em; }
	.site-nav .menu-item-has-children > a::after { display: none; }
	.site-nav .menu > li > a { font-size: 1.05rem; }
	.nav-search input { width: 100%; }
}

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

.hero { position: relative; isolation: isolate; color: #fff; min-height: min(78vh, 640px); display: flex; align-items: center; overflow: hidden; background: var(--night); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(0 18 40 / .88) 0%, rgb(0 18 40 / .62) 45%, rgb(0 18 40 / .15) 100%); }
.hero__in { padding: 72px 0 64px; }
.hero__t { color: #fff; max-width: 15ch; font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem); }
.hero__lead { max-width: 52ch; font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: #e9eef6; margin-bottom: 1.6rem; }
.hero__search { display: flex; align-items: center; gap: 8px; max-width: 640px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 18px; box-shadow: 0 20px 50px rgb(0 0 0 / .3); color: var(--muted); }
.hero__search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.02rem; padding: .7em .2em; color: var(--ink); }
.hero__search input:focus { outline: none; }
.hero__chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips a { display: block; color: #fff; text-decoration: none; font-size: .92rem; padding: .4em .9em; border: 1px solid rgb(255 255 255 / .45); border-radius: 999px; backdrop-filter: blur(4px); background: rgb(255 255 255 / .08); }
.hero__chips a:hover { background: rgb(255 255 255 / .2); }

.stats { background: var(--cream); border-bottom: 1px solid var(--line); }
.stats__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 0; }
.stats p { margin: 0; color: var(--night); display: flex; align-items: center; gap: .45em; }
.stats b { font: 700 1.6rem/1 var(--font-h); }

.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--sand { background: var(--sand); border-block: 1px solid var(--line); }
.section--night { background: radial-gradient(1200px 400px at 80% 0%, #0d3463, var(--night)); color: #dfe6f1; }
.section--night h2 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 32px; }
.section__head p:last-child { color: var(--muted); }
.section__more { margin: 28px 0 0; text-align: center; }

.regiones { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.regiones--mini { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); margin: 1.5rem 0; }
.region { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--night); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.region img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.region::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(0 18 40 / .85)); }
.region:hover img { transform: scale(1.05); }
.region__txt { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; }
.region__txt b { font: 700 1.2rem/1.2 var(--font-h); color: #fff; }
.region__txt small { color: var(--gold); font-weight: 700; }
.regiones--mini .region__txt b { font-size: 1.05rem; }

.section--tight { padding-top: 0; }
.ideas { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.idea { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--night); transition: box-shadow .2s, transform .2s; }
.idea:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--night); }
.idea__icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--cream); color: var(--olive); }
.idea__txt { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.idea__txt b { font: 700 1.1rem var(--font-h); }
.idea__txt small { color: var(--muted); font-size: .88rem; }
.idea__arrow { color: var(--gold-2); }

.confianza { display: grid; gap: 32px; }
.confianza__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.confianza__list li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; }
.confianza__list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgb(244 183 64 / .15); color: var(--gold); grid-row: span 2; }
.confianza__list b { color: #fff; display: block; }
@media (min-width: 900px) { .confianza { grid-template-columns: 1fr 1.3fr; align-items: center; } }

/* ---------- Tarjetas de alojamiento ---------- */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #efe6d4; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__noimg { display: grid; place-items: center; height: 100%; color: var(--line); }
.card__noimg .icon { width: 64px; height: 64px; }
.badge { position: absolute; top: 12px; left: 12px; background: rgb(0 29 61 / .85); color: #fff; font: 700 .75rem/1 var(--font-b); letter-spacing: .04em; padding: .5em .7em; border-radius: 8px; backdrop-filter: blur(4px); }
.badge--alt { left: auto; right: 12px; background: var(--gold); color: var(--night); }
.hotel-head .badge, .hcard .badge--alt { position: static; }
.badge--off { position: static; background: var(--red); }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; flex: 1; }
.card__loc { margin: 0; color: var(--muted); font-size: .9rem; display: flex; align-items: center; gap: .35em; flex-wrap: wrap; }
.card__loc .icon { color: var(--olive); }
.km { background: var(--sand); border: 1px solid var(--line); border-radius: 6px; padding: .05em .45em; font-weight: 700; color: var(--night); }
.card__title { margin: 0; font-size: 1.25rem; }
.card__title a { color: var(--night); text-decoration: none; }
.card__title a::after { content: ""; }
.card__text { margin: 0; color: var(--muted); font-size: .95rem; }
.card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card__foot .precio { margin-right: auto; }

.nota { display: inline-flex; align-items: center; gap: .55em; font-size: .9rem; color: var(--muted); }
.nota b { background: var(--night); color: #fff; font: 700 .95rem/1 var(--font-b); padding: .45em .5em; border-radius: 8px 8px 8px 2px; min-width: 2.4em; text-align: center; }
.nota span { line-height: 1.3; }
.nota b small { font-size: .72em; font-weight: 600; opacity: .8; margin-left: .05em; }
.precio { margin: 0; font: 700 1.3rem/1.1 var(--font-h); color: var(--night); }
.precio small { font: 400 .8rem var(--font-b); color: var(--muted); }

.servicios { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.servicios li { display: inline-flex; align-items: center; gap: .4em; font-size: .82rem; padding: .3em .65em; background: var(--sand); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.servicios .icon { color: var(--olive); width: 1.05em; height: 1.05em; }

/* Tarjeta horizontal (listados de comunidad) */
.hcard { display: grid; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid #efe6d4; margin: 1.6rem 0; }
.hcard__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sand); }
.hcard__media img { width: 100%; height: 100%; object-fit: cover; }
.hcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.hcard__title { margin: 0; font-size: 1.35rem; }
.hcard__title a { text-decoration: none; color: var(--night); }
.hcard__text { margin: 0; color: var(--muted); font-size: .97rem; }
.hcard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.hcard__more { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 12px 22px; }
.hcard__more[open] { background: var(--sand); padding-bottom: 6px; }
.hcard__more .hbt-proscons { margin: 14px 0 12px; }
.hcard__more summary { cursor: pointer; font-weight: 700; color: var(--night); list-style: none; display: inline-flex; align-items: center; gap: .4em; }
.hcard__more summary::-webkit-details-marker { display: none; }
.hcard__more[open] summary .icon { transform: rotate(180deg); }
.hcard--off { display: block; padding: 14px 18px; background: var(--sand); border-style: dashed; box-shadow: none; color: var(--muted); }
.hcard--off p { margin: 0; }
@media (min-width: 760px) {
	.hcard { grid-template-columns: minmax(240px, 38%) 1fr; }
	.hcard__media { aspect-ratio: auto; min-height: 100%; }
}

/* ---------- Páginas ---------- */

.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--night); min-height: 320px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 18 40 / .25), rgb(0 18 40 / .85)); }
.page-hero__in { padding: 48px 0 36px; }
.page-hero h1 { color: #fff; max-width: 24ch; margin: 0; }
.page-hero--plain { min-height: 0; background: var(--cream); color: var(--night); border-bottom: 1px solid var(--line); }
.page-hero--plain::after { display: none; }
.page-hero--plain h1 { color: var(--night); }

.migas ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: .2em .5em; font-size: .88rem; }
.migas li + li::before { content: "›"; margin-right: .5em; opacity: .7; }
.migas a { color: inherit; text-decoration: none; opacity: .85; }
.migas a:hover { opacity: 1; text-decoration: underline; }
.page-hero:not(.page-hero--plain) .migas { color: #e6ecf5; }

/* ---------- Texto editorial ---------- */

.prose { max-width: 860px; margin: 0 auto; padding: 40px 0 64px; }
.prose--home { padding: 0; }
.prose--legal { max-width: 760px; font-size: 1rem; }
.prose > * + h2 { margin-top: 2.2em; }
.prose h2 { padding-left: 14px; border-left: 4px solid var(--gold); }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--olive); }
.prose img { border-radius: var(--radius-sm); }
.prose iframe { max-width: 100%; border-radius: var(--radius-sm); }
.prose .servicios, .prose .ctas { padding-left: 0; }
.prose .card__title, .prose .hcard__title { margin-top: 0; }
.prose blockquote { margin: 1.5em 0; padding: 1em 1.3em; background: var(--sand); border-left: 4px solid var(--olive); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: .6em .8em; border-bottom: 1px solid var(--line); text-align: left; }
.tabla-scroll { overflow-x: auto; margin: 1.2rem 0 .4rem; }
.tabla-precios th[scope="row"] { font-weight: 700; color: var(--night); }
.tabla-precios thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tabla-precios td:nth-child(2), .tabla-precios td:nth-child(3) { white-space: nowrap; }
.tabla-nota { margin-top: 0; font-size: .85rem; color: var(--muted); }
.precios-resumen { padding: 16px 20px; border-left: 4px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--sand); font-size: 1.08rem; }

/* Pros y contras */
.hbt-proscons { display: grid; gap: 16px; margin: 1.8rem 0; }
@media (min-width: 700px) { .hbt-proscons { grid-template-columns: 1fr 1fr; } }
.hbt-proscons__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.hbt-proscons__title { margin: 0; padding: .7em 1em; font: 700 1rem var(--font-h); color: #fff; background: var(--olive); }
.hbt-proscons__col--cons .hbt-proscons__title { background: var(--red); }
.hbt-proscons .hbt-proscons__col ul { list-style: none; margin: 0; padding: 14px 18px 16px; display: grid; gap: 10px; }
.hbt-proscons .hbt-proscons__col li { position: relative; margin: 0; padding-left: 32px; font-size: .96rem; line-height: 1.45; }
.hbt-proscons li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgb(79 106 44 / .12); color: var(--olive); font-size: .75rem; font-weight: 700; }
.hbt-proscons__col--cons li::before { content: "✕"; background: rgb(181 72 63 / .12); color: var(--red); }

/* ---------- Ficha de alojamiento ---------- */

.hotel-head { padding: 28px 0 18px; background: linear-gradient(var(--cream), var(--paper)); }
.hotel-head h1 { margin-bottom: .35em; }
.hotel-head__loc { display: inline-flex; align-items: center; gap: .3em; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; font-size: .95rem; }
.hotel-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hotel-hero { margin: 0 auto 8px; }
.hotel-hero img { width: 100%; aspect-ratio: 16 / 9; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.hotel-layout { display: grid; gap: 32px; }
.hotel-main { padding-top: 24px; margin: 0; max-width: none; }
@media (min-width: 1000px) {
	.hotel-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
	.hotel-aside { position: sticky; top: calc(var(--header-h) + 20px); margin-top: 24px; }
	.hotel-layout--solo { grid-template-columns: minmax(0, 960px); justify-content: center; }
}
.card__loc .km { margin-left: auto; }
.reserva { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.reserva__t { margin: 0; font: 700 1.3rem/1.2 var(--font-h); color: var(--night); }
.reserva__ctas { display: grid; gap: 8px; }
.reserva__nota { margin: 0; font-size: .78rem; color: var(--muted); }

/* Selector de fechas de la ficha (lateral y, en móvil, junto a los botones del contenido) */
.fechas { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--sand); border: 1px solid var(--line); }
.fechas[hidden] { display: none; }
.fechas p { margin: 0; }
.fechas__t, .fechas__luna { display: flex; align-items: center; gap: .45em; font-weight: 700; color: var(--night); font-size: .92rem; }
.fechas__luna { font-size: .82rem; color: var(--muted); font-weight: 600; margin-top: 2px !important; }
.fechas .icon { width: 16px; height: 16px; flex: none; color: var(--olive); }
.fechas__campos { display: grid; grid-template-columns: 1fr 84px; gap: 8px; }
.fechas label { display: grid; gap: 3px; font-size: .75rem; font-weight: 600; color: var(--muted); }
.fechas input, .fechas select { width: 100%; min-height: 40px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--night); font: 600 .92rem/1.2 var(--font-b); }
.fechas input:focus, .fechas select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.fechas__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fechas__chip { padding: .45em .7em; border: 1px solid var(--night); border-radius: 999px; background: #fff; color: var(--night); font: 600 .8rem/1 var(--font-b); cursor: pointer; }
.fechas__chip:hover { background: var(--cream); }
.fechas__chip.is-on { background: var(--night); color: #fff; }
.fechas__nota { font-size: .75rem; color: var(--muted); }
.fechas--contenido { margin: 1.6rem 0 -0.6rem; max-width: 460px; }
@media (min-width: 1000px) { .hotel-main .fechas--contenido { display: none; } }
.bloque { margin-top: 2.4rem; }
.mapa { position: relative; aspect-ratio: 16 / 9; background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e8ddc8'/%3E%3C/svg%3E"); border: 1px solid var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; overflow: hidden; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cta-movil { display: none; }
@media (max-width: 999px) {
	.hotel-aside { display: none; }
	.cta-movil { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px rgb(0 29 61 / .12); }
	.cta-movil div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
	.cta-movil b { font-family: var(--font-h); color: var(--night); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.cta-movil span { font-size: .85rem; color: var(--muted); }
	.single-post .site-footer { padding-bottom: 96px; }
}

.aviso { background: #fff8e6; border: 2px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 2rem; }
.aviso__t { display: flex; align-items: center; gap: .5em; font: 700 1.2rem/1.3 var(--font-h); color: var(--night); margin-bottom: .4em; }
.aviso .grid { margin-top: 16px; }
.aviso .card__title { font-size: 1.1rem; }

/* Mapas (comunidad, portada, ficha y «cerca de»): MapLibre + OpenFreeMap, los pinta plugins/hbt-core/assets/mapa.js */
.hbt-mapa-wrap { position: relative; margin: 1.5rem 0; }
.hbt-mapa { position: relative; z-index: 0; height: min(68vh, 420px); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e8ddc8'/%3E%3C/svg%3E"); display: grid; place-items: center; }
.hbt-mapa.maplibregl-map { display: block; }
@media (min-width: 900px) { .hbt-mapa { height: min(540px, 75vh); } }
.hbt-mapa-wrap .hbt-mapa__carga { margin: 0; color: var(--muted); font-size: .95rem; }
.hbt-mapa-wrap.is-full { position: fixed; inset: 0; z-index: 1000; margin: 0; background: var(--paper); }
.hbt-mapa-wrap.is-full .hbt-mapa { height: 100%; border: 0; border-radius: 0; }
html.hbt-sin-scroll, html.hbt-sin-scroll body { overflow: hidden; }
.hbt-mapa__ctr { position: absolute; z-index: 2; top: 10px; right: 10px; display: flex; flex-wrap: wrap-reverse; justify-content: flex-end; gap: 8px; max-width: calc(100% - 64px); }
.hbt-mapa__btn { display: inline-flex; align-items: center; gap: .4em; padding: .6em .9em; border: 0; border-radius: 999px; background: #fff; color: var(--night); font: 700 .85rem/1 var(--font-b); box-shadow: 0 2px 8px rgb(0 29 61 / .25); cursor: pointer; }
.hbt-mapa__btn:hover { background: var(--cream); }
.hbt-mapa__btn svg { width: 16px; height: 16px; }
.hbt-mapa__btn--cerca { background: var(--gold); }
.hbt-mapa__btn--cerca:hover { background: var(--gold-2); }
.hbt-mapa__btn:disabled { cursor: wait; opacity: .8; }
@media (max-width: 480px) {
	.hbt-mapa__btn--icono { padding: .6em; }
	.hbt-mapa__btn--icono span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* Controles de MapLibre con la tipografía y los colores de la web */
.hbt-mapa .maplibregl-ctrl-group { border-radius: 10px; box-shadow: 0 2px 8px rgb(0 29 61 / .25); }
.hbt-mapa .maplibregl-ctrl-attrib { font: 400 .7rem/1.4 var(--font-b); }
.hbt-mapa .maplibregl-ctrl-attrib a { color: var(--muted); text-decoration: none; }
.hbt-mapa .maplibregl-cooperative-gesture-screen { font: 700 1.05rem/1.4 var(--font-b); }

/* Etiquetas sobre el mapa. Precio en azul noche con borde blanco: se distingue sobre cualquier color del mapa
   (bosque, agua, campo o ciudad). Dorado = seleccionado o grupo. Todas escalan desde su punto (transform-origin 0 0). */
.hbt-mk { width: 0; height: 0; }
.hbt-mk:hover { z-index: 7 !important; }
.hbt-pin { position: absolute; left: 0; top: 0; transform: translate(-50%, calc(-100% - 7px)); transform-origin: 0 0; display: inline-flex; align-items: center; justify-content: center; padding: .45em .7em; border: 2px solid #fff; border-radius: 999px; background: var(--night); color: #fff; font: 700 .82rem/1 var(--font-b); white-space: nowrap; box-shadow: 0 0 0 1px rgb(0 29 61 / .25), 0 3px 8px rgb(0 0 0 / .35); cursor: pointer; transition: background .15s, color .15s, scale .15s; animation: hbt-pin-entra .25s ease-out; }
.hbt-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 9px; height: 9px; background: inherit; border: 2px solid #fff; border-width: 0 2px 2px 0; transform: translate(-50%, -5.5px) rotate(45deg); }
.hbt-pin:hover, .hbt-pin:focus-visible { background: var(--night-2); scale: 1.06; }
.hbt-pin.is-on { background: var(--gold); color: var(--night); scale: 1.12; box-shadow: 0 0 0 1px rgb(0 29 61 / .4), 0 6px 16px rgb(0 0 0 / .4); }
@keyframes hbt-pin-entra { from { opacity: 0; scale: .6; } }
.hbt-pin--grupo { transform: translate(-50%, -50%); min-width: 38px; height: 38px; padding: 0 .55em; border-width: 3px; background: var(--gold); color: var(--night); font-size: .95rem; box-shadow: 0 0 0 5px rgb(244 183 64 / .35), 0 3px 10px rgb(0 0 0 / .35); }
.hbt-pin--grupo:hover, .hbt-pin--grupo:focus-visible { background: var(--gold-2); scale: 1.08; }
.hbt-pin--main { width: 40px; height: 40px; padding: 0; border-width: 3px; background: var(--night); color: var(--gold); box-shadow: 0 0 0 4px rgb(244 183 64 / .6), 0 4px 10px rgb(0 0 0 / .35); }
.hbt-pin--main svg { width: 22px; height: 22px; }
.hbt-pin--main:hover, .hbt-pin--main:focus-visible, .hbt-pin--main.is-on { background: var(--night-2); color: var(--gold); }
.hbt-pin--punto { width: 16px; height: 16px; padding: 0; transform: translate(-50%, -50%); border-width: 2.5px; }
.hbt-pin--punto.is-on { background: var(--gold); }
.hbt-pin--tu { width: 18px; height: 18px; padding: 0; transform: translate(-50%, -50%); cursor: default; border-width: 3px; background: #1a73e8; box-shadow: 0 0 0 7px rgb(26 115 232 / .22), 0 2px 6px rgb(0 0 0 / .3); }
.hbt-pin--tu:hover { background: #1a73e8; scale: 1; }
.hbt-pin--origen { transform: translate(-50%, -50%); cursor: default; padding: .38em .65em; background: var(--olive); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.hbt-pin--origen:hover { background: var(--olive); scale: 1; }
.hbt-pin--grupo::after, .hbt-pin--main::after, .hbt-pin--punto::after, .hbt-pin--tu::after, .hbt-pin--origen::after { display: none; }
@media (prefers-reduced-motion: reduce) { .hbt-pin { animation: none; transition: none; } }

/* Tarjeta del alojamiento pulsado */
.hbt-mapa-wrap .mapcard { position: absolute; z-index: 3; left: 10px; right: 10px; bottom: 36px; max-width: 460px; margin: 0 auto; display: flex; gap: 12px; padding: 10px 44px 10px 10px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgb(0 29 61 / .3); font-size: .9rem; line-height: 1.35; }
.hbt-mapa-wrap .mapcard[hidden] { display: none; }
.hbt-mapa-wrap .mapcard__img { flex: none; align-self: flex-start; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; background: var(--sand); }
.hbt-mapa-wrap .mapcard__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hbt-mapa-wrap .mapcard__body { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hbt-mapa-wrap .mapcard__t { margin: 0; font: 700 1.05rem/1.2 var(--font-h); color: var(--night); }
.hbt-mapa-wrap .mapcard__t a { color: inherit; text-decoration: none; }
.hbt-mapa-wrap .mapcard__t a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.hbt-mapa-wrap .mapcard__loc, .hbt-mapa-wrap .mapcard__nota { margin: 0; color: var(--muted); font-size: .82rem; }
.hbt-mapa-wrap .mapcard__nota b { display: inline-block; margin-right: .2em; padding: .2em .4em; border-radius: 6px 6px 6px 2px; background: var(--night); color: #fff; font-size: .8rem; }
.hbt-mapa-wrap .mapcard__precio { margin: 0; font-weight: 700; color: var(--night); }
.hbt-mapa-wrap .mapcard__precio small { font-weight: 400; color: var(--muted); font-size: .78rem; }
.hbt-mapa-wrap .mapcard__acc { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.hbt-mapa-wrap .mapcard__acc .btn { padding: .55em .9em; font-size: .85rem; box-shadow: none; }
.hbt-mapa-wrap .mapcard__x { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: var(--sand); color: var(--night); cursor: pointer; }
.hbt-mapa-wrap .mapcard__x svg { width: 16px; height: 16px; }
.hbt-mapa-wrap .mapcard__lista { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; max-height: 160px; overflow: auto; }
.hbt-mapa-wrap .mapcard__lista li { margin: 0; }
.hbt-mapa-wrap .mapcard__lista button { width: 100%; text-align: left; padding: .55em .7em; border: 0; border-radius: 8px; background: var(--sand); color: var(--night); font: 600 .88rem/1.3 var(--font-b); cursor: pointer; }
.hbt-mapa-wrap .mapcard__lista button:hover { background: var(--cream); }
.hbt-mapa-wrap .mapcard__lista b { display: block; }
.hbt-mapa-wrap .mapcard__lista small { display: block; color: var(--muted); font-size: .8rem; font-weight: 400; }
.hbt-mapa-wrap .mapcard--lista .mapcard__lista { max-height: 210px; }
.hbt-mapa-wrap .mapcard__volver { align-self: flex-start; margin-bottom: 2px; padding: 0; border: 0; background: none; color: var(--night); font: 700 .8rem/1.3 var(--font-b); text-decoration: underline dotted var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 420px) {
	.hbt-mapa-wrap .mapcard { gap: 10px; padding-right: 40px; }
	.hbt-mapa-wrap .mapcard__img { width: 76px; height: 76px; }
}
.enmapa { padding: 0; border: 0; background: none; color: var(--night); font: 700 .85rem/1.4 var(--font-b); text-decoration: underline dotted var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.enmapa:hover { color: var(--night-2); text-decoration-style: solid; }
.mapa__nota { margin: .6rem 0 0; font-size: .88rem; color: var(--muted); }
.hbt-galeria { margin: 0; }
.hbt-galeria__pie { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.guias { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 1rem 0 0; }
.guias a { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; font-size: .95rem; }

/* Shortcodes Ultimate: carrusel dentro de la ficha */
.prose .su-image-carousel { margin: 1.5rem 0; }

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

.site-footer { background: var(--night); color: #c9d3e2; font-size: .95rem; }
.site-footer a { color: #f2e9d7; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 36px; padding: 56px 0 32px; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.2fr 2fr 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
.site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.site-footer__t { font: 700 .8rem/1 var(--font-b); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.brand--footer { display: inline-block; background: var(--cream); border-radius: 14px; padding: 6px 10px; margin-bottom: 1rem; }
.brand__logo--footer { height: 64px; }
.site-footer__legal { border-top: 1px solid rgb(255 255 255 / .12); padding: 18px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem; color: #9fb0c8; }
.site-footer__legal p { margin: 0; display: flex; gap: .5em; max-width: 80ch; }

/* ---------- Varios ---------- */

.search-form { display: flex; gap: 8px; margin: 1rem 0 2rem; }
.search-form input[type="search"] { flex: 1; font: inherit; padding: .7em 1em; border: 1px solid var(--line); border-radius: 10px; }
.search-form input[type="submit"] { font: 700 1rem var(--font-b); background: var(--gold); color: var(--night); border: 0; border-radius: 10px; padding: .7em 1.2em; cursor: pointer; }
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.nav-links .page-numbers { padding: .5em .9em; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.nav-links .current { background: var(--night); color: #fff; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Aviso de cookies (inc/consentimiento.php): mismo peso para «Refuser» y «Accepter» (CNIL) */
.cookies { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin-left: auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgb(10 20 40 / .25); padding: 18px 20px; font-size: .92rem; line-height: 1.5; }
.cookies[hidden] { display: none; }
.cookies:focus { outline: none; }
.cookies p { margin: 0 0 10px; }
.cookies__t { font-family: var(--font-h); font-weight: 700; font-size: 1.05rem; }
.cookies a { text-decoration: underline; }
.cookies__btns { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.cookies__btns .btn { flex: 1 1 0; justify-content: center; }
