/* ==========================================================================
   GESCAV Media Estancia — estilos
   Colores de marca de gescav.com: azul #253859 y coral #ff6769.
   Cambia las variables de :root para ajustar la identidad.
   ========================================================================== */

:root {
	--c-bg: #f7f5f0;
	--c-surface: #ffffff;
	--c-soft: #efebe3;
	--c-line: #e2ddd2;
	--c-text: #1b2032;
	--c-muted: #5c6770;
	--c-navy: #253859;
	--c-navy-deep: #1b2032;
	--c-coral: #ff6769;
	--c-coral-hover: #f45457;
	--c-ok: #2f7a55;
	--c-ok-bg: #e6f2ea;
	--c-warn: #8a5a00;
	--c-warn-bg: #fbf0d9;
	--c-error: #b32d2e;
	--c-error-bg: #fbe9e9;

	--font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
	--font-body: 'General Sans', 'Segoe UI', system-ui, sans-serif;

	--text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
	--text-sm: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
	--text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
	--text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
	--text-xl: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
	--text-2xl: clamp(2.125rem, 1.4rem + 3vw, 3.75rem);

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--space-16: 4rem;
	--section: clamp(3.5rem, 7vw, 6.5rem);

	--radius-sm: 6px;
	--radius: 12px;
	--radius-lg: 20px;
	--shadow-sm: 0 1px 2px rgba(27, 32, 50, 0.06), 0 1px 3px rgba(27, 32, 50, 0.05);
	--shadow: 0 10px 30px -12px rgba(27, 32, 50, 0.18);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--container: 1200px;
	--header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-navy-deep); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--c-navy-deep); }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(255, 103, 105, 0.25); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--c-navy-deep); color: #fff; padding: 0.5rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }
.icon { flex: none; }

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 48px; padding: 0.75rem 1.4rem;
	border: 1px solid transparent; border-radius: 999px;
	font-weight: 600; font-size: var(--text-sm); letter-spacing: 0.01em;
	text-decoration: none; cursor: pointer;
	transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-coral); color: var(--c-navy-deep); }
