/* =========================================================
   Albar · Casa de Mar — estilos
   Tokens según DESIGN.md. Las páginas usan solo variables.
   ========================================================= */

/* ---------- Tokens: Día (Cal) ---------- */
:root,
[data-moment="dia"] {
  --bg: #FBF8F3;
  --surface: #F4EEE4;
  --border: #E3D8C6;
  --text: #1E2A33;
  --text-muted: #6E6458;
  --primary: #1F4E5F;
  --primary-hover: #173D4A;
  --on-primary: #FBF8F3;
  --accent: #B4532A;
  --success: #2F6B4F;
  --warning: #9A5F0E;
  --error: #A63A2E;
  --footer-bg: #1E2A33;
  --footer-text: #EFE8DD;
  --footer-muted: #A79D90;
  --img-filter: none;
  color-scheme: light;
}

/* ---------- Atardecer ---------- */
[data-moment="atardecer"] {
  --bg: #FAF4EC;
  --surface: #F3E4D3;
  --border: #E6D2BC;
  --text: #2A2420;
  --text-muted: #6F5F52;
  --primary: #7A3A1E;
  --primary-hover: #5F2C16;
  --on-primary: #FAF4EC;
  --accent: #B4532A;
  --footer-bg: #2A2420;
  --img-filter: saturate(1.05) sepia(.08);
  color-scheme: light;
}

/* ---------- Noche (Azotea) ---------- */
[data-moment="noche"] {
  --bg: #0F1418;
  --surface: #172027;
  --border: #2A3640;
  --text: #EFE8DD;
  --text-muted: #A79D90;
  --primary: #8CC3CF;
  --primary-hover: #A9D4DD;
  --on-primary: #0F1418;
  --accent: #E08A5E;
  --success: #6FBF94;
  --warning: #E0A84A;
  --error: #E57A6C;
  --footer-bg: #0A0E11;
  --img-filter: brightness(.92);
  color-scheme: dark;
}

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --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; --s-11: 192px;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --section: clamp(80px, 10vw, 128px);

  --r-0: 0; --r-1: 2px; --r-pill: 999px;
  --shadow-float: 0 12px 40px -12px rgb(30 42 51 / .25);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-ui: 200ms; --t-reveal: 900ms; --t-hero: 1400ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color 800ms var(--ease), color 800ms var(--ease);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--primary); color: var(--on-primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 8px 16px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.display, .h1, .h2, .h3, .chapter-num {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 340;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(52px, 9vw, 128px); line-height: .95; letter-spacing: -0.035em; }
.h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; }
.h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; }
.h3 { font-size: 24px; line-height: 1.25; font-weight: 400; }
.display em, .h1 em, .h2 em { font-style: italic; font-weight: 300; }
.lead { font-size: 20px; line-height: 1.55; margin: 0; max-width: 34em; text-wrap: pretty; }
.body { max-width: 68ch; text-wrap: pretty; }
.small { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.eyebrow {
  font: 600 12px/1.4 var(--font-body);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 var(--s-5);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }
.chapter-num { font-size: clamp(80px, 12vw, 180px); line-height: .8; color: var(--border); font-weight: 300; font-style: italic; }
.num { font-variant-numeric: tabular-nums; }
.price { font-variant-numeric: tabular-nums; font-weight: 500; }
.price--accent { color: var(--accent); }
p { margin: 0 0 1em; }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 28px; border-radius: var(--r-1);
  font: 500 15px/1 var(--font-body); letter-spacing: .02em;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color var(--t-ui) var(--ease), color var(--t-ui) var(--ease), border-color var(--t-ui) var(--ease), transform var(--t-ui) var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); }
