/* ==========================================================================
   GCH Brisa · sistema de diseño
   Estilo: minimalismo cálido (UI UX Pro Max · variance 4 · motion 3 · density 3)
   Contraste comprobado (WCAG AA): tinta/arena 10.3:1 · texto suave/arena 6.1:1 ·
   teja/arena 5.8:1 · blanco/tinta 11.6:1 · sol/tinta 6.2:1
   ========================================================================== */

:root {
	/* Color */
	--c-ink: #173E43;        /* Atlántico: texto, botones primarios */
	--c-ink-2: #0F2C30;      /* hover */
	--c-ink-3: #24555B;
	--c-sand: #F4F1E9;       /* Arena: fondo */
	--c-shell: #FBF9F4;      /* Concha: superficies */
	--c-white: #FFFFFF;
	--c-sage: #DCE3DA;       /* Salvia: secciones de ubicación */
	--c-line: #E2DDCF;
	--c-line-2: #CFC8B6;
	--c-muted: #4E5D5A;      /* texto secundario */
	--c-teja: #8A4F1E;       /* acento: antetítulos */
	--c-sun: #E9B27A;        /* acento sobre fondos oscuros */
	--c-ok: #2E7D5B;
	--c-error: #A3261B;
	--c-error-bg: #FBEAE7;

	/* Tipografía */
	--f-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--f-body: "Karla", "Helvetica Neue", Arial, sans-serif;
	--fs-xs: .8125rem;   /* 13 */
	--fs-sm: .9375rem;   /* 15 */
	--fs-base: 1.0625rem;/* 17 */
	--fs-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
	--fs-h4: 1.1875rem;
	--fs-h3: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
	--fs-h2: clamp(2rem, 1.55rem + 2vw, 3.25rem);
	--fs-h1: clamp(2.5rem, 1.8rem + 3.4vw, 4.5rem);
	--fs-display: clamp(2.75rem, 1.6rem + 5.2vw, 6rem);

	/* Espacio (escala amplia) */
	--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;
	--s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
	--section: clamp(64px, 5vw + 40px, 128px);
	--gutter: clamp(20px, 4vw, 48px);
	--maxw: 1240px;

	/* Forma */
	--r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(23,62,67,.06), 0 2px 8px rgba(23,62,67,.05);
	--shadow-md: 0 10px 30px -10px rgba(23,62,67,.25);
	--shadow-lg: 0 30px 60px -20px rgba(15,44,48,.35);

	/* Movimiento */
	--ease: cubic-bezier(.2,.7,.2,1);
	--t-fast: 160ms; --t-med: 260ms; --t-slow: 420ms;

	--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) + 64px); }
body { margin: 0; background: var(--c-sand); color: var(--c-ink); font: 400 var(--fs-base)/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol { padding: 0; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-teja); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--c-ink); color: var(--c-white); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--c-ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 760px; }
.narrow-left { max-width: 720px; margin-bottom: var(--s-7); }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-sm); }

/* ---------- Tipografía ---------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--f-display); letter-spacing: -.015em; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: .98; font-weight: 500; }
.display em, .h1 em, .h2 em { font-style: italic; font-weight: 400; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.06; margin-bottom: var(--s-5); }
.h3 { font-size: var(--fs-h3); line-height: 1.15; margin-bottom: var(--s-3); }
.h4 { font-family: var(--f-body); font-size: var(--fs-h4); font-weight: 700; letter-spacing: 0; line-height: 1.3; margin-bottom: var(--s-3); display: flex; align-items: center; gap: 10px; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-muted); max-width: 44ch; }
.eyebrow { font: 700 var(--fs-xs)/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--c-teja); margin: 0 0 var(--s-4); }
.eyebrow--light { color: var(--c-sun); }
.prose { max-width: 62ch; }
.prose p { margin: 0 0 1em; }
.prose--lg { font-size: var(--fs-lead); line-height: 1.6; }
.prose a { color: var(--c-ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- Botones ---------- */
.btn { --bg: var(--c-ink); --fg: var(--c-white); --bd: var(--c-ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill);
	background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); font: 700 var(--fs-sm)/1.2 var(--f-body); letter-spacing: .02em; text-decoration: none; cursor: pointer;
	transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.btn .ic { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary:hover { --bg: var(--c-ink-2); --bd: var(--c-ink-2); box-shadow: var(--shadow-md); }
.btn--secondary { --bg: transparent; --fg: var(--c-ink); --bd: var(--c-ink); }
.btn--secondary:hover { --bg: var(--c-ink); --fg: var(--c-white); }
.btn--light { --bg: var(--c-white); --fg: var(--c-ink); --bd: var(--c-white); }
.btn--light:hover { --bg: var(--c-sand); --bd: var(--c-sand); }
.btn--ghost-light { --bg: rgba(255,255,255,.08); --fg: var(--c-white); --bd: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { --bg: var(--c-white); --fg: var(--c-ink); --bd: var(--c-white); }
.btn--link { --bg: transparent; --fg: var(--c-ink); --bd: transparent; padding: 0 2px; min-height: 44px; border-radius: 4px; border-width: 0; border-bottom: 1.5px solid var(--c-ink); border-radius: 0; }
.btn--link:hover { --fg: var(--c-teja); border-bottom-color: var(--c-teja); }
.btn--sm { min-height: 42px; padding: 0 18px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; margin-top: var(--s-6); }

/* ---------- Barras de vista previa ---------- */
.preview-bar { background: var(--c-teja); color: #fff; font-size: var(--fs-sm); padding: 10px var(--gutter); text-align: center; display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.preview-bar a { color: #fff; font-weight: 700; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244,241,233,.94); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--t-med), box-shadow var(--t-med); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 6px 20px -16px rgba(23,62,67,.4); }
.site-header__in { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; min-height: 44px; }
.logo { height: 38px; width: auto; }
.logo--invert { filter: brightness(0) invert(1); }
.logo-text { font-family: var(--f-display); font-size: 1.35rem; }
.nav { margin-left: auto; display: none; }
.nav__list { list-style: none; display: flex; gap: 4px; }
.nav__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); transition: background var(--t-fast); }
.nav__list a:hover { background: rgba(23,62,67,.07); }
.nav__list a[aria-current="page"] { background: var(--c-ink); color: #fff; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.site-header__actions .btn { min-height: 44px; padding: 0 18px; display: none; }
.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--c-line-2); background: transparent; cursor: pointer; transition: background var(--t-fast); }
.menu-toggle:hover { background: rgba(23,62,67,.07); }
.menu-toggle .ic { width: 22px; height: 22px; }
@media (min-width: 640px) { .site-header__actions .btn { display: inline-flex; } }
@media (min-width: 1080px) {
	.nav { display: block; }
	.site-header__actions { margin-left: var(--s-3); }
	.menu-toggle { display: none; }
}