.btn-primary:hover { background: var(--c-coral-hover); color: var(--c-navy-deep); }
.btn-ghost { border-color: var(--c-navy); color: var(--c-navy); background: transparent; }
.btn-ghost:hover { background: var(--c-navy); color: #fff; }
.btn-light { background: rgba(255, 255, 255, 0.94); color: var(--c-navy-deep); border-color: var(--c-line); }
.btn-light:hover { background: #fff; }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Cabecera ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 245, 240, 0.92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: var(--header-h); }
.brand .custom-logo { max-height: 44px; width: auto; }
.brand-text { display: flex; align-items: baseline; gap: 0.5rem; text-decoration: none; color: var(--c-navy-deep); }
.brand-main { font-weight: 600; font-size: 1.125rem; letter-spacing: 0.12em; }
.brand-sub { font-family: var(--font-display); font-size: 1.0625rem; color: var(--c-muted); }
.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav .menu { display: flex; gap: var(--space-6); }
.site-nav .menu a { color: var(--c-text); text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding: 0.5rem 0; }
.site-nav .menu a:hover, .site-nav .menu .current-menu-item > a { color: var(--c-navy); text-decoration: underline; }
.lang-switch { display: flex; gap: 2px; border: 1px solid var(--c-line); border-radius: 999px; padding: 2px; }
.lang-switch a { display: block; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: var(--text-xs); font-weight: 600; text-decoration: none; color: var(--c-muted); }
.lang-switch a[aria-current] { background: var(--c-navy); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--c-navy-deep); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle-close { display: none; }

@media (max-width: 899px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: var(--space-4);
		padding: var(--space-6) clamp(1.25rem, 4vw, 2.5rem) var(--space-8);
		background: var(--c-bg); border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { opacity: 1; transform: none; visibility: visible; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { display: block; padding: 0.85rem 0; font-size: var(--text-base); border-bottom: 1px solid var(--c-line); }
	.lang-switch { align-self: flex-start; }
}

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section-top { padding-top: clamp(2rem, 5vw, 4rem); }
.section-soft { background: var(--c-soft); }
.section-dark { background: var(--c-navy); color: #e7ebf3; }
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-head { display: grid; gap: var(--space-3); margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); letter-spacing: -0.01em; }
.page-title { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }
.section-lead { color: var(--c-muted); max-width: 60ch; }
.section-dark .section-lead { color: #c9d1e0; }
.kicker { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-navy); }
.kicker .icon { width: 16px; height: 16px; }
.empty { color: var(--c-muted); }

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); }
@media (min-width: 960px) {
	.split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
	.split-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.split-aside { display: grid; gap: var(--space-4); align-content: start; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(72vh, 680px); } }
.hero-copy { display: grid; gap: var(--space-5); align-content: center; }
.hero-title { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
.hero-text { font-size: var(--text-lg); color: var(--c-muted); max-width: 44ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-soft); aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .hero-media { aspect-ratio: auto; height: 100%; min-height: 520px; } }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.audience { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); margin-top: clamp(2rem, 4vw, 3rem); padding-top: var(--space-6); border-top: 1px solid var(--c-line); }
.audience li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--text-sm); font-weight: 500; }
.audience .icon { color: var(--c-coral); stroke-width: 2.2; }

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 960px) {
	.cards-featured { grid-template-columns: repeat(6, 1fr); }
	.cards-featured > .card { grid-column: span 2; }
	.cards-featured > .card:nth-child(5n + 1), .cards-featured > .card:nth-child(5n + 2) { grid-column: span 3; }
	.cards-featured > .card:nth-child(5n + 1) .card-media, .cards-featured > .card:nth-child(5n + 2) .card-media { aspect-ratio: 16 / 10; }
	/* Si la última fila queda con 2 tarjetas pequeñas (4, 9… viviendas), se reparten a media anchura. */
	.cards-featured > .card:nth-child(5n + 3):nth-last-child(2), .cards-featured > .card:nth-child(5n + 4):last-child { grid-column: span 3; }
	.cards-featured > .card:nth-child(5n + 3):nth-last-child(2) .card-media, .cards-featured > .card:nth-child(5n + 4):last-child .card-media { aspect-ratio: 16 / 10; }
	/* Si queda una sola tarjeta en la última fila (3, 8… viviendas), se centra. */
	.cards-featured > .card:nth-child(5n + 3):last-child { grid-column: 3 / span 2; }
}
.card { display: flex; flex-direction: column; background: var(--c-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { display: grid; gap: var(--space-3); padding: var(--space-5) var(--space-5) var(--space-6); flex: 1; align-content: start; }
.card-zone { display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted); }
.card-zone .icon { width: 15px; height: 15px; }
.card-title { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); line-height: 1.3; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-top: auto; padding-top: var(--space-4); border-top: 1px solid var(--c-line); }
.card-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.35rem; font-size: var(--text-sm); font-weight: 600; text-decoration: none; color: var(--c-navy); }
.card-link .icon { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.card:hover .card-link .icon { transform: translateX(3px); }

.badge { display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border-radius: 999px; font-size: var(--text-xs); font-weight: 600; background: var(--c-ok-bg); color: var(--c-ok); }
.card-media .badge { position: absolute; top: var(--space-3); left: var(--space-3); box-shadow: var(--shadow-sm); }
.badge-proximamente { background: var(--c-warn-bg); color: var(--c-warn); }
.badge-reservada { background: #e9ebef; color: var(--c-muted); }

.price { display: flex; align-items: baseline; gap: 0.15rem; font-variant-numeric: tabular-nums; }
.price-amount { font-family: var(--font-display); font-size: 1.5rem; color: var(--c-navy-deep); line-height: 1; }
.price-unit { font-size: var(--text-sm); color: var(--c-muted); }
.price-lg .price-amount { font-size: 2.25rem; }

.specs-inline { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); font-size: var(--text-sm); color: var(--c-muted); }
.specs-inline li { display: inline-flex; align-items: center; gap: 0.35rem; }
.specs-inline .icon { width: 17px; height: 17px; }

/* ---------- Pasos ---------- */
.steps { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.step { display: grid; gap: var(--space-3); align-content: start; padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, 0.2); }
.step-num { font-family: var(--font-display); font-size: 2.25rem; color: var(--c-coral); line-height: 1; }
.step-title { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); }
.step p { color: #c9d1e0; font-size: var(--text-sm); }

/* ---------- Condiciones ---------- */
.conditions { display: grid; gap: var(--space-6); }
.conditions-intro { color: var(--c-muted); }
.conditions-list { display: grid; border-top: 1px solid var(--c-line); }
.condition { display: grid; gap: var(--space-1) var(--space-6); padding: var(--space-5) 0; border-bottom: 1px solid var(--c-line); }
@media (min-width: 640px) { .condition { grid-template-columns: 200px 1fr; } }
.condition dt { font-weight: 600; color: var(--c-navy-deep); }
.condition dd { color: var(--c-muted); }
.conditions-extra { padding: var(--space-5); background: var(--c-warn-bg); border-radius: var(--radius); }
.conditions-extra h3, .conditions-extra h4 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-2); }
.conditions-extra li { position: relative; padding-left: 1rem; color: var(--c-text); }
.conditions-extra li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-warn); }