.btn--secondary { border-color: currentColor; background: transparent; }
.btn--secondary:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn--light { border-color: rgb(255 255 255 / .7); color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: #1E2A33; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.btn--block { width: 100%; }

.link {
  text-decoration: none; background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 4px; transition: background-size 400ms var(--ease);
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500;
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link svg { width: 16px; height: 16px; transition: transform var(--t-ui) var(--ease); }
.link:hover svg { transform: translateX(4px); }
.body a, .prose a { color: var(--primary); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease), transform 400ms var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--text);
}
.nav__in { display: flex; align-items: center; gap: var(--s-6); height: 80px; }
.nav__logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; margin-right: auto; }
.nav__logo b { font: 400 26px/1 var(--font-display); letter-spacing: .14em; font-variation-settings: "opsz" 144, "SOFT" 50; }
.nav__logo span { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; margin-top: 6px; opacity: .8; }
.nav__links { display: flex; gap: var(--s-6); list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 15px; position: relative; padding-block: 6px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__tools { display: flex; align-items: center; gap: var(--s-4); }
.nav__book { height: 44px; padding: 0 22px; }
.nav--over { color: #fff; }
.nav--over .nav__book { background: #fff; color: #1E2A33; }
.nav--over .nav__book:hover { background: var(--surface); }
.nav--solid { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom-color: var(--border); color: var(--text); }
.nav--hidden { transform: translateY(-100%); }

.lang { position: relative; }
.lang select {
  appearance: none; background: transparent; border: 0; color: inherit; font: 500 13px var(--font-body);
  letter-spacing: .08em; text-transform: uppercase; padding: 8px 18px 8px 4px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 7px) 55%, calc(100% - 3px) 55%; background-size: 4px 4px; background-repeat: no-repeat;
}
.lang select option { color: #1E2A33; }

.moment { display: inline-flex; border: 1px solid currentColor; border-radius: var(--r-pill); padding: 2px; opacity: .9; }
.moment button { width: 30px; height: 30px; border: 0; background: transparent; border-radius: var(--r-pill); display: grid; place-items: center; transition: background-color var(--t-ui), color var(--t-ui); }
.moment button svg { width: 15px; height: 15px; }
.moment button[aria-pressed="true"] { background: currentColor; }
.moment button[aria-pressed="true"] svg { color: var(--bg); }
.nav--over .moment button[aria-pressed="true"] svg { color: #1E2A33; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; place-items: center; }
.burger svg { width: 26px; height: 26px; }

.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--text);
  display: flex; flex-direction: column; padding: 24px var(--gutter) 32px;
  clip-path: inset(0 0 100% 0); transition: clip-path 700ms var(--ease); visibility: hidden;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.menu__list { list-style: none; margin: auto 0; padding: 0; }
.menu__list a { font: 340 clamp(36px, 10vw, 56px)/1.15 var(--font-display); text-decoration: none; display: block; font-variation-settings: "opsz" 144, "SOFT" 50; }
.menu__list li { overflow: hidden; }
.menu__list a span { display: inline-block; transform: translateY(100%); transition: transform 700ms var(--ease); }
.menu.is-open .menu__list a span { transform: none; }
.menu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; color: #fff; overflow: hidden; background: #1E2A33; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 1200ms var(--ease), transform 6000ms var(--ease);
}
.hero__media img.is-on { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 16 20 / .5) 0%, rgb(10 16 20 / 0) 22%), linear-gradient(90deg, rgb(10 16 20 / .45) 0%, rgb(10 16 20 / .1) 55%, rgb(10 16 20 / 0) 100%), linear-gradient(180deg, rgb(10 16 20 / 0) 40%, rgb(10 16 20 / .6) 100%); pointer-events: none; }
.hero .display, .hero__greet { text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(120px, 18vh, 200px); }
.hero__greet { font: 500 13px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; margin-bottom: var(--s-5); display: flex; align-items: center; gap: 12px; }
.hero__greet::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero .display { max-width: 11em; }
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: inline-block; transform: translateY(105%); animation: rise var(--t-hero) var(--ease) forwards; }
.hero__line:nth-child(2) > span { animation-delay: 120ms; }
@keyframes rise { to { transform: none; } }
.hero__meta { position: absolute; right: var(--gutter); top: 50%; z-index: 2; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .85; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; z-index: 2; width: 1px; height: 48px; background: rgb(255 255 255 / .35); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; inset: 0; background: #fff; animation: drip 2.4s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Buscador ---------- */
.booker {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 32px;
  max-width: 1100px; margin-inline: auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; align-items: stretch;
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-float); border-radius: var(--r-1);
}
.booker__field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 24px; border: 0; background: transparent; text-align: left; border-right: 1px solid var(--border); min-height: 76px; }
.booker__field:hover { background: var(--surface); }
.booker__label { font: 600 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.booker__value { font-size: 17px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booker__value.is-empty { color: var(--text-muted); font-weight: 400; }
.booker input.booker__value { border: 0; background: transparent; padding: 0; color: var(--text); width: 100%; outline: none; }
.booker__go { height: auto; border-radius: 0 var(--r-1) var(--r-1) 0; padding: 0 36px; }

.booker--inline { position: relative; left: auto; right: auto; bottom: auto; border: 1px solid var(--border); box-shadow: none; max-width: none; }

/* Popover */
.pop {
  position: absolute; z-index: 20; bottom: calc(100% + 12px); left: 0;
  background: var(--bg); color: var(--text); box-shadow: var(--shadow-float); border: 1px solid var(--border);
  border-radius: var(--r-1); padding: 24px; display: none;
}
.pop.is-open { display: block; animation: popIn 300ms var(--ease); }
.pop--down { bottom: auto; top: calc(100% + 12px); }
@keyframes popIn { from { opacity: 0; transform: translateY(8px); } }

/* Calendario */
.cal { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; width: min(680px, 86vw); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font: 400 20px/1 var(--font-display); }
.cal__nav { display: flex; gap: 4px; }
.cal__nav button { width: 36px; height: 36px; border: 1px solid var(--border); background: transparent; border-radius: var(--r-pill); display: grid; place-items: center; }
.cal__nav button:disabled { opacity: .3; cursor: default; }
.cal__nav svg { width: 16px; height: 16px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__dow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); text-align: center; padding: 4px 0 8px; }
.cal__day {
  border: 0; background: transparent; aspect-ratio: 1 / 1.08; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border-radius: var(--r-1); font-size: 15px; padding: 0; transition: background-color 120ms;
}
.cal__day small { font-size: 10px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cal__day small.is-low { color: var(--success); font-weight: 600; }
.cal__day:hover:not(:disabled) { background: var(--surface); }
.cal__day:disabled { color: var(--text-muted); opacity: .45; cursor: not-allowed; text-decoration: line-through; }
.cal__day.is-range { background: color-mix(in srgb, var(--primary) 12%, transparent); border-radius: 0; }
.cal__day.is-start, .cal__day.is-end { background: var(--primary); color: var(--on-primary); }
.cal__day.is-start small, .cal__day.is-end small { color: var(--on-primary); }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--border); }
.cal__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--border); padding-top: 16px; flex-wrap: wrap; }
.cal__legend { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.cal__legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--success); margin-right: 6px; }