/* Menú móvil */
.mnav { position: fixed; inset: 0; z-index: 60; background: rgba(15,44,48,.35); }
.mnav[hidden] { display: none; }
.mnav__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--c-sand); display: flex; flex-direction: column; padding: 0 var(--gutter) var(--s-6); overflow-y: auto; animation: slideIn var(--t-med) var(--ease); }
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.mnav__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.mnav__list { list-style: none; border-top: 1px solid var(--c-line); margin-top: var(--s-3); }
.mnav__list a { display: flex; justify-content: space-between; align-items: center; min-height: 60px; border-bottom: 1px solid var(--c-line); font: 500 1.5rem/1.2 var(--f-display); text-decoration: none; }
.mnav__list a[aria-current="page"] { color: var(--c-teja); }
.mnav__list .ic { width: 20px; height: 20px; color: var(--c-muted); }
.mnav__foot { margin-top: auto; padding-top: var(--s-6); display: grid; gap: var(--s-3); }
.mnav__contact { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ---------- Portada ---------- */
.hero { position: relative; isolation: isolate; color: var(--c-white); min-height: min(92svh, 860px); display: flex; align-items: flex-end; background: var(--c-ink); }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroIn 1.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.1); opacity: .6; } to { transform: scale(1.04); opacity: 1; } }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(32deg, rgba(10,32,35,.94) 0%, rgba(12,38,41,.82) 26%, rgba(15,44,48,.48) 48%, rgba(15,44,48,.08) 70%, rgba(15,44,48,0) 82%), linear-gradient(180deg, rgba(15,44,48,.28) 0%, rgba(15,44,48,0) 22%); }
@media (max-width: 700px) { .hero__media::after { background: linear-gradient(20deg, rgba(10,32,35,.95) 0%, rgba(12,38,41,.85) 38%, rgba(15,44,48,.5) 62%, rgba(15,44,48,.12) 85%), linear-gradient(180deg, rgba(15,44,48,.3) 0%, rgba(15,44,48,0) 25%); } }
.hero__in { padding-block: var(--s-9) clamp(48px, 8vw, 112px); }
.hero__text { max-width: 760px; }
.hero__lead { font-size: var(--fs-lead); max-width: 40ch; margin-top: var(--s-5); color: rgba(255,255,255,.92); }
.hero .display { text-shadow: 0 2px 30px rgba(0,0,0,.18); }

.hero-bar { position: relative; z-index: 2; }
.hero-bar__in { display: grid; gap: var(--s-5); padding-block: var(--s-6); }
.hero-bar__name { font: 500 1.6rem/1.2 var(--f-display); margin: 0 0 var(--s-3); }
.hero-bar__name span { display: block; font: 600 var(--fs-sm)/1.4 var(--f-body); color: var(--c-muted); margin-top: 4px; }
@media (min-width: 1024px) {
	.hero-bar__in { grid-template-columns: 1fr minmax(0, 1.25fr); align-items: center; padding-block: 0; margin-top: -56px; }
	.hero-bar__facts { padding-top: 80px; }
	.hero-bar .qs--card { box-shadow: var(--shadow-lg); }
}