/* ---------- Formulario ---------- */
.form-card { background: var(--c-surface); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.request-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.request-form > .btn, .request-form > .notice, .field-full { grid-column: 1 / -1; }
.request-form.is-compact { gap: var(--space-3); }
@media (max-width: 420px) { .request-form { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.35rem; min-width: 0; }
.field label { font-size: var(--text-sm); font-weight: 500; }
.req { color: var(--c-error); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 46px; padding: 0.65rem 0.8rem;
	background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius-sm);
	font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c8c1b2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-navy); background: #fff; box-shadow: 0 0 0 3px rgba(37, 56, 89, 0.15); }
.was-validated .field :invalid { border-color: var(--c-error); }
.field-hint { font-size: var(--text-xs); color: var(--c-muted); min-height: 0; margin-top: -0.25rem; }
.field-hint:empty { display: none; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--text-sm); }
.check input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--c-navy); flex: none; }
.legal-note { font-size: var(--text-xs); color: var(--c-muted); line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 0.6rem; align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-sm); font-size: var(--text-sm); }
.notice .icon { margin-top: 2px; }
.notice-ok { background: var(--c-ok-bg); color: var(--c-ok); }
.notice-error { background: var(--c-error-bg); color: var(--c-error); }
.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--c-navy-deep); border-right-color: transparent; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.contact-list { display: grid; gap: var(--space-3); margin-top: var(--space-2); }
.contact-list a { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Ficha ---------- */
.property { padding-top: var(--space-6); padding-bottom: var(--section); }
.breadcrumbs { display: flex; gap: 0.5rem; font-size: var(--text-xs); color: var(--c-muted); margin-bottom: var(--space-4); }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-navy); text-decoration: underline; }
.property-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.property-head > div { display: grid; gap: var(--space-2); }
.property-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); letter-spacing: -0.02em; text-wrap: balance; }

.gallery { position: relative; display: grid; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: 1fr; }
.gallery-item { display: block; overflow: hidden; background: var(--c-soft); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.2s; }
.gallery-item:hover img { transform: scale(1.02); opacity: 0.94; }
.gallery-item:not(:first-child) { display: none; }
@media (min-width: 720px) {
	.gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(360px, 46vw, 540px); }
	.gallery-item { aspect-ratio: auto; display: block !important; }
	.gallery-item:first-child { grid-row: span 2; }
	.gallery-count-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
	.gallery-count-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
	.gallery-count-2 .gallery-item:first-child { grid-row: auto; }
	.gallery-count-3 { grid-template-columns: 2fr 1fr; }
	.gallery-count-4 .gallery-item:nth-child(4) { grid-column: span 2; }
}
.gallery-all { position: absolute; right: var(--space-4); bottom: var(--space-4); }