/* Huéspedes */
.guests { width: 300px; display: grid; gap: 20px; }
.guests__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.guests__row small { display: block; color: var(--text-muted); font-size: 13px; }
.step { display: inline-flex; align-items: center; gap: 14px; }
.step button { width: 36px; height: 36px; border-radius: var(--r-pill); border: 1px solid var(--border); background: transparent; font-size: 18px; line-height: 1; }
.step button:hover:not(:disabled) { border-color: var(--text); }
.step button:disabled { opacity: .3; cursor: default; }
.step output { min-width: 1.5ch; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.guests__note { font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; margin: 0; }

/* Barra móvil */
.mbar {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; display: none;
  transform: translateY(150%); transition: transform 500ms var(--ease);
}
.mbar.is-on { transform: none; }
.mbar .btn { width: 100%; height: 56px; box-shadow: var(--shadow-float); justify-content: space-between; }

.sheet {
  position: fixed; inset: 0; z-index: 70; background: var(--bg); color: var(--text);
  transform: translateY(100%); transition: transform 600ms var(--ease); visibility: hidden;
  display: flex; flex-direction: column; overflow: auto;
}
.sheet.is-open { transform: none; visibility: visible; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 2; }
.sheet__body { padding: 24px var(--gutter) 120px; display: grid; gap: 28px; }
.sheet__foot { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px var(--gutter) 16px; background: var(--bg); border-top: 1px solid var(--border); }
.sheet .cal { grid-template-columns: 1fr; width: 100%; gap: 24px; }
.sheet .guests { width: 100%; }
.iconbtn { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; padding: 0; }
.iconbtn svg { width: 24px; height: 24px; }

/* ---------- Revelados ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-img { overflow: hidden; position: relative; }
.reveal-img img { clip-path: inset(100% 0 0 0); transform: scale(1.06); transition: clip-path 1200ms var(--ease), transform 1800ms var(--ease); filter: var(--img-filter); }
.reveal-img.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.d1 { transition-delay: 100ms !important; } .d2 { transition-delay: 200ms !important; } .d3 { transition-delay: 300ms !important; }

.parallax { will-change: transform; }

/* ---------- Componentes de contenido ---------- */
.intro__text { grid-column: 2 / span 7; }
.intro__img { grid-column: 9 / span 4; align-self: end; }
.intro__img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.intro .display-quote { font: 340 clamp(28px, 3.4vw, 46px)/1.2 var(--font-display); letter-spacing: -0.015em; margin: 0 0 var(--s-7); font-variation-settings: "opsz" 144, "SOFT" 50; text-wrap: balance; }
.intro .display-quote em { color: var(--accent); }
.facts { display: flex; gap: var(--s-7); flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: var(--s-5); margin-top: var(--s-7); }
.facts div { display: flex; flex-direction: column; }
.facts b { font: 340 44px/1 var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 50; }
.facts span { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

.head-row { display: flex; justify-content: space-between; align-items: end; gap: var(--s-6); margin-bottom: var(--s-8); flex-wrap: wrap; }
.head-row .h1, .head-row .h2 { max-width: 14em; }

/* Habitaciones escalonadas */
.rooms { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-8) var(--s-5); }
.room-card { text-decoration: none; display: block; }
.room-card__img { overflow: hidden; position: relative; }
.room-card__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform 1200ms var(--ease), clip-path 1200ms var(--ease); }
.room-card:hover .room-card__img img { transform: scale(1.04); }
.room-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: var(--s-4); }
.room-card__n { font: italic 300 15px var(--font-display); color: var(--text-muted); }
.room-card p { margin: 6px 0 0; color: var(--text-muted); font-size: 15px; }
.room-card .price { white-space: nowrap; font-size: 15px; }
.rooms > :nth-child(1) { grid-column: 1 / span 5; }
.rooms > :nth-child(2) { grid-column: 7 / span 4; margin-top: var(--s-10); }
.rooms > :nth-child(3) { grid-column: 2 / span 4; }
.rooms > :nth-child(4) { grid-column: 7 / span 5; margin-top: var(--s-10); }
.rooms > :nth-child(5) { grid-column: 3 / span 6; }
.rooms > :nth-child(5) .room-card__img img { aspect-ratio: 3/2; }

