/* ===== Paleta sacada de las fotos: piedra, musgo, hayedo y el turquesa del Urederra ===== */
:root {
  --bg: #efebe3;          /* piedra clara */
  --bg-2: #e3ddd0;
  --paper: #f7f4ee;
  --ink: #1d221b;         /* verde casi negro */
  --ink-2: #596055;
  --line: rgba(29, 34, 27, .15);
  --accent: #127a78;      /* turquesa Urederra (oscurecido para leerse bien) */
  --accent-2: #4fb3ad;
  --moss: #56693c;
  --ochre: #b5803a;       /* hayedo en otoño */
  --night: #141b2b;
  --danger: #b03a2e;
  --safe: #2f7a4a;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.7, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); overflow-x: hidden; }
body.is-loading, body.menu-open, body.sheet-open, body.lb-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.muted { color: var(--ink-2); }
em { font-style: italic; color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; opacity: .06; mix-blend-mode: multiply; }

/* ===== Loader ===== */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: var(--bg); display: grid; place-items: center; transition: clip-path 1.1s var(--ease); clip-path: inset(0 0 0 0); }
.loader__brand { font: 400 clamp(48px, 11vw, 150px)/1 var(--serif); display: flex; overflow: hidden; white-space: pre; }
.loader__brand span { display: inline-block; transform: translateY(105%); animation: up .9s var(--ease-out) forwards; animation-delay: calc(var(--i) * 50ms); }
.loader__brand span.it { font-style: italic; color: var(--accent-2); }
.loader__count { position: absolute; bottom: var(--pad); right: var(--pad); }
body:not(.is-loading) .loader { clip-path: inset(0 0 100% 0); }
@keyframes up { to { transform: translateY(0); } }

/* ===== Header ===== */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 16px; padding: 18px var(--pad); mix-blend-mode: difference; color: #fff; }
.brand { font: 400 28px/1 var(--serif); margin-right: auto; }
.burger { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Menú ===== */
.menu { position: fixed; inset: 0; z-index: 50; background: var(--ink); color: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 90px var(--pad) var(--pad); clip-path: circle(0 at calc(100% - var(--pad) - 22px) 40px); transition: clip-path .9s var(--ease); visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - var(--pad) - 22px) 40px); visibility: visible; }
.menu__list { list-style: none; }
.menu__list li { border-top: 1px solid rgba(239, 235, 227, .15); overflow: hidden; }
.menu__list a, .menu__lang { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; }
.menu__list b { font: 400 clamp(48px, 10vw, 120px)/1 var(--serif); transform: translateY(110%); transition: transform .9s var(--ease-out), color .3s; display: inline-block; }
.menu-open .menu__list b { transform: translateY(0); }
.menu-open .menu__list li:nth-child(2) b { transition-delay: .08s; }
.menu-open .menu__list li:nth-child(3) b { transition-delay: .16s; }
.menu__list a:hover b { color: var(--accent-2); font-style: italic; }
.menu__lang { flex-wrap: wrap; }
.switch { margin-left: auto; display: flex; border: 1px solid rgba(239, 235, 227, .35); border-radius: 99px; padding: 4px; }
.switch button { border: 0; background: none; padding: 10px 18px; border-radius: 99px; cursor: pointer; color: var(--bg); transition: background .3s, color .3s; }
.switch button.on { background: var(--bg); color: var(--ink); }
.menu__foot { margin-top: 40px; opacity: .55; }

/* ===== Secciones ===== */
section { padding: clamp(80px, 12vw, 150px) var(--pad) 0; }
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(24px, 4vw, 48px); }
.sec-head h2 { font: 400 clamp(44px, 8vw, 112px)/.95 var(--serif); letter-spacing: -.01em; }
.kicker { margin-bottom: 18px; }
.lead { font: 400 clamp(24px, 3vw, 38px)/1.2 var(--serif); max-width: 30ch; }

