/* landing_nocturna.css — Nocturna landing page.
   Fonts loaded via <link> in layouts/application.html.erb inside the
   content_for?(:landing_nocturna) branch (was @import here — CSP-hostile). */

:root {
  --night: #0B1020; --night-2: #101528; --night-3: #14172A; --cream: #FDF3E2;
  --body-cream: #EADCC4; --muted: #B7A587; --dim: #7C7460; --amber: #FF8A2B;
  --amber-light: #FFA340; --amber-hot: #FF9A2E; --ember: #F0A868; --white-hot: #FFFEFA;
  --bronze: #C98A4A; --rain: #7FB6E8; --moss: #86B98E; --deep-space: #0A0714;
}

/* §13 — starfield foundations: html carries the outside colour, body is transparent
   so pseudo-element star layers at negative z-index don't get hidden by the body bg.
   body.bg-cream needs an explicit override — Tailwind's utility beats a naked
   selector; the .bg-cream class remains on <body> from the app-wide layout. */
html { background: var(--deep-space); scroll-behavior: smooth; }
body, body.bg-cream { position: relative; background: transparent; }
body > * { position: relative; z-index: 1; }

.nocturna-page, .nocturna-page * { box-sizing: border-box; }
.nocturna-page { width: 1440px; max-width: 100%; margin: 0 auto; overflow: hidden; background: var(--night); color: var(--body-cream); font-family: 'Spectral', Georgia, serif; }
.nocturna-page a { color: inherit; text-decoration: none; }
.nocturna-fixed { width: 1440px; max-width: 100%; margin: 0 auto; }
.nocturna-nav { position: absolute; inset: 0 auto auto 50%; transform: translateX(-50%); z-index: 20; padding: 28px 64px; display: flex; justify-content: space-between; align-items: center; }
.nocturna-brand-wrap { display: flex; align-items: center; gap: 24px; }
.nocturna-brand { display: flex; align-items: center; gap: 14px; color: var(--cream); }
.nocturna-mark { width: 54px; height: 36px; border-radius: 27px 27px 5px 5px; background: linear-gradient(160deg,#C9AE86,#A98F63); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; box-shadow: 0 0 26px rgba(255,107,20,.35); }
.nocturna-mark span { width: 31px; height: 20px; border-radius: 16px 16px 3px 3px; background: radial-gradient(ellipse at 50% 92%,#FFD98A 0%,#FF8A2B 44%,#C4441A 100%); }
.nocturna-logo-text, .ui-label { font-family: 'Cabin', sans-serif; text-transform: uppercase; letter-spacing: .14em; }
.nocturna-logo-text { font-weight: 600; font-size: 17px; letter-spacing: .24em; }
.locale-toggle { display: flex; gap: 7px; color: var(--muted); font: 700 12px/1 'Cabin',sans-serif; letter-spacing: .18em; }
.locale-toggle a.active { color: var(--amber-light); text-shadow: 0 0 16px rgba(255,107,20,.45); }
.nocturna-links { display: flex; gap: 32px; align-items: center; color: #E7D6BA; font: 500 14px/1 'Cabin', sans-serif; letter-spacing: .13em; text-transform: uppercase; }
/* Xhen socket — engraved ember recess anchoring the Ahumado menu */
.xhen-socket {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  pointer-events: none;
}
.xhen-socket svg { display: block; filter: drop-shadow(0 3px 10px rgba(0,0,0,.85)); }

@keyframes socketBreath {
  0%, 100% { opacity: .22; }
  50%       { opacity: .72; }
}
.socket-breath { animation: socketBreath 5s ease-in-out infinite; }
.nocturna-btn, .nocturna-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 16px 30px; border-radius: 3px; font: 700 14px/1 'Cabin', sans-serif; letter-spacing: .14em; text-transform: uppercase; transition: color .25s, text-shadow .25s, transform .25s, box-shadow .25s; }
.nocturna-btn { position: relative; overflow: visible; background: linear-gradient(165deg,#FFA43A,#ED5C0E); color: #1A0C04; box-shadow: 0 0 46px rgba(255,107,20,.50); }
.nocturna-btn:hover { color: #fff; text-shadow: 0 0 14px rgba(255,238,200,.95), 0 0 34px rgba(255,150,50,.7); transform: translateY(-1px); }
.nocturna-ghost { border: 1px solid rgba(255,138,43,.55); color: #FFC98F; background: rgba(11,16,32,.22); }
.hero { position: relative; height: 940px; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateX(275px) scale(1.42); filter: saturate(1.08) brightness(1.06); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(9,13,26,.82) 0%,rgba(9,13,26,.24) 30%,rgba(11,16,32,.46) 60%,rgba(11,16,32,.97) 100%); }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 45% at 12% 96%,rgba(255,107,20,.30) 0%,rgba(255,107,20,0) 70%); }
.hero-content { position: absolute; inset: auto 0 0; z-index: 1; padding: 0 64px 100px; }
.eyebrow { color: var(--amber-light); text-shadow: 0 0 24px rgba(255,107,20,.6); font: 600 15px/1.2 'Cabin', sans-serif; letter-spacing: .34em; text-transform: uppercase; }
h1 { margin: 26px 0 0; font-weight: 300; font-size: 132px; line-height: .9; letter-spacing: -.022em; color: var(--cream); text-shadow: 0 2px 60px rgba(0,0,0,.6); }
h1 em { color: var(--amber-light); font-weight: 300; text-shadow: 0 0 70px rgba(255,107,20,.55); }
/* §7 — warm word needs display: inline-block for the filter to have a box to work on. */
h1 em.warm-word { display: inline-block; color: var(--amber-light); font-weight: 300; font-style: italic; text-shadow: 0 0 70px rgba(255,107,20,.55); filter: url(#warmWarp); }
h1 em.cold-word { font-style: normal; color: #B8D8FF; text-shadow: 0 0 44px rgba(159,192,255,.55), 0 0 90px rgba(127,182,232,.35); }
.hero p { max-width: 720px; margin: 34px 0 0; font-size: 27px; line-height: 1.5; font-weight: 300; }
.cta-row { display: flex; gap: 18px; align-items: center; margin-top: 44px; }
.hero .cta-row { margin-top: 64px; }
.body-copy.veracruzano-note { color: #9FC0FF; }
.correspondence-page { max-width: 780px; margin: 0 auto; padding: 160px 64px 120px; text-align: center; }
.correspondence-page .kicker { justify-content: center; }
.correspondence-page .lead { margin: 26px auto 20px; max-width: 620px; }
.correspondence-page .body-copy { margin: 0 auto 40px; max-width: 620px; }
.correspondence-page .body-copy a { color: #FFC98F; text-decoration: underline; text-underline-offset: 3px; }
.correspondence-page .nocturna-ghost { display: inline-flex; margin-top: 8px; }
.correspondence-form { margin: 0 auto 32px; max-width: 520px; text-align: left; display: flex; flex-direction: column; gap: 18px; }
.correspondence-field { display: flex; flex-direction: column; gap: 6px; }
.correspondence-field label { font-family: 'Cabin', sans-serif; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.correspondence-field input, .correspondence-field textarea, .correspondence-select { font: 400 17px/1.4 'Spectral', Georgia, serif; padding: 14px 16px; background: rgba(11,16,32,.55); border: 1px solid rgba(255,138,43,.35); border-radius: 3px; color: var(--body-cream); transition: border-color .2s, background .2s; }
.correspondence-field input:focus, .correspondence-field textarea:focus, .correspondence-select:focus { outline: none; border-color: var(--amber-hot); background: rgba(11,16,32,.75); }
.correspondence-actions { display: flex; justify-content: center; margin-top: 8px; }
.correspondence-actions .nocturna-btn { min-width: 200px; cursor: pointer; border: none; }
.correspondence-flash { margin: 0 auto 24px; max-width: 520px; padding: 14px 18px; border: 1px solid var(--amber-hot); border-radius: 3px; color: var(--cream); background: rgba(255,154,46,.12); font-family: 'Spectral', Georgia, serif; }
.correspondence-errors { margin: 0 auto 20px; max-width: 520px; padding: 14px 18px; border: 1px solid #C4441A; border-radius: 3px; color: #FFC98F; background: rgba(196,68,26,.16); font-family: 'Spectral', Georgia, serif; text-align: left; }
.correspondence-errors ul { margin: 8px 0 0; padding-left: 20px; }
.correspondence-fallback { margin: 32px auto 12px; max-width: 520px; font-size: 15px; color: var(--dim); }
.correspondence-fallback a { color: #FFC98F; text-decoration: underline; text-underline-offset: 3px; }
.section { position: relative; padding: 110px 64px 96px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.kicker { color: var(--bronze); font: 600 14px/1 'Cabin', sans-serif; letter-spacing: .28em; text-transform: uppercase; margin-bottom: 22px; }
h2 { margin: 0; color: var(--cream); font-weight: 300; font-size: 68px; line-height: .98; letter-spacing: -.025em; }
.subbrand-title { font-size: 90px; font-style: italic; }
.rain-word { color: var(--rain); text-shadow: 0 0 42px rgba(127,182,232,.35); }
.lead { font-size: 26px; line-height: 1.48; font-weight: 300; color: var(--body-cream); }
.body-copy { font-size: 22px; line-height: 1.55; color: var(--body-cream); }
.hot { color: var(--ember); }
.stat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 38px; }
.stat, .amenity, .menu-card, .price-card { background: rgba(16,21,40,.72); box-shadow: inset 0 0 0 1px rgba(255,138,43,.18); border-radius: 5px; }
.stat { padding: 24px; color: var(--muted); font: 700 15px/1.2 'Cabin', sans-serif; letter-spacing: .16em; text-transform: uppercase; }

/* Fire + water section header block: kicker + title full-width, subhead
   + pill share the next row like a tail on the subhead line. Applied at
   all breakpoints — the mobile media query only adjusts font-size/padding
   so the row fits at narrow widths. */
.fire-section .grid-2 > div:first-child,
.water-section .grid-2 > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 0; }
.fire-section .grid-2 > div:first-child > .kicker,
.water-section .grid-2 > div:first-child > .kicker { flex-basis: 100%; order: 1; }
.fire-section .grid-2 > div:first-child > h2,
.water-section .grid-2 > div:first-child > h2 { flex-basis: 100%; order: 2; }
.fire-section .grid-2 > div:first-child > .ui-label,
.water-section .grid-2 > div:first-child > .ui-label { order: 3; }
.fire-section .grid-2 > div:first-child > .pill,
.water-section .grid-2 > div:first-child > .pill { order: 4; }

/* §2 — grecas: stroked outline in SVG; container-only CSS. Sit cleanly between
   sections (no negative margin) so they don't overlap either neighbour — where
   both sides are dark, the greca vanished into the fire-over-fire overlap. */
.greca { height: 26px; margin: 0; position: relative; z-index: 4; overflow: hidden; padding: 12px 0; box-sizing: content-box; background: rgba(11,16,32,.6); }
.greca svg { display: block; opacity: .68; }
.greca.water svg { opacity: .82; }

/* §6 — the burning seal */
.seal-band { padding: 60px 64px 56px; display: flex; justify-content: center; }
.seal { padding: 32px 60px; text-align: center; border: 2px solid var(--amber-hot); border-radius: 3px; background: transparent; }
.seal p { margin: 0; white-space: nowrap; font: italic 300 40px/1.2 'Cormorant Garamond', 'Spectral', Georgia, serif; letter-spacing: .012em; color: #FFFDF4; text-shadow: 0 0 18px rgba(255,226,178,.8), 0 0 56px rgba(255,107,20,.5); }
.seal p span { color: #fff; text-shadow: 0 0 14px rgba(255,255,255,.95), 0 0 38px rgba(255,214,150,.95), 0 0 82px rgba(255,107,20,.7); }

/* §11 — cabin cards: the card scales (not the img), anchored to the outer corner. */
.room-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 54px; overflow: visible; }
.room-card { position: relative; z-index: 1; overflow: hidden; border-radius: 5px; background: linear-gradient(180deg,#17182A,#120F1B); box-shadow: inset 0 0 0 1px rgba(255,138,43,.30), 0 24px 70px rgba(0,0,0,.22); transition: transform 620ms cubic-bezier(.16,1,.3,1), box-shadow 620ms ease; }
.room-card:hover { transform: scale(1.16); z-index: 8; }
.room-card:first-child { transform-origin: top left; }
.room-card:last-child { transform-origin: top right; }
.room-card:first-child:hover { box-shadow: inset 0 0 0 1px rgba(255,138,43,.55), 0 40px 90px rgba(0,0,0,.5), 0 0 90px rgba(255,107,20,.2); }
.room-card:last-child:hover { box-shadow: inset 0 0 0 1px rgba(220,214,196,.3), 0 40px 90px rgba(0,0,0,.5); }
.photo-well { position: relative; height: 410px; overflow: hidden; background: var(--night-3); }
.photo-well img, .tile img { width: 100%; height: 100%; object-fit: cover; }
.room-content { padding: 30px; }
.room-content .nocturna-btn, .room-content .nocturna-ghost { margin-top: 30px; }
.badge { display: inline-flex; gap: 9px; align-items: center; padding: 8px 12px; background: rgba(11,16,32,.58); box-shadow: inset 0 0 0 1px rgba(255,138,43,.42); border-radius: 999px; font: 700 13px/1 'Cabin',sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.badge.available { color: transparent; background-image: linear-gradient(90deg,#FFB765,#FF8A2B); -webkit-background-clip: text; background-clip: text; }
.badge.available::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg,#FFB765,#FF5C16); box-shadow: 0 0 12px rgba(255,107,20,.7); }
.room-card h3 { font-size: 38px; color: var(--cream); margin: 18px 0 8px; font-weight: 300; }

/* §14 — amenities: bigger, with a barely-there brightness breath. */
.amenity-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 26px; }
.amenity { padding: 22px; min-height: 135px; }
.amenity strong, .meta strong { display: block; color: var(--bronze); font: 700 13px/1 'Cabin',sans-serif; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 13px; }
.amenity span { color: var(--body-cream); font-size: 24px; line-height: 1.36; animation: xhenEmberBreath 13s ease-in-out infinite; }
.amenity:nth-child(2) span { animation-delay: -3.1s; }
.amenity:nth-child(3) span { animation-delay: -6.4s; }
.amenity:nth-child(4) span { animation-delay: -9.2s; }
@keyframes xhenEmberBreath { 0%,100% { color: #EADCC4; } 50% { color: #F6DFBC; } }

.experience { isolation: isolate; }

/* §5 — fire section: the sun. */
.fire-section {
  overflow: hidden; cursor: none;
  background: radial-gradient(120% 90% at 50% 0%,
    #FFFDF6 0%, #FFF8E2 4%, #FFE7AE 8%, #FFC163 14%, #E8801F 20%,
    #A64E15 27%, #55290F 35%, #2E1A10 43%, #1A1726 52%, #0B1020 62%);
}
.fire-section .kicker { color: #FFFBF0; font-weight: 700; text-shadow: 0 0 12px rgba(255,240,205,.85), 0 0 30px rgba(255,150,50,.6); }
.fire-section .grid-2 > div, .fire-section .photo-grid .tile { filter: url(#heatWarp); }
.fire-section .lead { color: var(--muted); }
.fire-section .pill { background: rgba(28,14,6,.82); box-shadow: none; border: 1px solid rgba(60,30,12,.9); color: #FFD9A6; }
.water-price { display: flex; align-items: baseline; gap: 12px; margin: 12px 0 18px; color: #FDF3E2; }
.water-price .price { font: 300 46px/1 'Spectral', serif; }
.water-price .ui-label { color: #9FC0FF; letter-spacing: .18em; }
.water-section { background: radial-gradient(60% 45% at 22% 12%,rgba(111,192,242,.16),transparent 70%); }
.pill { display: inline-flex; padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(127,182,232,.38); color: #9FC0FF; font: 700 13px/1 'Cabin',sans-serif; letter-spacing: .16em; text-transform: uppercase; }

/* §3 — photo tiles: the tile grows, not the crop. */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; margin-top: 34px; overflow: visible; }
.tile { position: relative; z-index: 1; overflow: hidden; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); background: var(--night-3); transition: transform 620ms cubic-bezier(.16,1,.3,1), box-shadow 620ms ease; }
.tile:hover { transform: scale(1.5); z-index: 20; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 40px 90px rgba(0,0,0,.55); }
.tile.large { grid-row: span 2; }
.tile img { transition: none; }
.tile.grow-dl { transform-origin: top left; }
.tile.grow-dr { transform-origin: top right; }
.tile.grow-ur { transform-origin: top right; }
.tile.grow-ul { transform-origin: bottom right; }
.tile-caption { position: absolute; left: 18px; bottom: 16px; color: var(--cream); font: 700 13px/1 'Cabin',sans-serif; letter-spacing: .16em; text-transform: uppercase; transition: opacity .25s; text-shadow: 0 1px 12px #000; }
.tile:hover .tile-caption { opacity: 0; }
.menu-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; margin-top: 44px; align-items: stretch; }
.menu-card, .price-card { padding: 34px; }
.menu-card ul { margin: 22px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 34px; }
.menu-card li { break-inside: avoid; margin: 0 0 14px; font-size: 20px; line-height: 1.35; }
.price { display: block; color: var(--cream); font-size: 58px; line-height: 1; margin: 10px 0 18px; }
.price small { color: var(--muted); font: 700 13px/1 'Cabin',sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.meta-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 34px 0; }
.meta { padding: 18px 0; color: var(--body-cream); }
.water-outline { background: linear-gradient(var(--night),var(--night)) padding-box, linear-gradient(120deg,#86B98E,#7FB6E8) border-box; border: 1px solid transparent; color: #C7E5F8; box-shadow: 0 0 32px rgba(127,182,232,.14); }
.closing { text-align: center; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 60px 64px 40px; min-height: 480px; background: radial-gradient(55% 55% at 50% 90%,rgba(255,107,20,.32),transparent 74%); }
.closing > * { max-width: 100%; }
/* Closing mark: same nested-arch geometry as the nav logo, scaled up to
   read as focal (2.4x nav). Ember gets more halo since it's on the amber
   glow field. */
.closing-mark { width: 130px; height: 86px; border-radius: 65px 65px 6px 6px; box-shadow: 0 0 60px rgba(255,107,20,.55); margin: 8px auto 22px; align-self: center; }
.closing-mark span { width: 74px; height: 48px; border-radius: 38px 38px 4px 4px; box-shadow: 0 0 30px rgba(255,138,43,.45); }
.footer { display: flex; justify-content: space-between; padding: 34px 64px 48px; color: var(--dim); font: 600 13px/1.5 'Cabin',sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.tienda { display: none; }
.tienda.is-enabled { display: block; }
.nocturna-interactive { cursor: none; }

/* §4 — button smoke: 12 JS-spawned particles, layer positioned per frame. */
[data-xhen-btnsmoke] {
  position: absolute; pointer-events: none; z-index: 30; opacity: 0;
  transition: opacity 300ms ease; overflow: visible;
  backdrop-filter: url(#smokeWarp) brightness(1.04);
  -webkit-backdrop-filter: url(#smokeWarp) brightness(1.04);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 34%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 34%, #000 100%);
}
[data-xhen-btnsmoke] > div {
  position: absolute; bottom: -6%; aspect-ratio: 1; border-radius: 50%; filter: blur(13px);
  background: radial-gradient(circle,
    rgba(255,214,168,.13) 0%, rgba(230,216,194,.065) 46%, rgba(210,202,188,0) 74%);
}
@keyframes btnSmoke {
  0%   { transform: translate3d(0, 40px, 0) scale(.55) rotate(0deg);      opacity: 0; }
  16%  { transform: translate3d(9px, 10px, 0) scale(.82) rotate(6deg);    opacity: .95; }
  34%  { transform: translate3d(-13px, -26px, 0) scale(1.08) rotate(-7deg); opacity: .72; }
  52%  { transform: translate3d(14px, -62px, 0) scale(1.32) rotate(9deg);  opacity: .46; }
  72%  { transform: translate3d(-11px, -100px, 0) scale(1.6) rotate(-6deg); opacity: .18; }
  100% { transform: translate3d(-22px, -152px, 0) scale(1.95) rotate(4deg); opacity: 0; }
}

/* §8 — ember cursor (4 layers). */
.fire-ember-wrap {
  position: absolute; left: 0; top: 0; z-index: 50; pointer-events: none;
  opacity: 0; transition: opacity 420ms ease;
  transform: translate3d(var(--fire-x, -9999px), var(--fire-y, -9999px), 0);
}
.is-pointer-active .fire-ember-wrap { opacity: 1; }
.ember-field {
  display: none;
  position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; border-radius: 50%;
  backdrop-filter: url(#emberWarp) brightness(.42) contrast(1.28) saturate(.5);
  -webkit-backdrop-filter: url(#emberWarp) brightness(.42) contrast(1.28) saturate(.5);
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 44%, rgba(0,0,0,0) 54%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 44%, rgba(0,0,0,0) 54%);
}
.ember-glow {
  position: absolute; left: -27px; top: -27px; width: 54px; height: 54px; border-radius: 50%;
  filter: blur(3px); animation: emberPulse 3.6s ease-in-out infinite;
  background: radial-gradient(circle,
    #FFFCE8 0%, #FFE29A 8%,
    #FF7A1E 14%, #C82A08 22%, #7A1A05 30%,
    rgba(255,150,50,.42) 46%, rgba(255,107,20,.14) 66%, rgba(255,107,20,0) 84%);
}
.ember-coal, .ember-cracks {
  position: absolute; left: -11px; top: -9px; width: 22px; height: 18px;
  clip-path: polygon(16% 44%, 34% 12%, 62% 4%, 84% 22%, 96% 52%, 88% 78%, 62% 96%, 34% 90%, 12% 70%);
}
.ember-coal {
  background: radial-gradient(ellipse 74% 82% at 50% 50%,
    #FFFFFF 0%, #FFFFFF 14%, #FFF6D2 26%, #FFCE72 42%, #FF9A34 62%, #D8480E 82%, #5A2109 100%);
  box-shadow: 0 0 18px rgba(255,240,200,.9), 0 0 40px rgba(255,140,40,.75), 0 0 78px rgba(255,107,20,.42);
  animation: emberFlicker 4.6s ease-in-out infinite;
}
.ember-cracks {
  mix-blend-mode: multiply; animation: emberFlicker 6.2s ease-in-out infinite;
  background: radial-gradient(ellipse 16% 20% at 18% 22%, rgba(60,26,10,.8) 0%, rgba(60,26,10,0) 74%),
              radial-gradient(ellipse 18% 16% at 84% 78%, rgba(48,20,8,.75) 0%, rgba(48,20,8,0) 76%);
}
@keyframes emberFlicker {
  0%,100% { filter: brightness(.92) saturate(1);    transform: rotate(-2deg) scale(.97); }
  28%     { filter: brightness(1.22) saturate(1.15); transform: rotate(1deg) scale(1.04); }
  54%     { filter: brightness(.86) saturate(.95);   transform: rotate(-1deg) scale(.99); }
  76%     { filter: brightness(1.14) saturate(1.1);  transform: rotate(2deg) scale(1.03); }
}
@keyframes emberPulse {
  0%,100% { transform: scale(.86); opacity: .85; }
  50%     { transform: scale(1.14); opacity: 1; }
}

/* §9 — smoke: trail while moving, column while idle. */
.fire-particles { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; }
.smoke-puff {
  position: absolute; border-radius: 50%; filter: blur(9px);
  background: radial-gradient(circle,
    rgba(238,224,200,.30) 0%, rgba(214,206,192,.13) 50%, rgba(207,199,184,0) 76%);
}
.spark {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0%, #FFF3C4 34%, #FFB13C 66%, #F2660F 100%);
  box-shadow: 0 0 8px rgba(255,236,180,.95), 0 0 20px rgba(255,150,50,.7);
}
.ember-idle-column { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity 700ms ease; }
.is-idle .ember-idle-column { opacity: 1; }
.ember-idle-puff {
  position: absolute; bottom: 2px; border-radius: 50%; filter: blur(10px);
  background: radial-gradient(circle,
    rgba(232,216,190,.13) 0%, rgba(207,199,184,.05) 54%, rgba(207,199,184,0) 78%);
  animation-name: emberRise; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes emberRise {
  0%   { transform: translate3d(0,0,0) scale(.45); opacity: 0; }
  16%  { opacity: .85; }
  100% { transform: translate3d(-26px,-190px,0) scale(2.3); opacity: 0; }
}
.fire-column {
  position: absolute; right: 2%; top: 0; bottom: 0; width: 560px; height: 100%;
  pointer-events: none; opacity: .85; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 44%, transparent 56%),
                      linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 44%, transparent 56%),
              linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
@keyframes xhenDrift {
  0%   { transform: translate3d(0, 60px, 0) scaleY(.94);   opacity: .25; }
  45%  { transform: translate3d(-26px, -30px, 0) scaleY(1.06); opacity: .95; }
  70%  { transform: translate3d(14px, -80px, 0) scaleY(1.12);  opacity: .8; }
  100% { transform: translate3d(0, 60px, 0) scaleY(.94);   opacity: .25; }
}

/* §10 — heat clone (controller clones the section). */
.fire-heat-mask {
  position: absolute; inset: 0; z-index: 2; opacity: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(130px at var(--fire-x) var(--fire-y),
    rgba(0,0,0,1) 0%, rgba(0,0,0,.8) 30%, rgba(0,0,0,.28) 58%, rgba(0,0,0,0) 78%);
  mask-image: radial-gradient(130px at var(--fire-x) var(--fire-y),
    rgba(0,0,0,1) 0%, rgba(0,0,0,.8) 30%, rgba(0,0,0,.28) 58%, rgba(0,0,0,0) 78%);
}
.is-pointer-active .fire-heat-mask { opacity: .72; }

.rain-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; -webkit-mask-image: radial-gradient(70% 80% at 28% 20%,black,transparent 78%); mask-image: radial-gradient(70% 80% at 28% 20%,black,transparent 78%); }
.raindrop { position: absolute; top: -80px; width: 2px; height: 74px; background: linear-gradient(180deg,transparent,#9FC0FF,transparent); transform: rotate(20.6deg); opacity: .55; animation: xhenRain var(--dur) linear infinite; animation-delay: var(--delay); left: var(--left); }

/* §12 — water: invisible lens + lightning. */
.water-lens {
  position: absolute; z-index: 40; pointer-events: none; opacity: 0;
  transition: opacity 320ms ease;
  left: var(--water-x, -9999px); top: var(--water-y, -9999px);
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  backdrop-filter: url(#waterWarp) brightness(1.06);
  -webkit-backdrop-filter: url(#waterWarp) brightness(1.06);
  animation: bubbleWobble 3.4s ease-in-out infinite;
}
.water-section.is-pointer-active .water-lens { opacity: 1; }
.water-ripple-layer { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.water-section.is-pointer-active .water-ripple-layer { opacity: 1; }
.water-drop { position: absolute; top: 0; width: 3px; margin-left: -1.5px; filter: blur(.4px); border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%; background: linear-gradient(180deg, rgba(200,230,252,.15) 0%, rgba(214,238,255,.6) 42%, rgba(240,250,255,.9) 100%); }
.water-active-ripple { position: absolute; border-radius: 50%; border: 1.5px solid rgba(190,224,250,.7); box-shadow: 0 0 10px rgba(150,200,240,.22); animation-name: xhenRipple; animation-timing-function: ease-out; animation-fill-mode: forwards; }
.water-bolt { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; }
.water-bolt.from-right { background: radial-gradient(105% 78% at 88% -8%, rgba(220,238,255,.55) 0%, rgba(180,214,250,.28) 20%, rgba(150,196,244,.10) 42%, rgba(150,196,244,0) 60%); }
.water-bolt.from-left  { background: radial-gradient(105% 78% at 12% -8%, rgba(220,238,255,.55) 0%, rgba(180,214,250,.28) 20%, rgba(150,196,244,.10) 42%, rgba(150,196,244,0) 60%); }
@keyframes lluviaBolt {
  0%   { opacity: 0; }
  5%   { opacity: .58; }
  11%  { opacity: .16; }
  19%  { opacity: 1; }
  34%  { opacity: .32; }
  52%  { opacity: .10; }
  100% { opacity: 0; }
}
@keyframes xhenRain { from { transform: translate3d(0,-60px,0) rotate(20.6deg); opacity: 0; } 12%,88% { opacity: .85; } to { transform: translate3d(-210px,560px,0) rotate(20.6deg); opacity: 0; } }
@keyframes bubbleWobble { 0%,100% { transform: scale(1); } 45% { transform: scale(1.08,.94); } }
@keyframes xhenRipple { 0% { transform: scale(.12); opacity: 0; } 9% { opacity: .86; } 34% { opacity: .72; } 100% { transform: scale(1); opacity: 0; } }

/* §13 — starfield. */
.xhen-stars, .xhen-moonwash, .xhen-feature-stars, .xhen-sky {
  position: fixed; inset: 0 0 -1400px 0; z-index: -1; pointer-events: none;
}
.xhen-stars { background-repeat: repeat-y; background-size: 100% 900px; will-change: transform; }
.xhen-stars-deep { opacity: .95; transform: translate3d(0, var(--star-deep, 0px), 0); }
.xhen-stars-far  { opacity: .90; transform: translate3d(0, var(--star-far, 0px), 0); }
.xhen-stars-near { opacity: .70; transform: translate3d(0, var(--star-near, 0px), 0); }
.xhen-moonwash { inset: 0; background: radial-gradient(120% 80% at 50% 40%, rgba(28,18,48,.85) 0%, rgba(14,9,26,.5) 45%, rgba(10,7,20,0) 75%); }
.xhen-feature-stars { inset: 0; background-repeat: no-repeat; background-image:
  radial-gradient(3.4px 3.4px at 24px 26%, rgba(255,252,240,1) 0%, rgba(255,222,160,.75) 38%, rgba(255,180,100,.18) 62%, rgba(255,170,90,0) 100%),
  radial-gradient(26px 26px at 24px 26%, rgba(255,186,110,.13) 0%, rgba(255,170,90,0) 70%),
  radial-gradient(2.8px 2.8px at calc(100% - 24px) 61%, rgba(255,250,236,.95) 0%, rgba(255,214,152,.6) 42%, rgba(255,170,90,0) 100%),
  radial-gradient(20px 20px at calc(100% - 24px) 61%, rgba(255,178,100,.1) 0%, rgba(255,170,90,0) 70%);
}
.xhen-sky { inset: 0; overflow: hidden; }
.xhen-shooting-star {
  position: absolute; width: 1.5px; margin-left: -.75px; filter: blur(.35px);
  border-radius: 50% 50% 46% 46% / 62% 62% 38% 38%;
  background: linear-gradient(180deg, rgba(226,236,255,.15) 0%, rgba(226,236,255,.6) 42%, rgba(248,252,255,.95) 100%);
  box-shadow: 0 0 5px rgba(214,232,255,.55);
}
@keyframes shootFly {
  0%   { transform: rotate(45deg) translate3d(0,0,0) scaleY(.5); opacity: 0; }
  10%  { opacity: 1; }
  70%  { opacity: .9; }
  100% { transform: rotate(45deg) translate3d(0, var(--sd), 0) scaleY(1.6); opacity: 0; }
}
@keyframes starTwinkle { 0%,100% { opacity: .6; } 50% { opacity: 1; } }

/* §15 — reduced motion covers all new layers. Not sufficient on its own (JS
   element.animate() calls still fire); every spawner also early-returns on
   this.reduced in the controllers. Keep both. */
@media (prefers-reduced-motion: reduce) {
  .nocturna-interactive, .fire-section, .water-section { cursor: auto; }
  .fire-ember-wrap, .fire-particles, .fire-column,
  .water-lens, .water-ripple-layer, .water-bolt,
  .rain-field, .fire-heat-mask,
  .xhen-stars, .xhen-feature-stars, .xhen-sky { display: none !important; }
  h1 em.warm-word { filter: none; }
  .fire-section .grid-2 > div, .fire-section .photo-grid .tile { filter: none; }
  .nocturna-page *, .nocturna-page *::before, .nocturna-page *::after {
    animation: none !important; transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
@media (max-width: 900px) {
  .nocturna-nav { padding: 22px; flex-wrap: wrap; gap: 18px; }
  .nocturna-links { display: none; }
  .xhen-socket { display: none; }
  .section, .hero-content, .closing, .footer { padding-left: 24px; padding-right: 24px; }
  h1 { font-size: 66px; }
  h2, .subbrand-title { font-size: 48px; }
  .grid-2, .room-grid, .menu-layout, .amenity-grid, .meta-grid, .stat-grid { grid-template-columns: 1fr; }
  .stat { padding: 20px; font-size: 13px; }
  /* Mobile hero uses the portrait-cropped hero-mobile.jpg via <picture>;
     neutral transform since moon is already composed in-frame. */
  .hero-img { transform: none; object-position: center; }
  .seal { padding: 24px 28px; }
  .seal p { white-space: normal; font-size: 26px; }
  .nocturna-page { max-width: 100vw; overflow-x: hidden; }

  /* Section rhythm on mobile: desktop 110/96 stacks with seal-band and greca
     padding at every boundary, so mobile reads as canyons of dead navy between
     each section. Halve the vertical padding across the board. */
  .section { padding-top: 56px; padding-bottom: 48px; }
  .seal-band { padding: 32px 24px 24px; }
  .greca { padding: 8px 0; }

  /* Buttons: tighten padding so TELL ME WHEN IT BURNS wraps to 3 lines max
     inside a narrow .cta-row cell. */
  .nocturna-btn, .nocturna-ghost { padding: 14px 18px; font-size: 12.5px; letter-spacing: .10em; }
  .cta-row { gap: 12px; }

  /* Fire section: circular sun instead of vertical pillar. */
  .fire-section {
    background: radial-gradient(circle 95vw at 50% 0%,
      #FFFDF6 0%, #FFF8E2 4%, #FFE7AE 8%, #FFC163 14%, #E8801F 20%,
      #A64E15 27%, #55290F 35%, #2E1A10 43%, #1A1726 52%, #0B1020 62%);
  }

  /* Mobile-only sizing overrides on the subhead + pill so they fit inline
     at 375px. Layout rules are outside the media query — applied everywhere. */
  .fire-section .grid-2 > div:first-child > .ui-label,
  .water-section .grid-2 > div:first-child > .ui-label { font-size: 11px; letter-spacing: .10em; }
  .fire-section .grid-2 > div:first-child > .pill,
  .water-section .grid-2 > div:first-child > .pill { font-size: 9.5px; letter-spacing: .10em; padding: 4px 9px; min-height: 0; }

  /* Reduce the vertical gap between the section header block and the
     meta-grid/description below it — the desktop grid-2 gap is 72px
     which reads as a canyon once the two columns stack. */
  .grid-2 { row-gap: 24px; }

  /* Fire section right column: meta-grid kept as 2x2 (not stacked) and moved
     above the paragraph so the tags read before the description. */
  .fire-section .grid-2 > div + div { display: flex; flex-direction: column; margin-top: 0; }
  .fire-section .meta-grid { grid-template-columns: 1fr 1fr !important; order: -1; margin-bottom: 20px; }
  .fire-section .meta { padding: 14px; font-size: 12px; }
  .water-section .meta-grid { grid-template-columns: 1fr 1fr !important; }
  .water-section .meta { padding: 12px; font-size: 11px; letter-spacing: .10em; }

  /* Kickers use &nbsp; separators to stay single-line at desktop; on mobile
     that unbreakable string pushes the grid track wider than viewport and
     the right column clips body-copy mid-word. Allow wrap. */
  .section .kicker { white-space: normal; overflow-wrap: anywhere; }
  /* Grid tracks default to min-content — force min-width: 0 so 1fr means
     1fr, not width-of-widest-child. */
  .grid-2 > div, .section > div { min-width: 0; }

  /* Fire section heat distortion on mobile: swap to the auto-animated
     heatWarpMobile filter since there's no pointer to drive the desktop
     one. Text + photos always warp gently. */
  .fire-section .grid-2 > div, .fire-section .photo-grid .tile { filter: url(#heatWarpMobile); }

  /* Fire photo grid: mesa spans the full top row, camara + lumbre share the
     bottom row. Grow origins re-anchored per Fernando: mesa grows straight
     down, camara grows up-right, lumbre grows up-left. */
  .fire-section .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 180px; }
  .fire-section .photo-grid .tile.large { grid-column: span 2; grid-row: 1; }
  .fire-section .photo-grid .tile.grow-dl { transform-origin: top center; }
  .fire-section .photo-grid .tile.grow-ur { transform-origin: bottom left; }
  .fire-section .photo-grid .tile.grow-ul { transform-origin: bottom right; }

  /* Water section: morning-glory tile grows LEFT only so it doesn't
     spill past the right edge on mobile. */
  .water-section .photo-grid .tile.grow-dl { transform-origin: right center; }

  /* Closing section mobile: same flex anchoring, smaller min-height. */
  .closing { padding: 40px 24px 40px; min-height: 380px; background: radial-gradient(55% 55% at 50% 88%, rgba(255,107,20,.34), transparent 74%); }

  /* Footer: stack vertically with breathing room so 'CASA XHEN' + region +
     mailto don't collide into one wall of text. */
  .footer { flex-direction: column; align-items: center; gap: 10px; text-align: center; padding-top: 24px; padding-bottom: 32px; }
  .footer span { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
}

/* ---- rooms index ------------------------------------------------------- */
.rooms-hero { padding: 96px 64px 76px; background: radial-gradient(120% 90% at 50% -20%, rgba(255,150,50,.10) 0%, rgba(255,120,30,.04) 34%, rgba(11,16,32,0) 66%); display: flex; flex-direction: column; gap: 26px; }
.rooms-hero-title { margin: 0; max-width: 1040px; font-size: 78px; font-weight: 300; line-height: 1.02; letter-spacing: -.015em; color: #FFFEFA; text-wrap: pretty; }
.rooms-hero-title em { font-style: italic; color: #FFB765; text-shadow: 0 0 60px rgba(255,107,20,.45); }
.rooms-hero-lead { margin: 0; max-width: 820px; font-size: 25px; font-weight: 300; line-height: 1.5; color: #CBBBA4; text-wrap: pretty; }

.rooms-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 84px 64px 0; padding-bottom: 18px; border-bottom: 1px solid rgba(240,168,104,.16); }
.rooms-head-title { margin: 0; font-family: Cabin, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #FFFBF0; white-space: nowrap; }
.rooms-head-meta { font-family: Cabin, sans-serif; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: #7C6E5C; white-space: nowrap; flex-shrink: 0; }

.room-row { display: grid; margin: 44px 64px 0; }
.room-row--open { grid-template-columns: 1.05fr 1fr; border: 1px solid rgba(240,168,104,.2); background: linear-gradient(180deg, rgba(255,150,50,.05), rgba(11,16,32,0) 60%); }
.room-row--closed { grid-template-columns: 1fr 1.05fr; margin-top: 26px; border: 1px solid rgba(201,174,134,.16); }
.room-row-photo { position: relative; min-height: 560px; overflow: hidden; border-right: 1px solid rgba(240,168,104,.14); }
.room-row--closed .room-row-photo { min-height: 420px; border-right: 0; border-left: 1px solid rgba(201,174,134,.14); }
.room-row-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The rotation crops a blue water tank out of the Nagu frame. Do not "correct" it. */
.room-row--open .room-row-img { transform: translateY(10px) rotate(-2deg) scale(1.17); filter: saturate(1.04) contrast(1.03) brightness(.94); transition: transform 900ms cubic-bezier(.2,.7,.2,1); }
.room-row--open:hover .room-row-img { transform: translateY(6px) rotate(-2deg) scale(1.22); }
.room-row-photo--dim .room-row-img { filter: brightness(.82) saturate(.94); }
.room-row-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,16,32,0) 55%, rgba(11,16,32,.5) 100%); }
.room-row-scrim--flat { background: rgba(11,16,32,.55); }

.room-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; font-family: Cabin, sans-serif; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.room-badge--available { position: absolute; left: 26px; top: 26px; font-weight: 700; border: 1px solid rgba(255,154,46,.55); background: rgba(11,16,32,.78); }
.room-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(180deg,#FFE07A,#FF8A2B); animation: xhenDot 3.4s ease-in-out infinite; }
.room-badge-label { background: linear-gradient(90deg,#FFE07A,#FF9A2E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.room-badge--closed { align-self: flex-start; font-weight: 600; border: 1px solid rgba(201,174,134,.42); color: #C9AE86; }
@keyframes xhenDot { 0%, 100% { opacity: .55; transform: scale(.86); } 46% { opacity: 1; transform: scale(1.08); } }

.room-row-body { padding: 44px 46px 46px; display: flex; flex-direction: column; gap: 28px; }
.room-row--closed .room-row-body { gap: 26px; justify-content: center; }
.room-row-head { display: flex; flex-direction: column; gap: 12px; }
.room-row-name { margin: 0; font-size: 46px; font-weight: 300; line-height: 1.05; color: #FFFEFA; }
.room-row--closed .room-row-name { color: #EFE3D2; }
.room-row-meta { color: #B7A587; text-wrap: balance; }
.room-row--closed .room-row-meta { color: #8C7E6A; white-space: nowrap; }
.room-row-copy { margin: 0; font-size: 19px; line-height: 1.62; }
.room-row-copy--muted { max-width: 520px; color: #B3A48F; }

.room-amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 28px; padding: 24px 0; border-top: 1px solid rgba(240,168,104,.16); border-bottom: 1px solid rgba(240,168,104,.16); }
.room-amenity-group { display: flex; flex-direction: column; gap: 8px; }
.room-amenity-label { font-family: Cabin, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #7C6E5C; white-space: nowrap; }
.room-amenity-items { display: flex; flex-direction: column; gap: 2px; font-size: 16px; font-weight: 300; line-height: 1.6; color: #DCCDB6; }

.room-row-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.room-price { display: flex; flex-direction: column; gap: 6px; }
.room-price-line { display: flex; align-items: baseline; gap: 10px; }
.room-price-value { font-size: 52px; font-weight: 300; line-height: 1; color: #FFB765; text-shadow: 0 0 54px rgba(255,107,20,.4); }
.room-price-unit, .room-price-note, .room-notify-note { white-space: nowrap; color: #B7A587; }
.room-price-note, .room-notify-note { font-size: 11px; letter-spacing: .18em; color: #7C6E5C; }

.rooms-fire { display: grid; grid-template-columns: 1fr 1fr; margin: 26px 64px 0; border: 1px solid rgba(255,154,46,.22); background: radial-gradient(120% 120% at 0% 0%, rgba(255,150,50,.13) 0%, rgba(255,107,20,.05) 38%, rgba(11,16,32,0) 72%); }
.rooms-fire-photo { position: relative; min-height: 340px; overflow: hidden; }
.rooms-fire-scrim { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(11,16,32,.85) 0%, rgba(11,16,32,.15) 46%, rgba(11,16,32,0) 100%); }
.rooms-fire-body { padding: 44px 46px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.rooms-fire-kicker-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rooms-fire-kicker { font-family: Cabin, sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: #FFFBF0; white-space: nowrap; text-shadow: 0 0 12px rgba(255,240,205,.85), 0 0 30px rgba(255,150,50,.6); }
.rooms-fire-title { margin: 0; font-size: 38px; font-weight: 300; line-height: 1.12; color: #FFFEFA; text-wrap: pretty; }
.rooms-fire-link { align-self: flex-start; font-family: Cabin, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid rgba(240,168,104,.42); padding-bottom: 5px; }

.rooms-practical { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin: 64px 64px 0; padding-top: 34px; border-top: 1px solid rgba(240,168,104,.16); }
.rooms-practical-item { display: flex; flex-direction: column; gap: 10px; }
.rooms-practical-label { font-family: Cabin, sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #F0A868; white-space: nowrap; }
.rooms-practical-body { font-size: 18px; font-weight: 300; line-height: 1.55; color: #CBBBA4; }

@media (max-width: 900px) {
  .rooms-hero { padding: 64px 24px 48px; }
  .rooms-hero-title { font-size: 46px; }
  .rooms-hero-lead { font-size: 20px; }
  .rooms-head { margin: 56px 24px 0; flex-direction: column; align-items: flex-start; gap: 10px; }
  .room-row, .room-row--closed, .rooms-fire { grid-template-columns: 1fr; margin: 24px 24px 0; }
  .room-row--closed .room-row-photo { order: -1; border-left: 0; border-bottom: 1px solid rgba(201,174,134,.14); }
  .rooms-fire-photo, .room-row-photo { min-height: 300px; }
  .room-row-body, .rooms-fire-body { padding: 28px 24px 32px; }
  .room-row-name { font-size: 34px; }
  .room-amenities { grid-template-columns: repeat(2, 1fr); }
  .rooms-practical { grid-template-columns: repeat(2, 1fr); margin: 44px 24px 0; gap: 28px; }
}

/* ---- checkout nav marker ------------------------------------------------ */
.nocturna-secure { display: inline-flex; align-items: center; gap: 9px; font-family: Cabin, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #B7A587; white-space: nowrap; }
.nocturna-secure-dot { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(180deg,#B6E4A6,#5FA97C); box-shadow: 0 0 12px rgba(120,220,140,.5); }

/* ---- checkout ---------------------------------------------------------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: 64px; padding: 118px 64px 96px; align-items: start; }
.checkout-main { display: flex; flex-direction: column; gap: 44px; max-width: 760px; }
.checkout-head { display: flex; flex-direction: column; gap: 18px; }
.checkout-back { font-family: Cabin, sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.checkout-title { margin: 0; font-size: 58px; font-weight: 300; line-height: 1.05; letter-spacing: -.012em; color: #FFFEFA; }
.checkout-title em { font-style: italic; color: #FFB765; text-shadow: 0 0 60px rgba(255,107,20,.45); }
.checkout-lead { margin: 0; max-width: 620px; font-size: 20px; font-weight: 300; line-height: 1.55; color: #CBBBA4; text-wrap: pretty; }

.checkout-errors { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; border: 1px solid rgba(216,69,28,.6); background: rgba(90,25,10,.28); }
.checkout-errors-label { font-family: Cabin, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #FF9A6E; white-space: nowrap; }
.checkout-errors-item { font-size: 17px; font-weight: 300; line-height: 1.6; color: #F3D9CC; }

#checkout-form { display: flex; flex-direction: column; gap: 44px; }
.checkout-step { display: flex; flex-direction: column; gap: 22px; }
.checkout-step-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(240,168,104,.16); }
.checkout-step-num { font-family: Cabin, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .22em; color: #F0A868; }
.checkout-step-title { margin: 0; font-family: Cabin, sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #FFFBF0; white-space: nowrap; }
.checkout-note { font-family: Cabin, sans-serif; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7C6E5C; }

.checkout-fields { display: grid; gap: 22px; }
.checkout-fields--2 { grid-template-columns: 1fr 1fr; }
.checkout-fields--email { grid-template-columns: 1.6fr 1fr; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field-label { font-family: Cabin, sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #B7A587; white-space: nowrap; }
.field-input { width: 100%; padding: 15px 16px; background: rgba(255,255,255,.03); border: 1px solid rgba(240,168,104,.26); border-radius: 2px; color: #FFFEFA; font-family: Spectral, Georgia, serif; font-size: 18px; font-weight: 300; transition: border-color 220ms ease, box-shadow 220ms ease; }
.field-input::placeholder { color: #6B6152; }
.field-input:focus { outline: none; border-color: rgba(255,154,46,.7); box-shadow: 0 0 0 3px rgba(255,138,43,.14); }
/* Kill Chrome/Edge autofill's cream/white flash. inset box-shadow is the
   only way to overpaint the browser's forced yellow-tint background on
   -webkit-autofill; -webkit-text-fill-color is the only way to force the
   text colour on top of it. 5000s transition is a well-known dodge for the
   focus-lift animation the autofill triggers. */
.field-input:-webkit-autofill,
.field-input:-webkit-autofill:hover,
.field-input:-webkit-autofill:focus,
.correspondence-field input:-webkit-autofill,
.correspondence-field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px rgba(11,16,32,.55) inset !important;
  -webkit-text-fill-color: #FFFEFA !important;
  caret-color: #FFFEFA;
  transition: background-color 5000s ease-in-out 0s;
}
.field-input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(72%) sepia(38%) saturate(720%) hue-rotate(335deg); cursor: pointer; }
.field-error { font-size: 15px; color: #FF9A6E; min-height: 1em; }

.checkout-rail { position: sticky; top: 32px; display: flex; flex-direction: column; border: 1px solid rgba(240,168,104,.22); background: linear-gradient(180deg, rgba(255,150,50,.06), rgba(11,16,32,0) 55%); }
.rail-photo { position: relative; height: 220px; overflow: hidden; border-bottom: 1px solid rgba(240,168,104,.16); }
.rail-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translateY(6px) rotate(-2deg) scale(1.18); filter: saturate(1.04) contrast(1.03) brightness(.9); }
.rail-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,16,32,0) 40%, rgba(11,16,32,.86) 100%); }
.rail-photo-text { position: absolute; left: 22px; bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.rail-room-name { font-size: 28px; font-weight: 300; line-height: 1; color: #FFFEFA; }
.rail-room-meta { font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: #B7A587; white-space: nowrap; }

.rail-body { display: flex; flex-direction: column; gap: 16px; padding: 26px 24px; }
.rail-line { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.rail-key { font-family: Cabin, sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #7C6E5C; white-space: nowrap; min-width: 0; }
.rail-val { font-size: 17px; font-weight: 300; color: #DCCDB6; text-align: right; white-space: nowrap; }
.rail-rule { height: 1px; background: rgba(240,168,104,.16); }
.rail-total-key { font-family: Cabin, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #B7A587; white-space: nowrap; min-width: 0; }
.rail-total { font-size: 40px; font-weight: 300; line-height: 1; color: #FFB765; text-shadow: 0 0 48px rgba(255,107,20,.42); white-space: nowrap; }
.rail-currency { font-family: Cabin, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: #B7A587; }
.rail-submit { margin-top: 6px; width: 100%; text-align: center; border: 0; cursor: pointer; }
.rail-fine { font-size: 15px; font-weight: 300; line-height: 1.55; color: #9C8F7C; }
.rail-fine a { color: #FFC98F; text-decoration: underline; text-underline-offset: 3px; }
.checkout-submit-inline { display: none; }

@media (max-width: 1000px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 32px; padding: 104px 24px 64px; }
  .checkout-rail { position: static; order: -1; }
  .rail-submit { display: none; }
  .checkout-submit-inline { display: block; }
  .checkout-submit-inline .nocturna-btn { width: 100%; border: 0; cursor: pointer; }
  .checkout-title { font-size: 40px; }
  .checkout-fields--2, .checkout-fields--email { grid-template-columns: 1fr; }
}

/* ---- locked field ------------------------------------------------------ */
.field-static { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 15px 16px; border: 1px solid rgba(240,168,104,.14); background: rgba(255,255,255,.015); color: #DCCDB6; font-size: 18px; font-weight: 300; }
.field-static-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.field-static-tag { flex-shrink: 0; font-family: Cabin, sans-serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #6B6152; white-space: nowrap; }
.field-input--select { appearance: none; }
.field-input--select option { background: #14182B; color: #FFFEFA; }

/* ---- receipt ----------------------------------------------------------- */
.receipt-hero { position: relative; overflow: hidden; padding: 88px 64px 76px; border-bottom: 1px solid rgba(240,168,104,.16); }
.receipt-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.34) saturate(.9); }
.receipt-hero-glow { position: absolute; inset: 0; background: radial-gradient(90% 130% at 22% 120%, rgba(255,150,50,.34) 0%, rgba(255,107,20,.12) 32%, rgba(11,16,32,.9) 68%, #0B1020 100%); }
.receipt-hero-body { position: relative; display: flex; flex-direction: column; gap: 22px; max-width: 840px; }
.receipt-hero-kicker { display: flex; align-items: center; gap: 13px; font-family: Cabin, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #FFD9A8; white-space: nowrap; }
.receipt-ember { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle,#FFF3C4 0%,#FFB765 40%,#E2711A 100%); box-shadow: 0 0 14px rgba(255,180,90,.9), 0 0 34px rgba(255,120,30,.5); animation: xhenEmberPulse 3.6s ease-in-out infinite; }
@keyframes xhenEmberPulse { 0%, 100% { opacity: .5; transform: scale(.94); } 50% { opacity: .95; transform: scale(1.06); } }
.receipt-title { margin: 0; font-size: 64px; font-weight: 300; line-height: 1.04; letter-spacing: -.014em; color: #FFFEFA; text-wrap: pretty; }
.receipt-title em { font-style: italic; color: #FFB765; text-shadow: 0 0 60px rgba(255,107,20,.5); }
.receipt-lead { margin: 0; max-width: 660px; font-size: 21px; font-weight: 300; line-height: 1.55; color: #D6C6AE; text-wrap: pretty; }

.receipt-band { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(240,168,104,.14); }
.receipt-band-cell { display: flex; flex-direction: column; gap: 8px; padding: 34px 64px; }
.receipt-band-cell:first-child { border-right: 1px solid rgba(240,168,104,.14); }
.receipt-band-label { font-family: Cabin, sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #7C6E5C; white-space: nowrap; }
.receipt-band-value { display: flex; align-items: baseline; gap: 9px; font-size: 40px; font-weight: 300; line-height: 1; color: #FFFEFA; white-space: nowrap; }
.receipt-band-value--hot { color: #FFB765; text-shadow: 0 0 48px rgba(255,107,20,.4); }
.receipt-band-sub { font-family: Cabin, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #B7A587; }

.receipt-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; padding: 56px 64px 76px; align-items: start; }
.receipt-main { display: flex; flex-direction: column; gap: 44px; }
.receipt-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 28px; }
.receipt-fact { display: flex; flex-direction: column; gap: 8px; }
.receipt-fact-label { font-family: Cabin, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #7C6E5C; white-space: nowrap; }
.receipt-fact-value { font-size: 19px; font-weight: 300; line-height: 1.5; color: #DCCDB6; }
.receipt-fact-sub { display: block; font-size: 15px; color: #9C8F7C; }
.receipt-status { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 7px 13px; border: 1px solid rgba(255,154,46,.45); font-family: Cabin, sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #FFD9A8; white-space: nowrap; }

.receipt-steps { display: flex; flex-direction: column; gap: 20px; }
.receipt-step { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; }
.receipt-step-num { font-family: Cabin, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #F0A868; padding-top: 4px; }
.receipt-step-body { font-size: 18px; font-weight: 300; line-height: 1.55; color: #CBBBA4; text-wrap: pretty; }

.receipt-rail { display: flex; flex-direction: column; gap: 26px; padding: 30px 28px; border: 1px solid rgba(240,168,104,.18); background: linear-gradient(180deg, rgba(255,150,50,.05), rgba(11,16,32,0) 60%); }
.receipt-rail-block { display: flex; flex-direction: column; gap: 14px; }
.receipt-rail-label { font-family: Cabin, sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: #7C6E5C; white-space: nowrap; }
.receipt-rail-rows { display: flex; flex-direction: column; gap: 9px; font-size: 16px; font-weight: 300; line-height: 1.5; color: #DCCDB6; }
.receipt-rail-row { display: flex; justify-content: space-between; gap: 14px; min-width: 0; }
.receipt-rail-row > span:first-child { color: #9C8F7C; flex-shrink: 0; }
.receipt-rail-id { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.receipt-address { font-size: 16px; font-weight: 300; line-height: 1.65; color: #DCCDB6; }
.receipt-rail-cta { display: block; text-align: center; }
.receipt-date { color: #C4B49C; }

.receipt-fire { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,154,46,.22); background: radial-gradient(120% 120% at 0% 0%, rgba(255,150,50,.13) 0%, rgba(255,107,20,.05) 38%, rgba(11,16,32,0) 72%); }
.receipt-fire-photo { position: relative; min-height: 320px; overflow: hidden; }
.receipt-fire-img { transform: none; filter: brightness(.9); }
.receipt-fire-body { padding: 48px 64px 48px 46px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.receipt-fire-title { margin: 0; font-size: 34px; font-weight: 300; line-height: 1.14; color: #FFFEFA; text-wrap: pretty; }

@media (max-width: 1000px) {
  .receipt-hero { padding: 56px 24px 44px; }
  .receipt-title { font-size: 40px; }
  .receipt-lead { font-size: 18px; }
  .receipt-band { grid-template-columns: 1fr; }
  .receipt-band-cell { padding: 24px; }
  .receipt-band-cell:first-child { border-right: 0; border-bottom: 1px solid rgba(240,168,104,.14); }
  .receipt-grid { grid-template-columns: 1fr; gap: 36px; padding: 36px 24px 56px; }
  .receipt-facts { grid-template-columns: repeat(2, 1fr); }
  .receipt-fire { grid-template-columns: 1fr; }
  .receipt-fire-photo { min-height: 260px; }
  .receipt-fire-body { padding: 32px 24px; }
}

/* ---- location page ----------------------------------------------------- */
.location-body { display: grid; grid-template-columns: 1fr 1.6fr; gap: 44px; padding: 56px 64px 96px; align-items: start; }
.location-info { display: flex; flex-direction: column; gap: 20px; padding: 32px 32px 34px; border: 1px solid rgba(240,168,104,.22); background: linear-gradient(180deg, rgba(255,150,50,.05), rgba(11,16,32,0) 60%); }
.location-info-title { margin: 0; font-size: 36px; font-weight: 300; line-height: 1.05; color: #FFFEFA; }
.location-facts { margin: 6px 0 6px; display: flex; flex-direction: column; gap: 14px; }
.location-fact dt { color: #7C6E5C; font-size: 11px; margin-bottom: 4px; }
.location-fact dd { margin: 0; font-size: 16px; color: #DCCDB6; }
.location-info .nocturna-ghost { align-self: flex-start; margin-top: 6px; }

.location-map-panel { padding: 12px; border: 1px solid rgba(240,168,104,.22); background: rgba(255,253,244,.96); border-radius: 4px; }
.location-map { width: 100%; height: 480px; border: 0; display: block; border-radius: 2px; }

@media (max-width: 900px) {
  .location-body { grid-template-columns: 1fr; padding: 40px 24px 64px; gap: 28px; }
  .location-info { padding: 24px; }
  .location-map { height: 380px; }
}

/* ---- room show --------------------------------------------------------- */
.room-show-hero { display: flex; flex-direction: column; gap: 22px; }
.room-show-hero-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 12px; padding-top: 26px; border-top: 1px solid rgba(240,168,104,.16); }

.room-show-photos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin: 36px 64px 0; }
.room-show-photo { position: relative; margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; border: 1px solid rgba(240,168,104,.14); }
.room-show-photo:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.room-show-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.7,.2,1); filter: saturate(1.02) brightness(.98); }
.room-show-photo:hover img { transform: scale(1.04); }

.room-show-body { display: flex; flex-direction: column; gap: 56px; padding: 76px 64px 96px; max-width: 1180px; }
.room-show-body .kicker { color: #F0A868; margin-bottom: 18px; }
.room-show-copy .body-copy { max-width: 780px; }
.room-show-amenities { padding: 28px 0; border-top: 1px solid rgba(240,168,104,.16); border-bottom: 1px solid rgba(240,168,104,.16); }
.room-show-amenities .room-amenities { border: 0; padding: 0; }

.room-show-calendar-panel { padding: 20px; background: rgba(255,253,244,.96); border: 1px solid rgba(240,168,104,.28); border-radius: 4px; color: #1A0C04; }
.room-show-calendar-panel a, .room-show-calendar-panel button { color: inherit; }

.room-show-book { display: flex; flex-direction: column; gap: 18px; padding: 34px 36px; border: 1px solid rgba(240,168,104,.28); background: linear-gradient(180deg, rgba(255,150,50,.05), rgba(11,16,32,0) 60%); max-width: 620px; }
.room-show-book-form { display: flex; flex-direction: column; gap: 20px; margin-top: 6px; }
.room-show-book-meta { color: #B7A587; min-height: 1em; }
.room-show-book-meta.hidden { display: none; }
.room-show-book-error { padding: 12px 16px; border: 1px solid rgba(216,69,28,.6); background: rgba(90,25,10,.28); color: #F3D9CC; font-size: 15px; }
.room-show-book-error.hidden { display: none; }
.room-show-book .nocturna-btn { border: 0; cursor: pointer; }
.room-show-book .nocturna-btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

@media (max-width: 900px) {
  .room-show-photos { grid-template-columns: 1fr 1fr; margin: 24px 24px 0; }
  .room-show-photo:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .room-show-body { padding: 48px 24px 64px; gap: 40px; }
  .room-show-book { padding: 24px; }
}

/* ---- contact page ------------------------------------------------------ */
.contact-body { padding: 20px 64px 64px; max-width: 1180px; display: flex; flex-direction: column; gap: 20px; }
/* Contact hero: tighter so the form's Send Message CTA fits above the fold. */
.rooms-page:has(.contact-body) .rooms-hero { padding: 118px 64px 24px; gap: 14px; }
.rooms-page:has(.contact-body) .rooms-hero-title { font-size: 54px; }
.rooms-page:has(.contact-body) .rooms-hero-lead { font-size: 19px; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; align-items: start; }
.contact-form-wrap { display: flex; flex-direction: column; gap: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .nocturna-btn { border: 0; cursor: pointer; align-self: flex-start; min-width: 200px; }
.contact-whatsapp { display: flex; flex-direction: column; gap: 18px; padding: 30px 30px 32px; border: 1px solid rgba(240,168,104,.22); background: linear-gradient(180deg, rgba(255,150,50,.05), rgba(11,16,32,0) 60%); }
.contact-whatsapp .nocturna-ghost { align-self: flex-start; }
.contact-flash { padding: 14px 18px; border: 1px solid var(--amber-hot); border-radius: 3px; color: var(--cream); background: rgba(255,154,46,.12); font-family: 'Spectral', Georgia, serif; }
.contact-alert { padding: 14px 18px; border: 1px solid #C4441A; border-radius: 3px; color: #FFC98F; background: rgba(196,68,26,.16); font-family: 'Spectral', Georgia, serif; }

@media (max-width: 900px) {
  .contact-body { padding: 40px 24px 64px; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-whatsapp { padding: 24px; }
}

/* Ahumado en Barro right-column: push the paragraph down past the sun's
   bright zone in the upper-right of the fire section, otherwise the first
   couple of lines wash out against the glow. */
.fire-section .grid-2 > div + div { margin-top: 90px; }
@media (max-width: 900px) {
  .fire-section .grid-2 > div + div { margin-top: 0; }
}