/* Datos clave */
.facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.facts__item { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.facts__item .ic { grid-row: span 2; width: 26px; height: 26px; color: var(--c-teja); stroke-width: 1.5; }
.facts__value { font: 500 1.375rem/1.1 var(--f-display); }
.facts__label { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); font-weight: 700; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts--bar { background: var(--c-shell); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); margin-top: var(--s-7); }
.facts--compact { margin: var(--s-4) 0 var(--s-5); }
.facts--compact .facts__value { font-size: 1.2rem; }

/* Buscador rápido */
.qs { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); }
.qs__title { display: flex; align-items: center; gap: 10px; font-weight: 700; margin: 0 0 var(--s-4); }
.qs__title .ic { color: var(--c-teja); }
.qs__fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--s-3); align-items: end; }
.qs__fields .fld--guests { grid-column: span 2; }
.qs__submit { grid-column: span 2; }
@media (min-width: 640px) {
	.qs__fields { grid-template-columns: minmax(150px,1fr) minmax(150px,1fr) minmax(84px,.6fr) auto; }
	.qs__fields .fld--guests, .qs__submit { grid-column: auto; }
}
.qs__note { margin: var(--s-3) 0 0; font-size: var(--fs-xs); color: var(--c-muted); }
.qs--on-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.qs--on-dark .qs__title .ic { color: var(--c-sun); }
.qs--on-dark .qs__note { color: rgba(255,255,255,.8); }
.qs--on-dark label { color: rgba(255,255,255,.88); }
.qs--on-dark input, .qs--on-dark select { background-color: var(--c-white); color: var(--c-ink); }
.qs--on-dark .btn--primary { --bg: var(--c-sun); --bd: var(--c-sun); --fg: #2B1606; }
.qs--on-dark .btn--primary:hover { --bg: #F2C796; --bd: #F2C796; }

/* ---------- Formularios ---------- */
.fld { display: grid; gap: 6px; min-width: 0; }
.fld label { font-size: var(--fs-sm); font-weight: 700; }
.fld input, .fld select, .fld textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--c-line-2); border-radius: var(--r-sm); background: var(--c-white); font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast); appearance: none; -webkit-appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23173E43' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.fld input[type="date"] { min-height: 50px; padding-inline: 10px; font-size: .95rem; }
.qs { padding: var(--s-5) clamp(16px, 2vw, 24px); }
.fld textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.fld input:hover, .fld select:hover, .fld textarea:hover { border-color: var(--c-muted); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(23,62,67,.18); }
.fld__help { margin: 0; font-size: var(--fs-xs); color: var(--c-muted); }
.fld__error { margin: 0; display: flex; gap: 6px; align-items: flex-start; color: var(--c-error); font-size: var(--fs-sm); font-weight: 600; }
.fld__error .ic { width: 18px; height: 18px; margin-top: 2px; }
.fld.has-error input, .fld.has-error select, .fld.has-error textarea { border-color: var(--c-error); background: #FFFBFA; }
.req { color: var(--c-error); }
.opt { font-weight: 400; color: var(--c-muted); }
.form { display: grid; gap: var(--s-5); margin-top: var(--s-5); }
.form__group { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.form__group legend { font: 500 1.25rem/1.2 var(--f-display); margin-bottom: var(--s-3); padding: 0; }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1fr 1fr .8fr; } }
.form__nights { margin: 0; font-weight: 700; color: var(--c-ok); display: flex; gap: 8px; align-items: center; }
.form__foot { margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: var(--fs-sm); line-height: 1.5; }
.fld .check input { -webkit-appearance: checkbox; appearance: auto; width: 22px; height: 22px; min-height: 0; padding: 0; margin: 1px 0 0; accent-color: var(--c-ink); flex: none; }
.fld--check.has-error .check { color: var(--c-error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; align-items: flex-start; border-radius: var(--r-md); padding: var(--s-5); margin-top: var(--s-5); }
.alert .ic { width: 26px; height: 26px; margin-top: 2px; }
.alert p { margin: 0; }
.alert__title { font-weight: 700; font-size: 1.1rem; margin-bottom: 4px !important; }
.alert--ok { background: #E3F1E8; color: #1F5A40; }
.alert--error { background: var(--c-error-bg); color: var(--c-error); }
.is-loading [data-submit] { opacity: .7; pointer-events: none; }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-top: var(--s-6); }
.section--shell { background: var(--c-shell); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-4) var(--s-6); margin-bottom: var(--s-7); }
.section-head .h2 { margin-bottom: 0; }
.section-head__aside { margin: 0; color: var(--c-muted); }
.split { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) {
	.split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); }
	.split--reverse > :first-child { order: 2; }
}
.split__text .btn--link { margin-top: var(--s-3); }
.framed { position: relative; margin: 0; }
.framed { padding: 0 18px 18px 0; }
.framed__img, .framed > img { position: relative; }
.framed img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); box-shadow: 18px 18px 0 -1.5px var(--c-sand), 18px 18px 0 0 var(--c-line-2); }
.section--shell .framed img { box-shadow: 18px 18px 0 -1.5px var(--c-shell), 18px 18px 0 0 var(--c-line-2); }
.location .framed img { box-shadow: 18px 18px 0 -1.5px var(--c-sage), 18px 18px 0 0 var(--c-line-2); }
.framed figcaption { margin-top: calc(18px + var(--s-4)); font: italic 400 1.05rem/1.45 var(--f-display); color: var(--c-muted); }
.intro .framed { max-width: 520px; justify-self: end; }