.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Portada ===== */
.hero { position: relative; min-height: 100svh; padding: 0; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: -6% 0 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2.4s var(--ease-out); }
body:not(.is-loading) .hero__bg img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 12, .35) 0%, rgba(10, 16, 12, 0) 30%, rgba(10, 16, 12, .15) 55%, rgba(10, 16, 12, .75) 100%); }
.hero__inner { position: relative; width: 100%; padding: 120px var(--pad) 0; }
.hero .kicker { color: rgba(255, 255, 255, .8); }
.hero__title { font: 400 clamp(38px, 5.6vw, 96px)/1 var(--serif); letter-spacing: -.015em; max-width: 19ch; text-wrap: balance; }
.hero__title em { color: #a8ece4; }
.hero__foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding: 28px 0 32px; margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .3); }
.hero__foot p { max-width: 36ch; color: rgba(255, 255, 255, .85); }
.hero__scroll { position: absolute; right: var(--pad); top: 50%; animation: bob 2.4s ease-in-out infinite; opacity: .7; }
@keyframes bob { 50% { transform: translateY(10px); } }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--ink); border-radius: 99px; padding: 14px 26px; background: none; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; isolation: isolate; transition: color .4s; }
.pill::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; border-radius: inherit; }
.pill:hover { color: var(--bg); }
.pill:hover::before { transform: none; }
.pill--solid { background: var(--ink); color: var(--bg); }
.pill--solid::before { background: var(--accent); }
.pill--light { border-color: #fff; color: #fff; }
.pill--light::before { background: #fff; }
.pill--light:hover { color: var(--ink); }

/* ===== Marquesina ===== */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 16px 0; white-space: nowrap; background: var(--ink); color: var(--bg); }
.marquee__track { display: inline-flex; gap: 48px; animation: slide 45s linear infinite; padding-left: 48px; }
.marquee__track span::before { content: "✦"; margin-right: 48px; color: var(--accent-2); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ===== Tarjetas de casas ===== */
.cards { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.card { cursor: pointer; display: block; position: relative; }
.card:nth-child(2) { margin-top: clamp(40px, 10vw, 140px); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--bg-2); }
.card:first-child .card__media { aspect-ratio: 5/6; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity .8s var(--ease); }
.card__media img + img { opacity: 0; }
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .card__media img + img { opacity: 1; }
.card__badges { position: absolute; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__badge { background: rgba(29, 34, 27, .82); color: var(--bg); padding: 7px 12px; border-radius: 99px; backdrop-filter: blur(6px); }
.card__badge--acc { background: var(--accent); color: #fff; }
.acc-note { display: flex; gap: 18px; align-items: center; margin-top: 24px; padding: 20px 24px; background: var(--accent); color: #fff; border-radius: 4px; max-width: 720px; }
.acc-note__icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-size: 30px; }
.acc-note b { font: 400 30px/1 var(--serif); display: block; margin-bottom: 6px; }
.acc-note p { opacity: .92; }
.card__body { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.card__name { font: 400 clamp(34px, 4.4vw, 60px)/1 var(--serif); }
.card:hover .card__name { font-style: italic; }
.card__price { text-align: right; align-self: end; }
.card__price b { font: 400 30px/1 var(--serif); display: block; }
.card__tag { grid-column: 1 / -1; color: var(--ink-2); }
.card__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.card__meta span::before { content: "■ "; color: var(--accent); }

.together { margin-top: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 32px; padding: clamp(22px, 3vw, 36px); background: var(--ink); color: var(--bg); border-radius: 4px; position: relative; overflow: hidden; isolation: isolate; }
.together::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); z-index: -1; }
.together:hover::before { transform: none; }
.together .mono { grid-column: 1 / -1; opacity: .7; }
.together b { font: 400 clamp(36px, 5vw, 64px)/1 var(--serif); font-weight: 400; }
.together b em { color: var(--accent-2); }
.together:hover b em { color: #fff; }
.together__arrow { font: 400 48px/1 var(--serif); transition: transform .6s var(--ease-out); }
.together:hover .together__arrow { transform: translateX(10px); }

/* ===== Día y noche ===== */
.dn-lead { margin-bottom: 28px; }
.dn { position: relative; aspect-ratio: 4/3; max-height: 82vh; width: 100%; overflow: hidden; user-select: none; touch-action: pan-y; background: var(--night); }
.dn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dn__night { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.dn__handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; pointer-events: none; }
.dn__handle i { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 20px rgba(255, 210, 120, .9); }
.dn__handle span { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
.dn__handle span + i + span, .dn__handle span:last-child { background: var(--night); color: #ffd98a; }
.dn__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.dn__range:focus-visible + * , .dn:focus-within .dn__handle span { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* ===== Entorno ===== */
.around { padding-right: 0; }
.around__lead { margin-bottom: 40px; padding-right: var(--pad); }
.around__rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) 20px 0; scrollbar-width: thin; scrollbar-color: var(--ink-2) transparent; cursor: grab; }
.around__rail.drag { cursor: grabbing; scroll-snap-type: none; }
.around__rail.drag * { pointer-events: none; }
.spot { flex: 0 0 min(80vw, 420px); scroll-snap-align: start; }
.spot--wide { flex-basis: min(88vw, 640px); }
.spot__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.spot--wide .spot__media { aspect-ratio: 4/3; }
.spot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s var(--ease), transform 6s linear; }
.spot__media img:not(.on) { opacity: 0; }
.spot__media img.on { transform: scale(1.06); }
.spot__dots { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 4px; }
.spot__dots i { flex: 1; height: 2px; background: rgba(255, 255, 255, .4); }
.spot__dots i.on { background: #fff; }
.spot__n { position: absolute; top: 12px; left: 12px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.spot h3 { font: 400 clamp(28px, 3vw, 40px)/1.05 var(--serif); margin: 16px 0 8px; }
.spot p { color: var(--ink-2); max-width: 46ch; }
.spot__tag { display: inline-block; margin-top: 10px; color: var(--accent); }
.spot--text { display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: var(--bg); padding: 28px; flex-basis: min(80vw, 380px); }
.spot--text p { color: rgba(239, 235, 227, .75); }
.spot--text ul { list-style: none; margin-top: 14px; }
.spot--text li { padding: 10px 0; border-top: 1px solid rgba(239, 235, 227, .15); }
.around__hint { color: var(--ink-2); margin-top: 8px; }

/* ===== Seguridad ===== */
.safety-intro__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 6vw, 96px); border-top: 1px solid var(--ink); padding-top: 32px; }
.ticks { list-style: none; }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; }
.ticks li::before { content: "■"; color: var(--safe); }
.safe-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 40px; }
.safe-strip figure { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.safe-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.safe-strip figure:hover img { transform: scale(1.05); }
.safe-strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 10px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); font-size: 11px; text-transform: none; letter-spacing: 0; }

/* ===== Tarifas ===== */
.rates__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.rate { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); }
.rate + .rate { padding-left: 24px; border-left: 1px solid var(--line); }
.rate h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-bottom: 14px; }
.rate__big { font: 400 clamp(44px, 5vw, 72px)/1 var(--serif); }
.rate__big small { font: 400 14px/1.3 var(--sans); color: var(--ink-2); display: block; margin-top: 6px; }
.rate ul { list-style: none; }
.rate li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.rate li:last-child { border-bottom: 0; }
.rate li b { font-weight: 500; text-align: right; }
.rate .promo { color: var(--accent); }
.rate__note { margin-top: 12px; color: var(--ink-2); font-size: 13px; }