.property-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 1024px) {
	.property-layout { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; }
}
.property-main { display: grid; gap: clamp(2rem, 4vw, 3rem); align-content: start; min-width: 0; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); }
.specs-grid li { display: grid; gap: 0.15rem; padding: var(--space-4) var(--space-5); border-right: 1px solid var(--c-line); }
.specs-grid li:last-child { border-right: 0; }
.specs-grid .icon { color: var(--c-navy); margin-bottom: var(--space-2); }
.spec-label { font-size: var(--text-xs); color: var(--c-muted); }
.spec-value { font-weight: 600; }
@media (max-width: 560px) { .specs-grid { grid-template-columns: 1fr 1fr; } .specs-grid li:nth-child(2n) { border-right: 0; } .specs-grid li:nth-child(-n + 2) { border-bottom: 1px solid var(--c-line); } }
.highlights { display: grid; gap: var(--space-3); }
.highlights li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; }
.highlights .icon { color: var(--c-coral); stroke-width: 2.2; margin-top: 2px; }
.property-section { display: grid; gap: var(--space-5); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--c-line); }
.block-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-3) var(--space-6); }
.amenities li { display: flex; gap: 0.6rem; align-items: center; }
.amenities .icon { color: var(--c-ok); }
.map { border-radius: var(--radius); overflow: hidden; background: var(--c-soft); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-note, .registry { font-size: var(--text-xs); color: var(--c-muted); }

.booking-card { display: grid; gap: var(--space-4); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow); }
.price-note { font-size: var(--text-sm); color: var(--c-muted); margin-top: calc(var(--space-3) * -1); }
.booking-facts { display: grid; gap: var(--space-2); padding: var(--space-4) 0; border-block: 1px solid var(--c-line); font-size: var(--text-sm); }
.booking-facts li { display: flex; gap: 0.6rem; align-items: center; }
.booking-facts .icon { color: var(--c-navy); width: 18px; height: 18px; }
.booking-title { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); }

.mobile-cta { display: none; }
@media (max-width: 1023px) {
	.mobile-cta {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
		padding: var(--space-3) clamp(1.25rem, 4vw, 2.5rem) calc(var(--space-3) + env(safe-area-inset-bottom));
		background: var(--c-surface); border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px -10px rgba(27, 32, 50, 0.2);
		transition: transform 0.3s var(--ease);
	}
	.mobile-cta.is-hidden { transform: translateY(110%); }
	.has-mobile-cta .site-footer { padding-bottom: 88px; }
}

/* ---------- Visor ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 18, 28, 0.96); color: #fff; }
.lightbox::backdrop { background: rgba(15, 18, 28, 0.96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-5); font-size: var(--text-sm); }
.lightbox-close, .lightbox-nav { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-stage { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-4); padding: 0 var(--space-4) var(--space-6); min-height: 0; }
.lightbox-figure { margin: 0; display: grid; place-items: center; height: 100%; min-height: 0; gap: var(--space-2); }
.lightbox-figure img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-figure figcaption { font-size: var(--text-sm); color: #c9d1e0; }
.lightbox-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox-stage { grid-template-columns: 1fr; padding-inline: 0; } .lightbox-nav { position: absolute; bottom: var(--space-5); } .lightbox-prev { left: var(--space-5); } .lightbox-next { right: var(--space-5); } }

/* ---------- Contenido libre ---------- */
.prose-wrap { max-width: 780px; display: grid; gap: var(--space-6); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-xl); margin-top: 1.6em; }
.prose h3 { font-size: var(--text-lg); margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose details { border-bottom: 1px solid var(--c-line); padding: var(--space-4) 0; }
.prose summary { cursor: pointer; font-weight: 600; }
.alignwide { max-width: none; }

/* ---------- Pie ---------- */
.site-footer { background: var(--c-navy-deep); color: #c9d1e0; padding-top: var(--space-16); font-size: var(--text-sm); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: var(--space-10); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-bottom: var(--space-12); }
.footer-title { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: var(--space-3); }
.footer-text { max-width: 36ch; }
.footer-label { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: #8d97ab; margin-bottom: var(--space-4); }
.site-footer ul { display: grid; gap: var(--space-3); }
.site-footer li a { display: inline-flex; align-items: center; gap: 0.5rem; }
.site-footer .icon { width: 18px; height: 18px; }
.footer-bottom { padding-block: var(--space-6); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: var(--text-xs); color: #8d97ab; }
@media (min-width: 1024px) and (min-height: 1080px) {
	.property-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