/* Momentos */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.moment-card { position: relative; border: 0; padding: 0; background: #000; color: #fff; text-align: left; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; }
.moment-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1600ms var(--ease), opacity 600ms var(--ease); }
.moment-card:hover img { transform: scale(1.05); opacity: .95; }
.moment-card__txt { position: relative; padding: var(--s-6); width: 100%; background: linear-gradient(0deg, rgb(0 0 0 / .65), transparent); }
.moment-card__time { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.moment-card h3 { font: 340 34px/1.1 var(--font-display); margin: 8px 0; font-variation-settings: "opsz" 144, "SOFT" 50; }
.moment-card p { margin: 0; opacity: .9; font-size: 15px; max-width: 26em; }
.moment-card[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: -2px; }
.moment-card[aria-pressed="true"] .moment-card__time::after { content: " · " attr(data-now); }

/* Split */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); align-items: center; }
.split__img { grid-column: 1 / span 7; }
.split__img img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split__txt { grid-column: 9 / span 4; }
.split--rev .split__img { grid-column: 6 / span 7; order: 2; }
.split--rev .split__txt { grid-column: 1 / span 4; order: 1; }
.split__small { width: 62%; margin: calc(var(--s-9) * -1) 0 0 auto; position: relative; border: 10px solid var(--bg); }
.split__small img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.list-dash { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); border-top: 1px solid var(--border); }
.list-dash li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.list-dash li span:last-child { color: var(--text-muted); text-align: right; }

/* Opiniones */
.reviews { text-align: left; }
.reviews__score { display: flex; align-items: baseline; gap: 16px; margin-bottom: var(--s-7); flex-wrap: wrap; }
.reviews__score b { font: 300 96px/1 var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 50; }
.reviews__stage { position: relative; min-height: 280px; }
.review { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); pointer-events: none; }
.review.is-on { opacity: 1; transform: none; pointer-events: auto; }
.review blockquote { font: 340 clamp(26px, 3.2vw, 42px)/1.25 var(--font-display); margin: 0 0 var(--s-5); max-width: 24em; letter-spacing: -0.01em; font-variation-settings: "opsz" 144, "SOFT" 50; text-wrap: balance; }
.reviews__dots { display: flex; gap: 10px; margin-top: var(--s-5); }
.reviews__dots button { width: 32px; height: 3px; border: 0; padding: 0; background: var(--border); }
.reviews__dots button[aria-current="true"] { background: var(--text); }

/* Ventajas reserva directa */
.direct { border: 1px solid var(--accent); padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-7); position: relative; }
.direct__seal { position: absolute; top: -14px; left: clamp(24px, 4vw, 56px); background: var(--bg); color: var(--accent); padding: 0 12px; font: 600 12px/28px var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.direct ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-6); }
.direct li { display: flex; gap: 14px; }
.direct li svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.direct li b { display: block; font-weight: 600; }
.direct li span { color: var(--text-muted); font-size: 15px; }
.compare { display: flex; gap: 2px; margin-top: var(--s-5); font-size: 14px; }
.compare div { flex: 1; padding: 12px 14px; background: var(--surface); }
.compare div:first-child { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); }
.compare b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }

/* Altea teaser */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: var(--s-5); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.strip > * { scroll-snap-align: start; }
.tile img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.tile h3 { margin-top: var(--s-4); }
.tile p { color: var(--text-muted); font-size: 15px; margin: 6px 0 0; }
.tile .small { margin-top: 2px; }