/* Mosaico de la portada */
.mosaic { display: grid; gap: var(--s-3); grid-template-columns: repeat(2, 1fr); }
.mosaic .ph:first-child { grid-column: span 2; }
@media (min-width: 900px) {
	.mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(160px, 17vw, 240px); gap: var(--s-4); }
	.mosaic .ph:first-child { grid-column: span 2; grid-row: span 2; }
	.mosaic--3 .ph:first-child { grid-column: span 2; }
	.mosaic--3 .ph { grid-column: span 2; }
	.mosaic .ph, .mosaic .ph__link, .mosaic .ph img { height: 100%; }
	.mosaic .ph img { aspect-ratio: auto; }
}

/* Fotografía ampliable */
.ph { margin: 0; position: relative; }
.ph__link { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--c-line); }
.ph img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.ph__link:hover img { transform: scale(1.035); }
.ph__zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--c-ink); opacity: 0; transform: translateY(4px); transition: opacity var(--t-med), transform var(--t-med); }
.ph__zoom .ic { width: 18px; height: 18px; }
.ph__link:hover .ph__zoom, .ph__link:focus-visible .ph__zoom { opacity: 1; transform: none; }
@media (hover: none) { .ph__zoom { opacity: 1; transform: none; } }
.ph figcaption { font-size: var(--fs-sm); color: var(--c-muted); padding-top: 10px; }

/* Galería completa */
.gallery { display: grid; gap: var(--s-4); grid-template-columns: 1fr; grid-auto-flow: dense; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery .ph--wide { grid-column: span 2; } .gallery .ph--wide img { aspect-ratio: 16/9; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery .ph--wide { grid-column: span 2; grid-row: span 2; } .gallery .ph--wide .ph__link, .gallery .ph--wide img { height: calc(100% - 0px); } .gallery .ph--wide img { aspect-ratio: auto; min-height: 100%; } .gallery .ph--wide { display: flex; flex-direction: column; } .gallery .ph--wide .ph__link { flex: 1; } }

/* Ubicación */
.location { background: var(--c-sage); }
.place-card { position: relative; overflow: hidden; background: var(--c-shell); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.place-card__pin { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-ink); color: var(--c-white); margin-bottom: var(--s-5); }
.place-card__pin .ic { width: 26px; height: 26px; }
.place-card__name { font: 500 1.75rem/1.2 var(--f-display); margin: 0 0 var(--s-3); }
.place-card__addr { color: var(--c-muted); margin: 0; line-height: 1.6; max-width: 34ch; }
.place-card .btn-row { margin-top: var(--s-6); gap: var(--s-4); }
.place-card__map { margin-top: var(--s-5); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--c-line); }
.place-card__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.place-card__hint { margin: var(--s-2) 0 0; }
.place-card__waves { position: absolute; right: -10px; bottom: 18px; width: 55%; height: 40px; fill: none; stroke: var(--c-line-2); stroke-width: 1.5; opacity: .9; pointer-events: none; }
.place-card .btn-row, .place-card__map { position: relative; z-index: 1; }
.nearby { list-style: none; margin-top: var(--s-5); border-top: 1px solid rgba(23,62,67,.15); }
.nearby li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 12px 0; border-bottom: 1px solid rgba(23,62,67,.15); }

/* Bloque de disponibilidad */
.cta-band { background: var(--c-ink); color: var(--c-white); padding-block: var(--section); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; border: 1px solid rgba(233,178,122,.25); box-shadow: 0 0 0 60px rgba(233,178,122,.04), 0 0 0 140px rgba(233,178,122,.03); }
.cta-band__in { position: relative; display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 960px) { .cta-band__in { grid-template-columns: .9fr 1.1fr; } }
.cta-band .lead { color: rgba(255,255,255,.85); }