/* ===== Agenda ===== */
.book { border-top: 1px solid var(--ink); padding-top: 24px; }
.book__opts { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink); border-radius: 99px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: none; padding: 10px 16px; border-radius: 99px; cursor: pointer; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; transition: background .3s, color .3s; }
.seg button.on { background: var(--ink); color: var(--bg); }
.field { display: flex; flex-direction: column; gap: 8px; padding: 20px 18px 20px 0; border-bottom: 1px solid var(--line); }
.field span.mono { color: var(--ink-2); }
.field--n { padding: 0; border: 0; }
.field input, .field textarea { border: 0; background: none; font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--serif); padding: 4px 0; outline: none; width: 100%; border-bottom: 1px solid transparent; transition: border-color .3s; border-radius: 0; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { resize: vertical; font-size: 22px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ink); border-radius: 99px; }
.stepper button { width: 42px; height: 42px; border: 0; background: none; cursor: pointer; font-size: 20px; border-radius: 50%; }
.stepper button:hover { background: var(--bg-2); }
.stepper input { width: 52px; text-align: center; font: 400 26px/1 var(--serif); border: 0; background: none; -moz-appearance: textfield; padding: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.cal__head h4 { font: 400 32px/1 var(--serif); text-align: center; }
.cal__head h4::first-letter { text-transform: uppercase; }
.cal__houses { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); }
.cal__house { padding: 16px; border: 1px solid var(--line); border-radius: 4px; opacity: .55; transition: opacity .3s, border-color .3s, background .3s; }
.cal__house:hover { opacity: .85; }
.cal__house.on { opacity: 1; border-color: var(--ink); background: var(--paper); }
.cal__house h5 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font: 400 26px/1.1 var(--serif); margin-bottom: 12px; }
.cal__house h5 small { color: var(--ink-2); }
.cal__nav { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: none; cursor: pointer; font-size: 18px; }
.cal__nav:disabled { opacity: .25; cursor: default; }
.cal__nav:not(:disabled):hover { background: var(--ink); color: var(--bg); }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.month__grid .dow { text-align: center; padding: 6px 0; color: var(--ink-2); font-family: var(--mono); font-size: 11px; }
.day { aspect-ratio: 1; border: 0; background: none; cursor: pointer; font: 400 15px/1 var(--sans); position: relative; border-radius: 0; transition: background .2s, color .2s; }
.day:hover:not(:disabled) { background: var(--bg-2); }
.day:disabled { cursor: default; color: rgba(29, 34, 27, .25); }
.day.busy { color: var(--ink-2); background: repeating-linear-gradient(-45deg, transparent 0 5px, rgba(176, 58, 46, .14) 5px 6px); text-decoration: line-through; }
.day.in { background: rgba(18, 122, 120, .14); }
.day.start, .day.end { background: var(--accent); color: #fff; }
.day.start { border-radius: 50% 0 0 50%; }
.day.end { border-radius: 0 50% 50% 0; }
.day.start.end { border-radius: 50%; }
.day.today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; color: var(--ink-2); align-items: center; text-transform: none; letter-spacing: 0; font-size: 12px; }
.cal__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; display: inline-block; }
.lg--busy { background: repeating-linear-gradient(-45deg, transparent 0 3px, rgba(176, 58, 46, .45) 3px 4px); border: 1px solid var(--line); }
.lg--sel { background: var(--accent); border-radius: 50%; }