/* Banda a sangre */
.band { position: relative; min-height: 86vh; color: #fff; display: flex; align-items: flex-end; overflow: hidden; }
.band > img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; filter: var(--img-filter); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .62), rgb(0 0 0 / .05) 60%); }
.band .wrap { position: relative; z-index: 2; padding-bottom: var(--s-9); }
.band .h1 { max-width: 12em; }
.band p { max-width: 34em; opacity: .92; }
.band .eyebrow { color: #fff; }

/* Ola separador */
.wave { display: block; width: 120px; height: 14px; color: var(--accent); margin: 0 0 var(--s-5); }

/* ---------- Página interior ---------- */
.page-head { padding-top: calc(80px + var(--s-9)); padding-bottom: var(--s-8); }
.page-head .lead { margin-top: var(--s-5); color: var(--text-muted); }
.page-hero { height: 78vh; min-height: 520px; overflow: hidden; position: relative; }
.page-hero img { width: 100%; height: 116%; object-fit: cover; filter: var(--img-filter); }
.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: var(--s-6); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Ficha de habitación */
.room-hero { position: relative; height: 92vh; min-height: 560px; color: #fff; overflow: hidden; }
.room-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); animation: slowZoom 9s var(--ease) forwards; }
@keyframes slowZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.room-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .6), rgb(0 0 0 / 0) 55%, rgb(0 0 0 / .3)); }
.room-hero .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: var(--s-8); }
.room-hero .eyebrow { color: #fff; }
.room-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); align-items: start; }
.room-main { grid-column: 1 / span 7; }
.room-aside { grid-column: 9 / span 4; position: sticky; top: 104px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: var(--s-7) 0; }
.specs div { padding: 18px 0; display: flex; flex-direction: column; gap: 6px; }
.specs div + div { padding-left: 18px; border-left: 1px solid var(--border); }
.specs svg { width: 20px; height: 20px; color: var(--text-muted); }
.specs b { font-weight: 500; }
.specs span { font-size: 13px; color: var(--text-muted); }
.love { list-style: none; margin: 0; padding: 0; counter-reset: love; }
.love li { counter-increment: love; display: grid; grid-template-columns: 56px 1fr; padding: 18px 0; border-top: 1px solid var(--border); }
.love li::before { content: "0" counter(love); font: italic 300 22px/1.2 var(--font-display); color: var(--accent); }
.amen { columns: 2; column-gap: var(--s-6); list-style: none; padding: 0; margin: 0; }
.amen li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; display: flex; gap: 10px; align-items: center; }
.amen svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

.bookcard { border: 1px solid var(--border); padding: var(--s-6); background: var(--bg); }
.bookcard__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: var(--s-5); }
.bookcard__price b { font: 340 44px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.bookcard .booker { position: static; display: grid; grid-template-columns: 1fr 1fr; box-shadow: none; border: 1px solid var(--border); margin-bottom: var(--s-4); }
.bookcard .booker__field { min-height: 66px; padding: 12px 16px; }
.bookcard .booker__field:nth-child(2) { border-right: 0; }
.bookcard .booker__field:nth-child(3) { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--border); }
.bookcard .pop { bottom: auto; top: calc(100% + 8px); left: auto; right: 0; }
.bookcard__perks { list-style: none; padding: 0; margin: var(--s-5) 0 0; font-size: 14px; color: var(--text-muted); display: grid; gap: 8px; }
.bookcard__perks li { display: flex; gap: 10px; }
.bookcard__perks svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 3px; }

.tour {
  position: relative; aspect-ratio: 16/9; background: var(--surface); display: grid; place-items: center; overflow: hidden; border: 1px dashed var(--border);
}
.tour img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; filter: blur(2px) grayscale(.3); }
.tour__in { position: relative; text-align: center; padding: 24px; }
.tour__in .btn { margin-top: 16px; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-4); }
.gallery button { border: 0; padding: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
.gallery button:nth-child(1) { grid-column: span 7; aspect-ratio: 4/3; }
.gallery button:nth-child(2) { grid-column: span 5; aspect-ratio: auto; }
.gallery button:nth-child(3) { grid-column: 3 / span 6; aspect-ratio: 3/2; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(10 14 17 / .96); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; animation: popIn 300ms var(--ease); }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox .iconbtn { position: absolute; color: #fff; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; }
.lightbox__next { right: 12px; top: 50%; }
.lightbox__count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px; letter-spacing: .14em; }

.others { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.others .room-card__img img { aspect-ratio: 3/4; }

/* Lista de habitaciones */
.rlist { display: grid; gap: var(--s-10); }
.rrow { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s-5); align-items: center; }
.rrow__img { grid-column: 1 / span 7; }
.rrow__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.rrow__txt { grid-column: 9 / span 4; }
.rrow:nth-child(even) .rrow__img { grid-column: 6 / span 7; order: 2; }
.rrow:nth-child(even) .rrow__txt { grid-column: 1 / span 4; order: 1; }
.rrow__kv { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); margin: var(--s-4) 0 var(--s-5); }
.rrow__kv span { display: inline-flex; gap: 6px; align-items: center; }
.rrow__kv svg { width: 16px; height: 16px; }
.rrow__actions { display: flex; gap: var(--s-5); align-items: center; flex-wrap: wrap; margin-top: var(--s-5); }