/* ---------- Ficha de alojamiento ---------- */
.ahero { padding-top: clamp(28px, 4vw, 56px); padding-bottom: var(--s-6); }
.ahero__in { display: grid; gap: var(--s-6); align-items: center; }
.display--ink { color: var(--c-ink); font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem); }
.display--ink em { color: var(--c-teja); }
.ahero .lead { margin-top: var(--s-5); }
.ahero__media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.ahero__main { grid-column: span 2; display: block; border-radius: var(--r-lg); overflow: hidden; }
.ahero__main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.ahero__thumb { display: block; border-radius: var(--r-md); overflow: hidden; }
.ahero__thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.ahero__main:hover img, .ahero__thumb:hover img { transform: scale(1.03); }
@media (min-width: 1024px) {
	.ahero__in { grid-template-columns: .85fr 1.15fr; gap: var(--s-8); }
	.ahero__media { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
	.ahero__main { grid-column: 1; grid-row: span 2; }
	.ahero__main img { aspect-ratio: auto; height: 100%; min-height: 460px; }
	.ahero__thumb img { aspect-ratio: auto; height: 100%; }
}

.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(244,241,233,.96); backdrop-filter: blur(10px); border-block: 1px solid var(--c-line); }
.admin-bar .subnav { top: calc(var(--header-h) + 32px); }
@media (max-width: 782px) { .admin-bar .subnav { top: var(--header-h); } }
.subnav__in { display: flex; align-items: center; gap: var(--s-4); }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; padding-block: 8px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.subnav a:hover { background: rgba(23,62,67,.07); }
.subnav a.is-active { background: var(--c-ink); color: #fff; }
.subnav__cta { display: none !important; }
@media (min-width: 900px) { .subnav ul { -webkit-mask-image: none; mask-image: none; } .subnav__cta { display: inline-flex !important; } }

.desc { display: grid; gap: var(--s-7); }
@media (min-width: 960px) { .desc { grid-template-columns: 1.4fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: start; } }
.info-card { background: var(--c-shell); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6); }
.info-card .h4 .ic { color: var(--c-teja); }
.beds { list-style: none; }
.beds li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.beds li:last-child { border-bottom: 0; }
.beds span { color: var(--c-muted); }
.info-card__foot { margin: var(--s-3) 0 0; padding-top: var(--s-4); border-top: 1px dashed var(--c-line-2); font-weight: 700; }
.note { display: flex; gap: 14px; margin-top: var(--s-5); padding: var(--s-5); border-radius: var(--r-md); background: #F7ECDD; color: #5A3412; }
.note > .ic { width: 24px; height: 24px; color: var(--c-teja); margin-top: 3px; }
.note .prose { font-size: var(--fs-sm); }
.note .prose p:last-child { margin: 0; }

.amenities { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s-3); margin-bottom: var(--s-5); }
.amenities li { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; background: var(--c-shell); border: 1px solid var(--c-line); border-radius: var(--r-md); font-weight: 600; }
.amenities .ic { width: 26px; height: 26px; color: var(--c-teja); stroke-width: 1.5; }
.practical { display: grid; gap: var(--s-4); margin-top: var(--s-7); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.practical__item { display: flex; gap: 14px; padding: var(--s-5); border-radius: var(--r-md); border: 1px solid var(--c-line); }
.practical__item > .ic { width: 26px; height: 26px; color: var(--c-teja); }
.practical__item p { margin: 0; }
.practical__item ul { padding-left: 1.1em; }

.faq-wrap { display: grid; gap: var(--s-6); }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: var(--s-9); align-items: start; } }
.faq__item { border-bottom: 1px solid var(--c-line-2); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 64px; padding: 14px 0; cursor: pointer; font: 500 1.25rem/1.3 var(--f-display); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { width: 22px; height: 22px; transition: transform var(--t-med) var(--ease); }
.faq__item[open] summary .ic { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--c-teja); }
.faq__a { padding: 0 0 var(--s-5); color: var(--c-muted); max-width: 64ch; }
.faq__a p:last-child { margin: 0; }

/* ---------- Páginas interiores ---------- */
.phero { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 5vw, 72px); }
.phero__in { display: grid; gap: var(--s-7); align-items: center; }
.phero .lead { margin-top: var(--s-5); }
.phero__media { margin: 0; border-radius: var(--r-xl); overflow: hidden; }
.phero__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (min-width: 960px) { .phero--img .phero__in { grid-template-columns: 1fr 1fr; gap: var(--s-9); } .phero__media img { aspect-ratio: 5/4; } }

.cards { display: grid; gap: var(--s-6); }
.card { display: grid; background: var(--c-shell); border: 1px solid var(--c-line); border-radius: var(--r-xl); overflow: hidden; }
.card__media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__media { overflow: hidden; display: block; }
.card__body { padding: clamp(24px, 4vw, 48px); align-self: center; }
.card__body .h2 a { text-decoration: none; }
@media (min-width: 960px) { .card { grid-template-columns: 1.3fr 1fr; } }