.book__sum { margin: 28px 0 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 13px; min-height: 80px; }
.book__sum .row-l { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; }
.book__sum .row-l.disc { color: var(--accent); }
.book__sum .row-l.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; align-items: baseline; }
.book__sum .row-l.total b { font: 400 40px/1 var(--serif); }
.book__sum .err { color: var(--danger); }
.book__sum .note { color: var(--ink-2); margin-top: 10px; text-transform: none; letter-spacing: 0; }

/* ===== Contacto ===== */
.contact { padding-bottom: clamp(80px, 10vw, 140px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); border-top: 1px solid var(--ink); padding-top: 24px; }
.contact__direct { display: flex; flex-direction: column; gap: 12px; }
.big-link { font: 400 clamp(30px, 4.4vw, 60px)/1.05 var(--serif); width: fit-content; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); overflow-wrap: anywhere; }
.big-link:hover { background-size: 100% 1px; font-style: italic; }
.msg .pill { margin-top: 24px; }
.foot { display: flex; justify-content: space-between; gap: 16px; padding: 24px var(--pad); border-top: 1px solid var(--line); color: var(--ink-2); flex-wrap: wrap; }

/* ===== Ficha de casa ===== */
.sheet { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%; max-height: none; background: var(--bg); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.sheet[open] { animation: sheetIn .8s var(--ease) both; }
.sheet.closing { animation: sheetOut .55s var(--ease) both; }
.sheet::backdrop { background: rgba(29, 34, 27, .5); }
@keyframes sheetIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes sheetOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
.sheet__inner { padding: 0 var(--pad) 80px; }
.sheet__bar { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; background: var(--bg); border-bottom: 1px solid var(--line); gap: 12px; }
.x { border: 1px solid var(--ink); background: none; border-radius: 99px; padding: 10px 18px; cursor: pointer; }
.x:hover { background: var(--ink); color: var(--bg); }

.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 20px 0 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { border: 1px solid var(--line); background: none; border-radius: 99px; padding: 8px 14px; cursor: pointer; white-space: nowrap; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tabs button sup { opacity: .6; margin-left: 4px; }
.gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 auto; height: min(62vh, 560px); scroll-snap-align: start; overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.gallery img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform 1.2s var(--ease-out); animation: fadeIn .6s var(--ease-out) both; }
.gallery figure:hover img { transform: scale(1.03); }
@keyframes fadeIn { from { opacity: 0; } }
.gallery-hint { margin-top: 10px; color: var(--ink-2); }

.d-title { font: 400 clamp(52px, 9vw, 140px)/.9 var(--serif); margin: 40px 0 10px; letter-spacing: -.02em; }
.d-tag { font: 400 clamp(22px, 2.4vw, 30px)/1.2 var(--serif); color: var(--ink-2); font-style: italic; }
.d-where { color: var(--ink-2); margin-top: 10px; }
.d-reg { display: inline-flex; gap: 6px; margin-top: 12px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-2); }
.d-reg b { color: var(--ink); font-weight: 500; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 96px); margin-top: 48px; }
.d-block { border-top: 1px solid var(--ink); padding-top: 16px; margin-bottom: 52px; }
.d-block h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; display: flex; gap: 12px; }
.d-block h3 span { color: var(--ink-2); }
.d-desc { font: 400 clamp(22px, 2.3vw, 29px)/1.28 var(--serif); }
.d-dist { margin-top: 20px; display: grid; gap: 12px; }
.d-dist p { padding-left: 14px; border-left: 2px solid var(--accent); }
.d-dist b { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid var(--line); }
.spec { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 14px; }
.spec small { display: block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.spec b { font: 400 40px/1.1 var(--serif); }
.spec b small { display: inline; font-size: 14px; letter-spacing: 0; text-transform: none; }
.badge-acc { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 99px; background: rgba(18, 122, 120, .12); color: var(--accent); }
.amen { list-style: none; columns: 2; column-gap: 24px; font-size: 15px; }
.amen li { padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.map { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.15) contrast(1.05); }
.map__pin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); pointer-events: none; }
.map__pin::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.map-links { display: flex; justify-content: space-between; margin-top: 12px; gap: 12px; flex-wrap: wrap; }
.map-links a { border-bottom: 1px solid currentColor; }
.d-safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.d-safe figure { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: zoom-in; }
.d-safe img { width: 100%; height: 100%; object-fit: cover; }
.d-safe figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 8px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); font-size: 11px; line-height: 1.3; }
.safe-list { list-style: none; }
.safe-list li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.safe-list li b { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--safe); }
.rules { list-style: none; counter-reset: r; }
.rules li { counter-increment: r; display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.rules li::before { content: counter(r, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 4px; }
.d-cta { position: sticky; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--ink); color: var(--bg); padding: 12px 12px 12px 24px; border-radius: 99px; margin-top: 24px; z-index: 4; }
.d-cta b { font: 400 28px/1 var(--serif); }
.d-cta .pill { border-color: var(--bg); color: var(--bg); }
.d-cta .pill::before { background: var(--accent); }

/* ===== Visor de fotos ===== */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(12, 15, 11, .96); display: grid; place-items: center; padding: 56px 64px; animation: fadeIn .3s both; }
.lightbox figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 140px); object-fit: contain; }
.lightbox figcaption { color: rgba(255, 255, 255, .75); text-align: center; }
.lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: none; color: #fff; cursor: pointer; font-size: 18px; }
.lb__btn:hover { background: #fff; color: var(--ink); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 12px; top: 50%; margin-top: -24px; }
.lb__next { right: 12px; top: 50%; margin-top: -24px; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; background: var(--ink); color: var(--bg); padding: 14px 22px; border-radius: 99px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; max-width: calc(100% - 32px); text-align: center; text-transform: none; }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .6s var(--ease); }