/* Resultados de reserva */
.res-summary { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: var(--s-7); }
.res-summary b { font-weight: 600; }
.res { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-6); padding: var(--s-6) 0; border-bottom: 1px solid var(--border); }
.res > a, .res > img { display: block; }
.res img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.res__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: baseline; }
.res__tag { display: inline-block; font: 600 11px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border: 1px solid currentColor; margin-right: 8px; }
.res__tag--warn { color: var(--warning); }
.res__tag--ok { color: var(--success); }
.res__tag--no { color: var(--error); }
.rates { display: grid; gap: 2px; margin-top: var(--s-5); }
.rate { display: grid; grid-template-columns: 1fr auto auto; gap: var(--s-5); align-items: center; padding: 16px 18px; background: var(--surface); }
.rate b { display: block; font-weight: 600; }
.rate span { font-size: 14px; color: var(--text-muted); }
.rate__price { text-align: right; }
.rate__price s { color: var(--text-muted); font-size: 14px; margin-right: 6px; }
.rate__price strong { font: 340 26px/1 var(--font-display); font-variant-numeric: tabular-nums; display: block; }
.rate .btn { height: 44px; padding: 0 20px; }
.res--out img { opacity: .45; filter: grayscale(1); }

/* Formularios */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-5); }
.field { position: relative; display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  border: 0; border-bottom: 1px solid var(--border); background: transparent; color: var(--text);
  font: 400 17px var(--font-body); padding: 22px 0 10px; border-radius: 0; outline: none; transition: border-color var(--t-ui);
}
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 22px; color: var(--text-muted); pointer-events: none; transition: all var(--t-ui) var(--ease); font-size: 17px; }
.field input:focus, .field textarea:focus, .field select:focus { border-bottom: 2px solid var(--primary); padding-bottom: 9px; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.field select option { color: #1E2A33; }
.field .err { color: var(--error); font-size: 13px; margin-top: 6px; display: none; }
.field.is-bad input, .field.is-bad textarea { border-bottom-color: var(--error); }
.field.is-bad .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-muted); grid-column: 1 / -1; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--border); background: transparent; border-radius: var(--r-pill); padding: 8px 16px; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.done { border: 1px solid var(--success); padding: var(--s-6); display: none; }
.done.is-on { display: block; animation: popIn 500ms var(--ease); }

/* Mapa Altea */
.map-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s-7); align-items: start; }
.map { position: sticky; top: 104px; background: var(--surface); aspect-ratio: 1 / 1; }
.map svg { width: 100%; height: 100%; display: block; }
.map .land { fill: var(--bg); stroke: var(--border); }
.map .sea { fill: color-mix(in srgb, var(--primary) 16%, var(--surface)); }
.map .road { stroke: var(--border); stroke-width: 2; fill: none; stroke-dasharray: 4 6; }
.map .pin circle { fill: var(--text); transition: r 300ms var(--ease), fill 300ms; }
.map .pin text { fill: var(--bg); font: 600 11px var(--font-body); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map .pin.is-on circle { fill: var(--accent); r: 16; }
.map .home circle { fill: var(--primary); }
.map .lbl { fill: var(--text-muted); font: italic 300 18px var(--font-display); }
.plan { list-style: none; padding: 0; margin: 0; }
.plan h3 { margin: var(--s-7) 0 var(--s-4); }
.plan li { display: grid; grid-template-columns: 40px 64px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--border); cursor: pointer; transition: background-color var(--t-ui); }
.plan li:hover, .plan li.is-on { background: var(--surface); }
.plan li > b { width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 12px; }
.plan li.is-on > b { background: var(--accent); }
.plan time { font-variant-numeric: tabular-nums; color: var(--text-muted); font-size: 14px; padding-top: 4px; }
.plan strong { font-weight: 600; display: block; }
.plan span { color: var(--text-muted); font-size: 15px; }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
.person__img { aspect-ratio: 4/5; background: var(--surface); display: grid; place-items: center; font: italic 300 64px var(--font-display); color: var(--text-muted); border: 1px solid var(--border); }
.person h3 { margin-top: var(--s-4); }
.person p { color: var(--text-muted); font-size: 15px; margin: 4px 0 0; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 140px 1fr; gap: var(--s-5); padding: var(--s-5) 0; border-top: 1px solid var(--border); }
.timeline b { font: 340 32px/1 var(--font-display); font-variation-settings: "opsz" 144, "SOFT" 50; color: var(--accent); }