/* Contacto */
.contact { display: grid; gap: var(--s-7); }
@media (min-width: 1000px) { .contact { grid-template-columns: 1.35fr 1fr; gap: var(--s-8); align-items: start; } }
.contact__form { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow-sm); }
.contact__side { display: grid; gap: var(--s-5); }
@media (min-width: 1000px) { .contact__side { position: sticky; top: calc(var(--header-h) + 24px); } }
.talk { background: var(--c-ink); color: var(--c-white); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 40px); }
.talk .h3 { color: var(--c-white); }
.talk__btns { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.talk__link { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px; border-radius: var(--r-md); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); text-decoration: none; font-weight: 700; overflow-wrap: anywhere; transition: background var(--t-fast), border-color var(--t-fast); }
.talk__link:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }
.talk__link .ic { width: 22px; height: 22px; color: var(--c-sun); }
.talk__link small { display: block; font-size: var(--fs-xs); font-weight: 600; color: rgba(255,255,255,.75); letter-spacing: .04em; }
.talk__hours { display: flex; gap: 8px; align-items: center; margin: var(--s-4) 0 0; color: rgba(255,255,255,.85); }
.how { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 36px); }
.how__list { list-style: none; counter-reset: how; display: grid; gap: var(--s-4); margin-bottom: var(--s-4); }
.how__list li { counter-increment: how; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.how__list li::before { content: counter(how); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-sand); font-weight: 700; color: var(--c-teja); }

/* ---------- Pie ---------- */
.site-footer { background: var(--c-ink-2); color: rgba(255,255,255,.88); padding-top: var(--section); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--c-white); text-decoration: underline; }
.site-footer .btn, .site-footer .btn:hover { color: var(--fg); text-decoration: none; }
.site-footer__top { display: grid; gap: var(--s-7); padding-bottom: var(--s-8); border-bottom: 1px solid rgba(255,255,255,.14); }
@media (min-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1.2fr; gap: var(--s-9); } }
.site-footer__title { font: 500 var(--fs-h2)/1.05 var(--f-display); color: var(--c-white); margin: 0 0 var(--s-4); text-wrap: balance; }
.site-footer__text { color: rgba(255,255,255,.75); }
.site-footer__cols { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer__label { font: 700 var(--fs-xs)/1.3 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--c-sun); margin-bottom: var(--s-4); }
.site-footer__list { list-style: none; display: grid; gap: 4px; margin-bottom: var(--s-5); }
.site-footer__list a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; word-break: break-word; }
.site-footer__list .ic { width: 18px; height: 18px; color: var(--c-sun); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); padding-block: var(--s-6) calc(var(--s-6) + env(safe-area-inset-bottom)); font-size: var(--fs-sm); color: rgba(255,255,255,.7); }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: var(--s-4); margin-left: auto !important; }
.brand--footer .logo { height: 32px; }

/* Botón fijo en móvil */
.sticky-cta { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 10px; padding: 8px; border-radius: var(--r-pill); background: rgba(251,249,244,.96); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); border: 1px solid var(--c-line); transform: translateY(140%); transition: transform var(--t-med) var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; min-height: 48px; }
.sticky-cta__call { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--c-ink); flex: none; }
.sticky-cta__call .ic { width: 20px; height: 20px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { body.has-sticky .site-footer { padding-bottom: 84px; } }

/* Galería ampliada */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(9,22,24,.96); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(9,22,24,.8); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; animation: fadeIn var(--t-med) var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lightbox__count { margin: 0; font-weight: 700; letter-spacing: .08em; font-size: var(--fs-sm); }
.lightbox__fig { margin: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; min-height: 0; padding: 0 12px 16px; }
.lightbox__fig img { max-width: min(1400px, 100%); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; min-height: 0; }
.lightbox__fig figcaption { padding-top: 12px; text-align: center; color: rgba(255,255,255,.85); min-height: 1.6em; }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; transition: background var(--t-fast); }
.lightbox__btn:hover { background: rgba(255,255,255,.2); }
.lightbox__btn .ic { width: 24px; height: 24px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; } .lightbox__next { right: 12px; }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; transform: none; } .lightbox__fig { padding-bottom: 80px; } }