/* ===== Móvil ===== */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(2) { margin-top: 24px; }
  .together { grid-template-columns: 1fr auto; }
  .together #bothInfo { grid-column: 1 / -1; grid-row: 3; }
  .safety-intro__grid, .contact__grid, .d-grid { grid-template-columns: 1fr; }
  .rates__grid { grid-template-columns: 1fr; }
  .rate + .rate { padding-left: 0; border-left: 0; }
  .cal__houses { grid-template-columns: 1fr; }
  .cal__house { padding: 12px; }
  .hero__foot { flex-direction: column; align-items: start; }
  .hero__scroll { display: none; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .amen { columns: 1; }
  .d-safe { grid-template-columns: repeat(2, 1fr); }
  .d-cta b { font-size: 22px; }
  .gallery figure { height: 52vh; }
  .lightbox { padding: 56px 8px 80px; }
  .lb__prev, .lb__next { top: auto; bottom: 16px; margin-top: 0; }
  .lb__prev { left: calc(50% - 60px); } .lb__next { right: calc(50% - 60px); }
  .dn { aspect-ratio: 3/4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
.acc-ico { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.2em; }
.card__badge--acc { display: inline-flex; align-items: center; gap: 6px; }
.acc-note__icon .acc-ico { width: 30px; height: 30px; }

/* Datos de quien reserva */
.book__who { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 28px; }
.book__who .field--wide { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 820px) { .book__who { grid-template-columns: 1fr; } }