/* Menú degustación */
.menu-card { border: 1px solid var(--border); padding: clamp(24px, 4vw, 56px); text-align: center; }
.menu-card ol { list-style: none; padding: 0; margin: var(--s-6) 0; display: grid; gap: 18px; }
.menu-card li { font: 400 20px/1.3 var(--font-display); }
.menu-card li span { display: block; font: 400 14px var(--font-body); color: var(--text-muted); margin-top: 4px; }

/* FAQ */
.faq details { border-top: 1px solid var(--border); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 26px/1 var(--font-display); transition: transform var(--t-ui) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--text-muted); max-width: 60ch; }

/* ---------- Pie ---------- */
.footer { background: var(--footer-bg); color: var(--footer-text); padding: var(--s-9) 0 var(--s-6); }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__big { font: 340 clamp(56px, 13vw, 200px)/.9 var(--font-display); letter-spacing: .06em; font-variation-settings: "opsz" 144, "SOFT" 50; margin: var(--s-9) 0 var(--s-6); opacity: .95; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-6); }
.footer .footer__h { font: 600 11px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--footer-muted); margin: 0 0 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.footer__news { display: flex; border-bottom: 1px solid rgb(255 255 255 / .3); margin-top: 16px; max-width: 380px; }
.footer__news input { flex: 1; background: transparent; border: 0; color: var(--footer-text); font: 16px var(--font-body); padding: 12px 0; outline: none; min-width: 0; }
.footer__news input::placeholder { color: var(--footer-muted); }
.footer__news button { background: transparent; border: 0; color: var(--footer-text); padding: 0 4px; display: grid; place-items: center; }
.footer__news button svg { width: 20px; height: 20px; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .15); padding-top: var(--s-5); font-size: 13px; color: var(--footer-muted); }
.footer__legal nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer p { color: var(--footer-muted); font-size: 15px; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; z-index: 80; left: 16px; bottom: 16px; max-width: 420px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-float); padding: 20px 22px; font-size: 14px; display: none;
}
.cookies.is-on { display: block; animation: popIn 500ms var(--ease); }
.cookies p { margin: 0 0 14px; color: var(--text-muted); }
.cookies__btns { display: flex; gap: 8px; }
.cookies .btn { height: 42px; padding: 0 18px; flex: 1; font-size: 14px; }

/* ---------- Toast / modal demo ---------- */
.toast {
  position: fixed; z-index: 95; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  background: var(--text); color: var(--bg); padding: 14px 20px; font-size: 14px; max-width: min(520px, 92vw);
  transition: transform 500ms var(--ease), visibility 0s 500ms; box-shadow: var(--shadow-float); visibility: hidden;
}
.toast { transform: translate(-50%, calc(100% + 48px)); }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform 500ms var(--ease); }

/* ---------- Presupuesto en vivo y horas libres ---------- */
.quote-box { border: 1px solid var(--accent); padding: 20px 22px; background: var(--bg); }
.quote-box__total { font: 340 clamp(30px, 3.4vw, 42px)/1.1 var(--font-display); margin: 0; font-variant-numeric: tabular-nums; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; }
.slots .chip { min-width: 72px; font-variant-numeric: tabular-nums; }
.slots .chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Conserje (chat) ---------- */
.cg { position: fixed; right: 16px; bottom: 16px; z-index: 75; font-family: var(--font-body); }
.cg__fab { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; background: var(--text); color: var(--bg); box-shadow: var(--shadow-float); font-size: 15px; font-weight: 500; }
.cg__dot { width: 9px; height: 9px; border-radius: 50%; background: #6FBF94; box-shadow: 0 0 0 3px color-mix(in srgb, #6FBF94 35%, transparent); }
.cg.is-open .cg__fab { display: none; }
.cg__panel { width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-float); display: flex; flex-direction: column; overflow: hidden; animation: popIn 300ms var(--ease); }
.cg__panel[hidden] { display: none; }
.cg__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--primary); color: var(--on-primary); }
.cg__head strong { display: block; font: 400 19px/1.2 var(--font-display); }
.cg__head small { font-size: 12px; opacity: .85; }
.cg__x { background: none; border: 0; color: inherit; font-size: 16px; width: 36px; height: 36px; border-radius: 50%; }
.cg__x:hover { background: rgb(255 255 255 / .15); }
.cg__demo { background: color-mix(in srgb, var(--warning) 14%, var(--bg)); color: var(--text); font-size: 12px; padding: 6px 16px; }
.cg__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.cg__msg { max-width: 85%; padding: 9px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.cg__msg a { color: inherit; font-weight: 600; }
.cg__msg--ai { background: var(--surface); align-self: flex-start; border-bottom-left-radius: 4px; }
.cg__msg--guest { background: var(--primary); color: var(--on-primary); align-self: flex-end; border-bottom-right-radius: 4px; }
.cg__msg--staff { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); align-self: flex-start; border-bottom-left-radius: 4px; }
.cg__msg--staff small { display: block; font-size: 11px; font-weight: 600; color: var(--accent); margin-bottom: 2px; }
.cg__msg--note { align-self: center; background: none; color: var(--text-muted); font-size: 12px; text-align: center; }
.cg__typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.cg__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); animation: cgDot 1s infinite ease-in-out; }
.cg__typing span:nth-child(2) { animation-delay: .15s; } .cg__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes cgDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.cg__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.cg__chips[hidden] { display: none; }
.cg__chip { border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.cg__chip:hover { border-color: var(--primary); }
.cg__form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); align-items: flex-end; }
.cg__form textarea { flex: 1; resize: none; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font: 15px var(--font-body); background: var(--bg); color: var(--text); max-height: 120px; }
.cg__send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--primary); color: var(--on-primary); font-size: 18px; flex: none; }
@media (max-width: 960px) { .cg { bottom: 84px; right: 12px; } .cg__fab span[data-t] { display: none; } .cg__fab { padding: 0 14px; } .cg.is-open { bottom: 12px; } }