/* ---------- Animación discreta al aparecer ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero__media img { transform: none; }
}

@media print {
	.site-header, .sticky-cta, .subnav, .cta-band, .lightbox, .mnav { display: none !important; }
	body { background: #fff; }
}

/* ---------- Reservas (Booking.com y Airbnb) ---------- */
.book-btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.book-btns--stack { flex-direction: column; }
.book-btns--stack .btn { width: 100%; }
.book-btns--compact .btn { min-height: 44px; }
.book-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6); }
.book-card__title { display: flex; align-items: center; gap: 10px; font: 500 1.5rem/1.2 var(--f-display); margin: 0 0 var(--s-2); }
.book-card__title .ic { color: var(--c-teja); width: 22px; height: 22px; }
.book-card__text { color: var(--c-muted); margin: 0 0 var(--s-5); max-width: 52ch; }
.book-card .book-btns .btn { flex: 1 1 220px; }
.book-card--hero { box-shadow: var(--shadow-sm); }
@media (min-width: 1024px) { .hero-bar .book-card--hero { box-shadow: var(--shadow-lg); } }
.book-card--wide { display: grid; gap: var(--s-4) var(--s-7); align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.book-card--wide .book-card__title { font-size: var(--fs-h3); color: var(--c-white); }
.book-card--wide .book-card__title .ic { color: var(--c-sun); }
.book-card--wide .book-card__text { color: rgba(255,255,255,.85); margin: 0; }
.book-card--wide .btn--primary { --bg: var(--c-sun); --bd: var(--c-sun); --fg: #2B1606; }
.book-card--wide .btn--primary:hover { --bg: #F2C796; --bd: #F2C796; }
.book-card--wide .btn--secondary { --fg: var(--c-white); --bd: rgba(255,255,255,.75); }
.book-card--wide .btn--secondary:hover { --bg: var(--c-white); --fg: var(--c-ink); }
.book-card--wide .book-btns .btn { flex: 0 0 auto; white-space: nowrap; }
@media (min-width: 960px) { .book-card--wide { grid-template-columns: 1fr auto; } .book-card--wide .book-card__title, .book-card--wide .book-card__text { grid-column: 1; } .book-card--wide .book-btns { grid-column: 2; grid-row: 1 / span 2; } }
.book-section { padding-top: 0; }
.book { position: relative; }
.book__toggle .ic { transition: transform var(--t-med) var(--ease); }
.book__toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.btn:hover .book__toggle .ic, .book__toggle:hover .ic { transform: none; }
.book__toggle[aria-expanded="true"]:hover .ic { transform: rotate(180deg); }
.book__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 240px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-md); box-shadow: var(--shadow-lg); padding: 8px; animation: fadeIn var(--t-fast) var(--ease); }
.book__hint { margin: 4px 10px 6px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.book__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: var(--r-sm); text-decoration: none; font-weight: 700; }
.book__item:hover, .book__item:focus-visible { background: var(--c-sand); }
.book__item .ic { width: 18px; height: 18px; color: var(--c-teja); }
.site-header__actions .book { display: none; }
@media (min-width: 640px) { .site-header__actions .book { display: block; } .site-header__actions .book .btn { display: inline-flex; } }
.platforms { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .platforms { grid-template-columns: repeat(2, 1fr); } }
.platform { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(24px, 4vw, 40px); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl); text-decoration: none; transition: border-color var(--t-fast), box-shadow var(--t-med), transform var(--t-med); }
.platform:hover { border-color: var(--c-ink); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.platform__name { font: 500 var(--fs-h3)/1.1 var(--f-display); }
.platform__text { color: var(--c-muted); margin-bottom: var(--s-3); }
.platform .btn { align-self: flex-start; margin-top: auto; }
.platforms__alt { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-6); }
.platforms__alt a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.sticky-cta .btn { padding: 0 14px; }

