@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #15171c;
  --surface: #22252c;
  --control: #2d3038;
  --ink: #f5f1e8;
  --muted: #c4c5c9;
  --line: #41454d;
  --gold: #e6c181;
  --on-gold: #251f15;
  --face: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(18px, 4.8vw, 80px);
  --glass-surface: linear-gradient(125deg, rgb(43 42 45 / 69%), rgb(16 19 23 / 81%));
  --glass-border: rgb(255 255 255 / 27%);
  --glass-filter: blur(16px) saturate(1.15);
  --glass-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 4px 18px rgb(0 0 0 / 18%);
  --section: clamp(60px, 6.3vw, 100px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 1rem/1.5 var(--face); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { background: none; border: 0; }
button, select, summary { cursor: pointer; }
button, input, select, a { touch-action: manipulation; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: 1.045; letter-spacing: -.055em; }
h3 { font-size: clamp(1.4rem, 2.1vw, 2.1rem); line-height: 1.14; letter-spacing: -.04em; }
p { color: var(--muted); }
:where(a, button, input, select, summary, textarea):focus-visible { outline: 2px solid #ffdb97; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: fixed; z-index: 50; top: -100px; left: 12px; padding: 12px 20px; background: var(--ink); color: var(--canvas); border-radius: 6px; }
.skip:focus { top: 10px; }
.kicker, .room-meta { font-size: .73rem; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--gold); }
.kicker { margin-bottom: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 23px; border: 1px solid transparent; border-radius: 32px; color: var(--ink); background: var(--control); line-height: 1.25; font-weight: 500; }
.btn.gold, .btn.rust, .btn.dark { background: var(--gold); color: var(--on-gold); }
.btn.gold:hover, .btn.rust:hover, .btn.dark:hover { background: #f5d7a4; }
.btn.ghost, .btn.reserve { border-color: rgb(255 255 255 / 50%); color: white; background: rgb(17 20 24 / 32%); }
.btn.ghost:hover, .btn.reserve:hover { background: rgb(17 20 24 / 75%); border-color: white; }
:where(.btn, .exp-selector button, .room-link, .icon-button, .round) { transition: background-color .18s, border-color .18s, color .18s; }
.icon-button, .round, .detail-gallery button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.text-link, .light-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover, .light-link:hover { color: #ffe1ae; }

/* The transparent signature sits directly on the photograph. */
.masthead { position: absolute; z-index: 5; inset: 0 0 auto; color: #fff; }
.header-inner { min-height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "brand nav action"; gap: 24px; align-items: center; border-bottom: 1px solid rgb(255 255 255 / 22%); }
.brand-signature { grid-area: brand; display: inline-flex; width: fit-content; align-items: center; min-height: 52px; }
.logo-white { display: block; width: clamp(118px, 10vw, 145px); aspect-ratio: 3; background: #fff; mask: url("assets/logo-horizontal.png") center / contain no-repeat; mask-mode: luminance; }
.header-inner nav { grid-area: nav; display: flex; gap: clamp(17px, 2.5vw, 38px); align-items: center; }
.header-inner nav a, .contact-nav { display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; }
.header-inner nav a:hover, .contact-nav:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-actions { grid-area: action; display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.nav-actions .btn { white-space: nowrap; min-height: 42px; padding-inline: 18px; font-size: .92rem; }
.nav-actions .icon { width: 17px; }
.nav-toggle, .header-inner nav .mobile-contact { display: none; }
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; min-height: clamp(610px, 81svh, 850px); background: #293733; color: #fff; text-align: center; }
.hero-images { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
.hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
  opacity: 0;
  transform: scale(1.05);
}
.hero-frame.is-previous { opacity: 1; z-index: 1; }
.hero-frame.is-current { opacity: 1; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-frame.is-entering {
    animation: hero-arrive 1100ms cubic-bezier(.35, 0, .2, 1) both;
  }
  .hero-frame.is-previous {
    animation: hero-depart 1100ms cubic-bezier(.35, 0, .2, 1) both;
  }
}
@keyframes hero-arrive {
  from { opacity: 0; transform: translateX(var(--arrival-shift, 1.7%)) scale(1.05); }
  to { opacity: 1; transform: translateX(0) scale(1.05); }
}
@keyframes hero-depart {
  from { transform: translateX(0) scale(1.05); }
  to { transform: translateX(var(--departure-shift, -1.7%)) scale(1.05); }
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(9 14 18 / 62%), rgb(13 19 25 / 34%) 23%, rgb(12 19 24 / 48%) 60%, rgb(10 14 18 / 72%) 100%); }
.hero-content { margin-block: auto; padding: 116px var(--gutter) 32px; }
.hero-location { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 6px; font-size: .76rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 500; text-shadow: 0 1px 6px #111; }
.hero-location:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-location .icon { width: 15px; height: 15px; }
.hero h1 { margin: 11px auto 20px; font-size: clamp(3.7rem, 6.8vw, 7rem); letter-spacing: -.065em; line-height: .99; text-shadow: 0 2px 18px #1018204d; }
.hero-content>p { margin-inline: auto; max-width: 38rem; color: #fff; font-size: clamp(1rem, 1.35vw, 1.2rem); text-wrap: balance; text-shadow: 0 1px 5px #15171c; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.hero-actions .btn { min-height: 48px; }
.gallery-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; }
.gallery-legend { display: flex; align-items: center; gap: 13px; font-size: .85rem; }
#slide-number { font-size: .69rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; padding-right: 13px; border-right: 1px solid rgb(255 255 255 / 50%); white-space: nowrap; }
.slide-controls { display: flex; gap: 7px; }
.slide-controls .icon-button, .detail-gallery button, .detail-close { background: rgb(15 17 21 / 55%); color: #fff; border: 1px solid rgb(255 255 255 / 52%); }
.slide-controls .icon-button:hover, .detail-gallery button:hover, .detail-close:hover { background: rgb(15 17 21 / 90%); border-color: #fff; }

.search-band { position: relative; width: 100%; margin-top: 10px; transform: translateY(16px); text-align: left; }
.quick-stay { display: grid; grid-template-columns: .85fr minmax(155px, 1fr) minmax(155px, 1fr) minmax(120px, .8fr) auto; gap: 16px; align-items: center; padding: 19px clamp(18px, 2.4vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 30px rgb(0 0 0 / 14%); }
.quick-intro strong { font-size: clamp(1.15rem, 1.6vw, 1.5rem); letter-spacing: -.04em; font-weight: 500; }
.field { min-width: 0; display: flex; gap: 9px; align-items: center; border-left: 1px solid var(--line); padding-left: clamp(12px, 1.5vw, 24px); }
.field>.icon { color: var(--muted); width: 17px; }
.field>span { min-width: 0; }
.field-label { display: block; color: var(--muted); font-size: .76rem; }
.field input, .field select { display: block; min-width: 0; max-width: 100%; padding: 2px 0; border: 0; border-radius: 1px; background: transparent; color: var(--ink); cursor: pointer; line-height: 1.45; }
.field select { color-scheme: dark; }
.field option { color: var(--ink); background: var(--surface); }
.field input::-webkit-calendar-picker-indicator { margin-left: 1px; padding: 2px; width: 13px; }
.field .mini { display: none; }
.page-section { padding-block: var(--section); }
.section-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: clamp(26px, 3vw, 44px); }
.section-intro>p { max-width: 32rem; text-wrap: pretty; }
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(14px, 1.7vw, 26px); }
/* The room photograph continues behind the frosted information panel. */
.room-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 16px;
  background: linear-gradient(0deg, rgb(11 15 19 / 68%), transparent 75%), var(--room-cover) center / cover, var(--surface);
}
.room-card[data-room="suite"] { --room-cover: url("assets/suite-interior.webp"); }
.room-card[data-room="canon"] { --room-cover: url("assets/canon-terraza.webp"); }
.room-card[data-room="hojas"] { --room-cover: url("assets/hojas-interior.webp"); }
.room-picture { cursor: pointer; }
.room-picture { display: block; width: 100%; padding: 0; aspect-ratio: 1.52; position: relative; overflow: hidden; border-radius: 11px 11px 0 0; }
.room-picture img, .exp-visual img, .restaurant-visual img, .detail-top>img { display: block; width: 100%; height: 100%; object-fit: cover; }
.room-picture img { transition: transform .4s ease-out; }
.room-picture:hover img { transform: scale(1.032); }
.room-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: -24px 8px 8px;
  padding: clamp(18px, 1.8vw, 28px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: #292a2e;
  box-shadow: var(--glass-shadow);
}
.room-body .room-description, .room-body .room-price small { color: #e8e5df; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .room-body, .quick-stay, .detail-gallery, .detail-close, .slide-controls .icon-button,
  .hero-actions .btn.ghost, .nav-actions .btn.ghost, .figure-label, .restaurant-visual figcaption {
    -webkit-backdrop-filter: var(--glass-filter);
    backdrop-filter: var(--glass-filter);
  }
  .room-body, .quick-stay {
    background: var(--glass-surface);
    border-color: var(--glass-border);
    box-shadow: var(--glass-shadow);
  }
  .quick-stay .field-label, .quick-stay .field > .icon { color: #e8e5df; }
  .figure-label, .restaurant-visual figcaption { border: 1px solid var(--glass-border); }
  @media (max-width: 800px) {
    .masthead .header-inner nav.is-open {
      background: var(--glass-surface);
      -webkit-backdrop-filter: var(--glass-filter);
      backdrop-filter: var(--glass-filter);
      border-color: var(--glass-border);
    }
  }
}
.room-meta { font-size: .73rem; letter-spacing: .075em; }
.room-body h3 { margin: 9px 0 11px; text-wrap: pretty; font-size: clamp(1.4rem, 2.1vw, 1.95rem); }
.room-description { font-size: .95rem; padding-bottom: 20px; }
.room-bottom { width: 100%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.room-price { color: var(--ink); }
.room-price strong { display: block; font-size: 1.2rem; font-weight: 500; line-height: 1.3; letter-spacing: -.03em; }
.room-price small { display: block; font-size: .8rem; color: var(--muted); }
.room-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 14px; border-radius: 32px; background: var(--control); color: var(--ink); border: 1px solid #5b5f67; font-size: .85rem; }
.room-link:hover { background: #393c44; border-color: #878a91; }
.room-link .icon { width: 15px; }

.exp-grid, .restaurant, .contact-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.experiences { background: #1b1d23; }
.exp-grid, .contact-grid { padding-block: var(--section); }
.exp-visual, .restaurant-visual { position: relative; border-radius: 12px; overflow: hidden; isolation: isolate; }
.exp-visual img, .restaurant-visual img { aspect-ratio: 1.29; }
.figure-label, .restaurant-visual figcaption { position: absolute; inset: auto auto 15px 16px; display: flex; align-items: center; gap: 7px; max-width: calc(100% - 32px); padding: 6px 12px; background: rgb(15 17 21 / 80%); border-radius: 18px; color: #fff; font-size: .77rem; }
.figure-label .icon { width: 14px; height: 14px; }
.exp-selector { display: flex; flex-wrap: wrap; gap: 7px; margin: 25px 0; }
.exp-selector button { padding: 7px 15px; min-height: 44px; border-radius: 32px; border: 1px solid #565a64; background: transparent; color: var(--muted); font-size: .9rem; }
.exp-selector button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--canvas); }
.exp-selector button[aria-pressed="false"]:hover { color: var(--ink); background: var(--control); }
#exp-content p, .restaurant-copy>p:not(.kicker), .contact-grid>div>p:not(.kicker) { margin: 12px 0; max-width: 32rem; text-wrap: pretty; }
.restaurant { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); }
.menu-options { margin: 22px 0; }
.menu-options details { border-top: 1px solid var(--line); }
.menu-options details:last-child { border-bottom: 1px solid var(--line); }
.menu-options summary { min-height: 49px; padding-block: 10px; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; }
.menu-options summary::-webkit-details-marker { display: none; }
.menu-options summary span { color: var(--gold); font-size: 1.2rem; }
.menu-options details[open] summary span { transform: rotate(45deg); }
.menu-options details p { padding-bottom: 16px; }
.contact { background: #1b1d23; }
.contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
.contact-grid>div>p:not(.kicker) { margin-bottom: 22px; }
.contacts>div { display: flex; flex-direction: column; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 14px 0; }
.contacts>div:first-child { padding-top: 0; }
.contacts>div>span { margin-bottom: 4px; color: var(--gold); font-size: .8rem; }
.contacts a, .contacts i { font-size: clamp(1.15rem, 2vw, 1.65rem); color: var(--ink); }
.contacts i { color: #777a83; font-style: normal; }
.contacts .contact-minor { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.contacts a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
footer { padding-block: 22px; background: #111317; }
.footer-inner, .footer-inner>div, .footer-inner>div a, .footer-brand { display: flex; align-items: center; }
.footer-inner { justify-content: space-between; gap: 22px; }
.footer-brand { gap: 14px; }
.footer-brand img { width: 68px; height: 68px; border-radius: 50%; object-fit: contain; }
.footer-inner>div { flex-wrap: wrap; gap: 8px clamp(18px, 2.5vw, 36px); }
.footer-inner>div a { min-height: 44px; gap: 7px; font-size: .85rem; color: var(--muted); }

.room-dialog { width: min(600px, calc(100% - 28px)); max-height: 90vh; max-height: 90dvh; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); overscroll-behavior: contain; }
.room-dialog::backdrop { background: rgb(10 13 17 / 82%); }
.detail-top { position: relative; overflow: hidden; aspect-ratio: 1.95; background: var(--control); }
.detail-close { position: absolute; top: 12px; right: 12px; }
.detail-gallery { position: absolute; inset: auto 12px 12px auto; display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 28px; border: 1px solid rgb(255 255 255 / 30%); background: rgb(21 23 28 / 70%); color: white; }
#exp-gallery { inset: 12px 12px auto auto; }
#exp-gallery[hidden] { display: none; }
.detail-gallery button { background: transparent; border-color: transparent; }
.detail-gallery span { border-radius: 24px; padding: 5px 12px; color: #fff; font-size: .82rem; }
.detail-copy { padding: clamp(20px, 4vw, 32px); }
.detail-copy h2 { margin: 8px 0 12px; font-size: clamp(1.8rem, 4.3vw, 2.8rem); }
.detail-copy ul { color: var(--muted); margin: 14px 0 20px; padding-left: 1.25rem; }
.detail-copy li::marker { color: var(--gold); }
.detail-copy .room-price { margin: 0 0 18px; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 990px) {
  .header-inner { gap: 15px; }
  .header-inner nav { gap: 16px; }
  .nav-actions { gap: 10px; }
  .quick-intro { display: none; }
  .quick-stay { grid-template-columns: 1fr 1fr .85fr auto; }
  .quick-stay .field:first-of-type { padding-left: 0; border-left: 0; }
  .room-body { padding: 16px; }
  .room-picture { aspect-ratio: 1.25; }
}
@media (max-width: 800px) {
  .hero-actions { display: none; }
  .header-inner { grid-template-columns: 1fr auto auto; grid-template-areas: "brand action menu"; min-height: 72px; }
  .nav-toggle { grid-area: menu; display: inline-flex; gap: 6px; color: #fff; }
  .nav-toggle span { display: none; }
  .header-inner nav { display: none; position: absolute; inset: 100% var(--gutter) auto; z-index: 2; background: var(--surface); border: 1px solid var(--line); border-radius: 0 0 12px 12px; padding: 10px 18px 15px; }
  .header-inner nav.is-open { display: grid; gap: 0; }
  .header-inner nav .mobile-contact { display: inline-flex; }
  .nav-actions .contact-nav { display: none; }
  .logo-white { width: 114px; }
  .quick-stay { gap: 12px; padding-inline: 17px; }
  .quick-stay .field>.icon { display: none; }
  .section-intro { align-items: flex-start; flex-direction: column; gap: 14px; }
}
@media (max-width: 730px) {
  .hero { min-height: clamp(570px, 80svh, 720px); }
  .hero h1 { font-size: clamp(3rem, 8.8vw, 4.7rem); }
  .hero-content { padding: 102px var(--gutter) 28px; }
  .quick-stay { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; padding: 15px; }
  .quick-stay .field { border-left: 0; padding-left: 0; }
  .quick-stay .field>.icon:not(.mini) { display: block; }
  .quick-stay .btn { padding-inline: 10px; font-size: .94rem; }
  .room-grid, .exp-grid, .restaurant, .contact-grid { grid-template-columns: 1fr; }
  .room-grid { gap: 20px; }
  .room-picture { aspect-ratio: 1.68; }
  .room-body { padding: 20px; }
  .room-body h3 { font-size: 1.7rem; }
  .exp-grid, .restaurant, .contact-grid { gap: 28px; }
  .exp-visual img, .restaurant-visual img { aspect-ratio: 1.45; }
  .restaurant-copy { order: 1; }
  .footer-inner>div { gap: 0 16px; }
}
@media (max-width: 470px) {
  .header-inner { gap: 8px; }
  .hero-location { font-size: .68rem; letter-spacing: .1em; }
  .hero-content { padding-inline: 14px; }
  .gallery-legend { gap: 8px; font-size: .76rem; }
  #slide-number { padding-right: 8px; font-size: .63rem; }
  .gallery-foot { gap: 6px; }
  .slide-controls { gap: 5px; }
  .quick-stay .field>.icon:not(.mini) { display: none; }
  .field input, .field select { font-size: 1rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-brand img { width: 58px; height: 58px; }
  .detail-top { aspect-ratio: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