/* ---------- Cursor ---------- */
.cursor { position: fixed; z-index: 99; left: 0; top: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--text); pointer-events: none; mix-blend-mode: difference; filter: invert(1); transition: width 300ms var(--ease), height 300ms var(--ease), margin 300ms var(--ease); display: none; align-items: center; justify-content: center; font: 600 10px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: transparent; }
.cursor.is-big { width: 72px; height: 72px; margin: -36px 0 0 -36px; color: #000; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) { .cursor { display: flex; } }

/* ---------- Responsive ---------- */
.nav__links a { white-space: nowrap; }
.field input[type="date"] + label, .field input[type="month"] + label, .field input[type="number"] + label { top: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.list-dash a { text-decoration: none; }
.list-dash a:hover { text-decoration: underline; }
.timeline p { margin: 6px 0 0; }
@media (max-width: 960px) {
  .grid12 > * { grid-column: 1 / -1 !important; }
  .bk-aside { margin-top: 48px; }
}
@media (min-width: 961px) { .cookies { left: 16px; right: auto; bottom: auto; top: 96px; } }
@media (max-width: 1240px) {
  .nav__links { display: none; }
  .burger { display: grid; }
  .direct { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .nav__links, .nav .lang, .nav .moment, .nav__book { display: none; }
  .burger { display: grid; }
  .nav__in { height: 64px; }
  .booker:not(.booker--inline):not(.bookcard .booker) { display: none; }
  .mbar { display: block; }
  .hero__content { padding-bottom: 120px; }
  .hero__meta { display: none; }
  .intro__text, .intro__img { grid-column: 1 / -1; }
  .intro__img { max-width: 70%; margin-left: auto; }
  .rooms { gap: var(--s-7) var(--s-4); }
  .rooms > * { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .rooms > :nth-child(even) { margin-left: 18% !important; }
  .rooms > :nth-child(odd) { margin-right: 10% !important; }
  .moments { grid-template-columns: 1fr; }
  .moment-card { min-height: 380px; }
  .split__img, .split__txt, .split--rev .split__img, .split--rev .split__txt { grid-column: 1 / -1; order: initial; }
  .split__small { display: none; }
  .direct ul { grid-template-columns: 1fr; }
  .room-main, .room-aside { grid-column: 1 / -1; }
  .room-aside { position: static; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .specs div:nth-child(4) { border-top: 1px solid var(--border); }
  .others { grid-template-columns: 1fr 1fr; }
  .rrow__img, .rrow__txt, .rrow:nth-child(even) .rrow__img, .rrow:nth-child(even) .rrow__txt { grid-column: 1 / -1; order: initial; }
  .rlist { gap: var(--s-9); }
  .res { grid-template-columns: 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .map { position: relative; top: 0; }
  .team { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
  .gallery button:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .lead { font-size: 18px; }
  .form { grid-template-columns: 1fr; }
  .rate { grid-template-columns: 1fr auto; }
  .rate .btn { grid-column: 1 / -1; width: 100%; }
  .amen { columns: 1; }
  .team { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .cookies { left: 12px; right: 12px; max-width: none; bottom: 84px; }
  .compare { flex-direction: column; }
  .facts { gap: var(--s-5) var(--s-6); }
  .facts b { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-img img, .hero__line > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

@media print { .nav, .mbar, .cookies, .booker, .footer, .cursor { display: none !important; } }