/* ---------- Guía de la zona: mapa interactivo ---------- */
.zmap { padding-bottom: var(--s-9); scroll-margin-top: var(--header-h); }
.zmap__filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px var(--s-4); margin-inline: -2px; }
.zmap__filters::-webkit-scrollbar { display: none; }
.zchip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1.5px solid var(--c-line-2); background: var(--c-shell); color: var(--c-ink); font: 700 var(--fs-sm)/1 var(--f-body); cursor: pointer; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.zchip:hover { border-color: var(--c-ink); }
.zchip__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--zc); box-shadow: 0 0 0 2px #fff; }
.zchip.is-on { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.zmap__grid { display: grid; gap: var(--s-4); }
.zmap__map { position: relative; height: min(58vh, 520px); min-height: 340px; border-radius: var(--r-lg); overflow: hidden; background: #D7E4E2; box-shadow: inset 0 0 0 1px rgba(23,62,67,.08); }
.zmap__svg { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.zmap__svg:active { cursor: grabbing; }
.zm-sea { fill: #D7E4E2; }
.zm-isla { fill: #CDA77F; }
.zm-telde { fill: #A97447; }
.zm-coast { fill: none; stroke: #8C6440; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.zm-labels text { fill: #4A3520; font-family: var(--f-body); font-weight: 700; letter-spacing: .02em; paint-order: stroke; stroke: rgba(255,255,255,.75); stroke-width: .25em; stroke-linejoin: round; pointer-events: none; }
.zm-labels { transition: opacity var(--t-med); }
.zm-route__casing, .zm-route__line { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.zm-route__casing { stroke: #fff; stroke-width: 8; opacity: .9; }
.zm-route__line { stroke: var(--c-ink); stroke-width: 4; }
.zm-route__line.is-foot.is-done { stroke-dasharray: 1 7; stroke-width: 5; }
.zm-mark { cursor: pointer; outline: none; }
.zm-hit { fill: transparent; }
.zm-dot { fill: var(--zc); stroke: #fff; stroke-width: 2.5; transition: r var(--t-fast); }
.zm-mark:hover .zm-dot, .zm-mark.is-hl .zm-dot, .zm-mark:focus-visible .zm-dot { r: 10; }
.zm-mark:focus-visible .zm-hit { stroke: var(--c-teja); stroke-width: 3; }
.zm-mark.is-sel .zm-dot { r: 11; stroke-width: 3.5; }
.zm-mark.is-off { display: none; }
.zm-name { display: none; fill: var(--c-ink); font: 700 13px var(--f-body); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.zm-mark:hover .zm-name, .zm-mark.is-hl .zm-name, .zm-mark.is-sel .zm-name, .zm-mark:focus-visible .zm-name { display: block; }
.zm-house circle { fill: var(--c-ink); stroke: #fff; stroke-width: 3; }
.zm-house path { fill: #fff; }
.zm-house text { fill: var(--c-ink); font: 700 13px var(--f-body); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.zmap__ctrl { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; z-index: 2; }
.zmap__ctrl button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: #fff; color: var(--c-ink); box-shadow: 0 2px 10px -4px rgba(23,62,67,.45); cursor: pointer; }
.zmap__ctrl button:hover { background: var(--c-sand); }
.zmap__ctrl .ic { width: 20px; height: 20px; }
.zmap__credit { position: absolute; left: 10px; bottom: 6px; margin: 0; font-size: 11px; color: #3E4A48; background: rgba(255,255,255,.7); padding: 2px 6px; border-radius: 6px; }
.zmap__credit a { color: inherit; }
.zmap__noscript { position: absolute; inset: 0; display: grid; place-items: center; padding: var(--s-5); text-align: center; }
.zmap__panel { background: var(--c-shell); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); }
.zmap__home { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--s-4); font-size: var(--fs-sm); color: var(--c-muted); }
.zmap__house { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-ink); flex: none; }
.zmap__house svg { width: 16px; height: 16px; fill: #fff; }
.zgroup + .zgroup { margin-top: var(--s-6); }
.zgroup__title { font-size: var(--fs-h3); margin: 0 0 var(--s-2); display: flex; align-items: center; gap: 10px; }
.zgroup__title::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--zc); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--zc); flex: none; }
.zgroup__sub { font: 700 var(--fs-xs)/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--c-teja); margin: var(--s-5) 0 var(--s-2); }
.zgroup__intro { margin: 0 0 var(--s-2); font-size: var(--fs-sm); color: var(--c-muted); }
.zitems { list-style: none; margin: 0; padding: 0; display: grid; }
.zitems li + li { border-top: 1px solid var(--c-line); }
.zitem { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 6px; border: 0; background: none; text-align: left; color: var(--c-ink); cursor: pointer; border-radius: 10px; font: inherit; transition: background var(--t-fast); }
.zitem:hover { background: rgba(23,62,67,.06); }
.zitem__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--zc); flex: none; display: inline-block; }
.zitem--nomap .zitem__dot { background: transparent; box-shadow: inset 0 0 0 2px var(--zc); }
.zitem__txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.zitem__name { font-weight: 700; line-height: 1.3; }
.zitem__tag { font-size: var(--fs-xs); color: var(--c-muted); }
.zitem__go { width: 18px; height: 18px; color: var(--c-muted); }
.zsos { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4); margin: var(--s-3) 0; border-radius: var(--r-md); background: #FCEDED; color: var(--c-ink); text-decoration: none; }
.zsos__num { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #C53030; color: #fff; font: 600 1.5rem/1 var(--f-display); flex: none; }
.zsos strong { display: block; font-size: var(--fs-base); }
.zsos small { display: block; color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.45; }
.zdetail { outline: none; }
.zdetail__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 6px; margin: -6px 0 var(--s-4) -6px; border: 0; border-radius: var(--r-pill); background: none; color: var(--c-ink); font: 700 var(--fs-sm)/1 var(--f-body); cursor: pointer; }
.zdetail__back:hover { background: rgba(23,62,67,.07); }
.zdetail__back .ic { width: 18px; height: 18px; }
.zdetail__back--end { margin: var(--s-6) 0 0; border: 1.5px solid var(--c-line-2); padding: 0 18px 0 12px; }
.zdetail__cat { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--s-2); font: 700 var(--fs-xs)/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.zdetail__title { font-size: var(--fs-h2); line-height: 1.08; margin: 0 0 var(--s-4); }
.zdetail__route { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s-4); padding: 10px 14px; border-radius: var(--r-md); background: var(--c-sage); font-weight: 600; font-size: var(--fs-sm); }
.zdetail__route .ic { width: 20px; height: 20px; color: var(--c-ink); }
.zdetail__route small { font-weight: 400; color: var(--c-muted); }
.zdetail__text { color: var(--c-muted); font-size: var(--fs-lead); line-height: 1.55; margin: 0 0 var(--s-5); }
.zdetail__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (min-width: 960px) {
	.zmap__grid { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); align-items: stretch; }
	.zmap__map { height: clamp(520px, 72vh, 700px); }
	.zmap__panel { height: clamp(520px, 72vh, 700px); overflow-y: auto; overscroll-behavior: contain; padding: var(--s-6); }
	.zdetail__title { font-size: var(--fs-h3); }
}
@media (prefers-reduced-motion: reduce) { .zm-dot, .zchip, .zitem, .zm-labels { transition: none; } }
