/* =========================================================
   OSELIA — design tokens
   ========================================================= */
:root {
  --bone: #f2f4f3;
  --paper: #fbfcfc;
  --stone: #e3e9ec;
  --ink: #13202b;
  --ink-soft: #4b5863;
  --muted: #85929c;
  --line: #d2dbe0;
  --line-soft: #e3e8eb;
  --bronze: #2c6684;
  --bronze-dark: #1f4f68;
  --night: #0f1d29;
  --night-soft: #18293a;
  --on-night: #e4eaee;
  --danger: #a1432f;
  --ok: #4f6b4a;

  --serif: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --radius: 2px;
  --shadow: 0 30px 60px -30px rgba(10, 25, 38, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* aliases used by the admin panel */
  --sea: var(--ink);
  --sea-dark: #000;
  --sea-tint: var(--stone);
  --coral: var(--bronze);
  --sand: var(--bone);
  --sand-deep: var(--stone);
  --card: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 300 16px/1.7 var(--sans);
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--bronze); color: #fff; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-family: inherit; font-style: italic; font-weight: 400; font-size: 1em; letter-spacing: inherit; }
p { margin: 0 0 1.2em; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 700px) { .wrap { padding: 0 20px; } }

.eyebrow {
  font: 400 0.72rem/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 16px; display: flex; align-items: center; gap: 16px;
}
.eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 36px; height: 1px; background: currentColor; }
.lede { font: 300 clamp(1.35rem, 2.2vw, 1.85rem)/1.5 var(--serif); color: var(--ink); }
.muted { color: var(--ink-soft); }

/* =========================================================
   Buttons & form controls
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 1px solid var(--ink); border-radius: var(--radius); padding: 16px 30px;
  font: 400 0.74rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); cursor: pointer; text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { background: var(--bronze); border-color: var(--bronze); }
.btn:disabled { background: var(--stone); border-color: var(--stone); color: var(--muted); cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn.light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.coral, .btn.bronze { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn.coral:hover, .btn.bronze:hover { background: var(--ink); border-color: var(--ink); }
.btn.small { padding: 11px 18px; font-size: 0.66rem; }
.btn.block { width: 100%; }
.link-arrow { font: 400 0.72rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 6px; cursor: pointer; background: none; border-top: 0; border-left: 0; border-right: 0; color: inherit; }
.link-arrow:hover { color: var(--bronze); }

label { display: block; font: 400 0.66rem/1 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
input, select, textarea {
  width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  font: 300 1rem var(--sans); color: var(--ink); background: transparent;
}
select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6' fill='none' stroke='%231b1a18'/%3E%3C/svg%3E") no-repeat right 4px center; padding-right: 24px; cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field { margin-bottom: 26px; }
.error { color: var(--danger); font-size: 0.88rem; min-height: 1.2em; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 30; background: var(--bone);
  border-bottom: 1px solid var(--line-soft); transition: background 0.4s var(--ease), border-color 0.4s, color 0.4s;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo b { font: 400 1.25rem var(--sans); letter-spacing: 0.5em; margin-right: -0.5em; }
.logo small { font: 400 0.56rem var(--sans); letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
.logo span { display: none; }
.nav { display: flex; gap: 38px; align-items: center; }
.nav a:not(.btn) { font: 400 0.7rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right 0.35s var(--ease); }
.nav a:not(.btn):hover::after { right: 0; }
@media (max-width: 900px) { .nav a:not(.btn) { display: none; } }

/* transparent over the hero, solid after scrolling */
.site-header.overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.site-header.overlay .logo { color: #fff; }
.site-header.overlay .logo small { color: rgba(255,255,255,0.75); }
.site-header.overlay .btn { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.site-header.overlay.scrolled { background: rgba(242, 244, 243, 0.96); backdrop-filter: blur(10px); border-color: var(--line-soft); color: var(--ink); }
.site-header.overlay.scrolled .logo { color: var(--ink); }
.site-header.overlay.scrolled .logo small { color: var(--muted); }
.site-header.overlay.scrolled .btn { border-color: var(--ink); color: var(--ink); }
.site-header.overlay.scrolled .btn:hover { background: var(--ink); color: var(--paper); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; min-height: 100vh; color: #fff; overflow: hidden; display: flex; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,30,0.5) 0%, rgba(8,20,30,0) 30%), linear-gradient(90deg, rgba(8,20,30,0.72) 0%, rgba(8,20,30,0.35) 45%, rgba(8,20,30,0.15) 100%); }
.hero .eyebrow { color: #fff; opacity: 0.9; }


/* =========================================================
   Sections
   ========================================================= */
.section { padding: clamp(56px, 6.5vw, 96px) 0; }
.section.tight { padding-top: 0; }
.section.dark { background: var(--night); color: var(--on-night); }
.section.dark .eyebrow { color: #8fbad3; }
.section.stone { background: var(--stone); }

.intro { max-width: 980px; margin: 0 auto; text-align: center; }
.intro .lede { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.35; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 70px; }
.stats div { padding: 30px 10px; text-align: center; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { display: block; font: 500 2.2rem/1 var(--display); margin-bottom: 10px; }
.stats span { font: 400 0.66rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* editorial split */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.25fr; }
.split.reverse .split-media { order: 2; }
.split + .split { margin-top: clamp(90px, 11vw, 150px); }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.split-media .inset { position: absolute; width: 42%; right: -8%; bottom: -14%; aspect-ratio: 3/4; border: 10px solid var(--bone); }
.split.reverse .split-media .inset { right: auto; left: -8%; }
.split-text { max-width: 470px; }
.split-text p { color: var(--ink-soft); }
.split-text .num { font: 300 1rem var(--serif); color: var(--muted); font-style: italic; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media .inset { display: none; }
}

/* experiences */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 640px; }
.section-head p { max-width: 380px; margin: 0; color: var(--ink-soft); }
.section.dark .section-head p { color: #9fb0bb; }
.experiences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.experience { cursor: pointer; }
.experience .img { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 18px; }
.experience img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.experience:hover img { transform: scale(1.05); }
.experience h3 { margin-bottom: 8px; }
.experience p { color: #9fb0bb; font-size: 0.95rem; max-width: 340px; }
@media (max-width: 900px) { .experiences { grid-template-columns: 1fr; gap: 56px; } .experience .img { aspect-ratio: 4/3; } }

/* rooms */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.room { cursor: pointer; }
.room .img { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 16px; }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.room:hover img { transform: scale(1.04); }
.room .meta { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; }
.room h3 { margin: 0; font-size: 1.2rem; }
.room span { font: 400 0.66rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }
.rooms-note { margin-top: 30px; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 900px) { .rooms { grid-template-columns: 1fr; } .room .img { aspect-ratio: 4/3; } }

/* amenities */
.amenity-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.amenity-groups h3 { font-size: 1.15rem; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.amenity-groups ul { list-style: none; padding: 0; margin: 0; }
.amenity-groups li { padding: 6px 0; color: var(--ink-soft); }
@media (max-width: 1000px) { .amenity-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amenity-groups { grid-template-columns: 1fr; gap: 36px; } }

/* gallery mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 12vw, 190px); gap: 10px; }
.mosaic button { border: 0; padding: 0; cursor: pointer; overflow: hidden; background: var(--stone); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.4s; }
.mosaic button:hover img { transform: scale(1.04); }
.mosaic .a { grid-column: span 7; grid-row: span 2; }
.mosaic .b { grid-column: span 5; }
.mosaic .c { grid-column: span 5; }
.mosaic .d { grid-column: span 4; grid-row: span 2; }
.mosaic .e { grid-column: span 4; }
.mosaic .f { grid-column: span 4; }
.mosaic .g { grid-column: span 4; }
.mosaic .h { grid-column: span 4; }
@media (max-width: 800px) { .mosaic { grid-auto-rows: 40vw; } .mosaic > * { grid-column: span 6 !important; grid-row: span 1 !important; } .mosaic .a { grid-column: span 12 !important; } }
.gallery-foot { text-align: center; margin-top: 32px; }

/* =========================================================
   Reservation
   ========================================================= */

.cal-wrap { position: relative; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 640px) { .cal-months { grid-template-columns: 1fr; } .cal-months .month:nth-child(2) { display: none; } }
.month-title { font: 600 1rem var(--sans); text-align: center; margin-bottom: 22px; }
.cal-nav {
  position: absolute; top: 2px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink); font-size: 1rem;
  transition: border-color 0.3s, background 0.3s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.cal-nav:disabled { opacity: 0.25; cursor: default; }
.cal-nav.prev { left: 0; }
.cal-nav.next { right: 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; row-gap: 4px; }
.cal-grid .dow { font: 400 0.64rem var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 6px 0 12px; }
.day {
  aspect-ratio: 1; border: 0; background: none; font: 400 0.95rem var(--sans); color: var(--ink);
  cursor: pointer; position: relative; transition: background 0.2s;
}
.day:hover:not(:disabled) { box-shadow: inset 0 0 0 1px var(--ink); }
.day:disabled { color: #c3ccd2; cursor: default; }
.day.blocked { text-decoration: line-through; text-decoration-color: #c3ccd2; }
.day.in-range { background: var(--stone); }
.day.start, .day.end { background: var(--ink); color: var(--paper); }
.cal-legend { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 0.82rem; color: var(--muted); margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.cal-legend s { color: #aab6be; margin-right: 6px; }

.date-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 26px; }
.date-pills div { border-bottom: 1px solid var(--line); padding-bottom: 12px; transition: border-color 0.3s; }
.date-pills small { display: block; font: 400 0.64rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.date-pills b { font: 500 1rem var(--sans); }
.date-pills .active { border-color: var(--bronze); }
.quote { margin: 4px 0 10px; font-size: 0.95rem; }
.quote .row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink-soft); }
.quote .row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 16px; color: var(--ink); font: 600 1.15rem var(--sans); }
.hold-banner { border: 1px solid var(--bronze); padding: 16px 18px; margin: 0 0 20px; font-size: 0.9rem; line-height: 1.5; color: var(--ink); }
.hold-banner b { font-weight: 600; }
.hold-banner .hold-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.fine { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 16px 0 0; }

/* =========================================================
   Location & host
   ========================================================= */
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(1) contrast(0.95) brightness(1.03); background: var(--stone); }
.distances { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.distances li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.distances li b { font-weight: 400; color: var(--ink); }

.host { max-width: 860px; margin: 0 auto; text-align: center; }
.host blockquote { font: 300 italic clamp(1.6rem, 3vw, 2.4rem)/1.4 var(--serif); margin: 0 0 34px; }
.host .sig { font: 400 0.7rem var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 36px; }

/* =========================================================
   Footer
   ========================================================= */
footer { background: var(--night); color: #9fb0bb; padding: 64px 0 32px; font-size: 0.92rem; }
footer .wrap { display: block; }
.foot-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #24394a; }
.foot-top .logo { color: var(--on-night); }
.foot-top .logo small { color: #8394a0; }
.foot-top h4 { font: 400 0.66rem var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--on-night); margin: 0 0 18px; }
.foot-top p { margin: 0 0 8px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--on-night); }
.foot-tag { font: 300 italic 1.6rem/1.3 var(--serif); color: var(--on-night); margin-top: 30px; max-width: 360px; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 30px; font-size: 0.78rem; letter-spacing: 0.06em; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .foot-top { grid-template-columns: 1fr; } }

/* =========================================================
   Modal
   ========================================================= */
.modal-bg { position: fixed; inset: 0; background: rgba(8, 20, 30, 0.6); backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 70; padding: 16px; }
.modal-bg.open { display: flex; animation: fade 0.3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--paper); padding: 46px; width: 100%; max-width: 540px; max-height: 92vh; overflow: auto; box-shadow: var(--shadow); }
@media (max-width: 560px) { .modal { padding: 28px 22px; } }
.modal h2 { font-size: 2.3rem; }
.modal-top { display: flex; justify-content: space-between; align-items: start; }
.x { background: none; border: 0; font: 300 1.8rem/1 var(--sans); cursor: pointer; color: var(--muted); }
.x:hover { color: var(--ink); }
.summary-box { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin-bottom: 30px; font-size: 0.95rem; color: var(--ink-soft); }
.summary-box b { color: var(--ink); font-weight: 400; }
.pay-options { display: grid; gap: 12px; margin-bottom: 22px; }
.pay-option { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); padding: 18px 20px; cursor: pointer; text-transform: none; letter-spacing: 0; font: 400 0.95rem var(--sans); color: var(--ink); margin: 0; transition: border-color 0.2s; }
.pay-option input { width: auto; margin: 0; accent-color: var(--ink); }
.pay-option:has(input:checked) { border-color: var(--ink); }
.pay-option small { display: block; color: var(--muted); font-weight: 300; margin-top: 2px; }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8, 18, 27, 0.97); display: none; align-items: center; justify-content: center; padding: 70px 90px; }
.lightbox.open { display: flex; animation: fade 0.3s var(--ease); }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox figcaption { color: #d5dde2; font: 300 italic 1.15rem var(--serif); letter-spacing: 0.02em; }
.lb-close { position: absolute; top: 18px; right: 26px; color: #fff; font-size: 2.4rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); background: transparent; color: #fff; font-size: 1.3rem; cursor: pointer; transition: background 0.3s; }
.lb-nav:hover { background: rgba(255,255,255,0.12); }
.lb-nav.prev { left: 22px; }
.lb-nav.next { right: 22px; }
@media (max-width: 640px) { .lightbox { padding: 60px 10px 90px; } .lb-nav { top: auto; bottom: 20px; transform: none; } }

/* =========================================================
   Concierge chat
   ========================================================= */
.chat-fab {
  position: fixed; right: 28px; bottom: 28px; z-index: 40;
  padding: 17px 24px; border: 1px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper); font: 400 0.68rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px; cursor: pointer; box-shadow: var(--shadow); transition: background 0.3s, border-color 0.3s;
}
.chat-fab:hover { background: var(--bronze); border-color: var(--bronze); }
.chat-fab .dot { width: 7px; height: 7px; border-radius: 50%; background: #8fbad3; display: none; }
.chat-fab.has-new .dot { display: block; }
.chat-panel {
  position: fixed; right: 28px; bottom: 96px; z-index: 41;
  width: min(390px, calc(100vw - 32px)); height: min(560px, calc(100vh - 130px));
  background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0,0,0,0.45);
  display: none; flex-direction: column; overflow: hidden;
}
.chat-panel.open { display: flex; animation: fade 0.3s var(--ease); }
.chat-header { background: var(--night); color: var(--on-night); padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; }
.chat-header strong { font: 500 1.15rem var(--display); display: block; }
.chat-header small { display: block; font-size: 0.78rem; color: #9fb0bb; margin-top: 2px; }
.chat-header .x { color: #9fb0bb; }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--bone); }
.bubble { max-width: 82%; padding: 11px 15px; font-size: 0.93rem; white-space: pre-wrap; word-wrap: break-word; line-height: 1.5; }
.bubble time { display: block; font-size: 0.68rem; opacity: 0.6; margin-top: 4px; }
.bubble.me { align-self: flex-end; background: var(--ink); color: var(--paper); }
.bubble.them { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); }
.chat-intro { font-size: 0.9rem; color: var(--ink-soft); background: var(--paper); padding: 18px; border: 1px solid var(--line); }
.chat-intro .two { margin-top: 12px; gap: 14px; }
.chat-intro input { padding: 8px 0; font-size: 0.9rem; }
.chat-form { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); background: var(--paper); align-items: center; }
.chat-form textarea { resize: none; height: 46px; padding: 12px 4px; font-size: 0.93rem; border-bottom: 0; }
.chat-form .btn { padding: 14px 18px; }
@media (max-width: 560px) { .chat-fab { right: 16px; bottom: 16px; } .chat-panel { right: 16px; bottom: 80px; } }

/* =========================================================
   Confirmation page
   ========================================================= */
.center-card { max-width: 620px; margin: 100px auto; background: var(--paper); padding: 60px 50px; box-shadow: var(--shadow); text-align: center; }
.center-card .big { font: 500 2.6rem var(--display); color: var(--bronze); margin-bottom: 10px; }
.center-card h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.kv { text-align: left; border-top: 1px solid var(--line); margin: 34px 0; }
.kv div { display: flex; justify-content: space-between; padding: 14px 0; gap: 16px; border-bottom: 1px solid var(--line); }
.kv span { color: var(--ink-soft); }
.kv b { font-weight: 400; }

/* reveal on scroll */
.reveal-ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .hero img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* anchor jumps land below the sticky header */
section[id] { scroll-margin-top: 84px; }

/* keep the concierge button out of the way of the hero booking card */
.chat-fab { transition: background 0.3s, border-color 0.3s, opacity 0.4s var(--ease), transform 0.4s var(--ease); }
@media (min-width: 1001px) { .has-hero:not(.past-hero) .chat-fab:not(.has-new) { opacity: 0; transform: translateY(12px); pointer-events: none; } }

.chat-fab { box-shadow: 0 0 0 1px rgba(255,255,255,0.22), var(--shadow); }
.stats b, .amount, .quote .row.total, .date-pills b, .month-title { font-variant-numeric: lining-nums; }


/* =========================================================
   Hero with booking card
   ========================================================= */
.hero img { object-position: 50% 28%; }
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: clamp(40px, 6vw, 100px);
  align-items: end; padding-top: 120px; padding-bottom: 56px; align-content: end;
}
.hero-content { padding-bottom: 12px; }
.hero h1 { max-width: 760px; margin-bottom: 22px; }
.hero-sub { max-width: 480px; font-size: 1.05rem; color: rgba(255,255,255,0.86); margin-bottom: 30px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font: 400 0.7rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.hero-facts li { padding: 0 18px; border-left: 1px solid rgba(255,255,255,0.35); line-height: 1; }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts b { font-weight: 500; color: #fff; }

.booking-card {
  background: rgba(251, 252, 252, 0.97); color: var(--ink); padding: 28px 28px 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55); scroll-margin-top: 90px;
}
.booking-card .rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.booking-card .rate .amount { font: 600 2rem/1 var(--sans); letter-spacing: -0.01em; color: var(--ink); }
.booking-card .rate small { font-size: 0.9rem; color: var(--ink-soft); }
.booking-card .rate-note { margin-left: auto; font: 400 0.6rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }

.booking-card .cal-months { grid-template-columns: 1fr; }
.booking-card .month-title { font-size: 0.98rem; margin-bottom: 6px; line-height: 32px; }
.booking-card .cal-nav { width: 32px; height: 32px; top: 0; font-size: 0.85rem; }
.booking-card .cal-grid { row-gap: 2px; }
.booking-card .cal-grid .dow { padding: 4px 0 6px; font-size: 0.58rem; }
.booking-card .day { aspect-ratio: auto; height: 38px; font-size: 0.9rem; }
.booking-card .cal-legend { margin-top: 10px; padding-top: 12px; font-size: 0.78rem; }

.booking-card .date-pills { grid-template-columns: 1fr 1fr 0.8fr; gap: 16px; margin: 18px 0 18px; }
.booking-card .date-pills b { font-size: 0.95rem; white-space: nowrap; }
.booking-card .date-pills small, .booking-card .date-pills label { font: 400 0.6rem var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.guests-pill select { border: 0; padding: 0 18px 0 0; background-color: transparent; font: 500 1rem var(--sans); color: var(--ink); width: 100%; min-height: 0; height: auto; }
.booking-card .quote { font-size: 0.9rem; }
.booking-card .quote .row { padding: 4px 0; }
.booking-card .quote .row.total { font-size: 1.1rem; padding-top: 12px; margin-top: 6px; }
.booking-card .fine { margin-top: 12px; font-size: 0.76rem; }

/* blue selection on the calendar */
.day.in-range { background: #dde9f0; }
.day.start, .day.end { background: var(--bronze); color: #fff; }

.policy-strip { background: var(--night); color: var(--on-night); font-size: 0.92rem; }
.policy-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.policy-strip .wrap > div { padding: 24px 0 24px 28px; border-left: 1px solid #24394a; }
.policy-strip .wrap > div:first-child { padding-left: 0; border-left: 0; }
.policy-strip b { display: block; font: 400 0.6rem var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: #8fbad3; margin-bottom: 6px; }

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; align-content: start; padding-top: 130px; padding-bottom: 32px; gap: 40px; }
  .booking-card { max-width: 520px; width: 100%; }
}
@media (max-width: 560px) {
  .hero-inner { padding-top: 110px; }
  .booking-card { padding: 22px 18px 18px; }
  .booking-card .rate-note { margin-left: 0; width: 100%; }
  .booking-card .date-pills { grid-template-columns: 1fr 1fr; }
  .booking-card .guests-pill { grid-column: span 2; }
  .hero-facts li { padding: 0 12px; }
  .policy-strip .wrap { grid-template-columns: 1fr 1fr; }
  .policy-strip .wrap > div { padding: 18px 0 18px 16px; }
  .policy-strip .wrap > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .policy-strip .wrap > div:nth-child(-n+2) { border-bottom: 1px solid #24394a; }
}
.split-text .address { font: 500 1.05rem/1.6 var(--sans); color: var(--ink); border-left: 1px solid var(--bronze); padding-left: 18px; }

/* About this stay: one simple text + photo block */
.section.about { padding: clamp(56px, 6.5vw, 96px) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.about-text h2 { margin-bottom: 18px; }
.about-text > p { color: var(--ink-soft); max-width: 500px; margin-bottom: 24px; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; max-width: 520px; }
.highlights li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); }
.highlights b { display: block; font: 600 0.95rem var(--sans); color: var(--ink); margin-bottom: 2px; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: pointer; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .highlights { grid-template-columns: 1fr; } }
.day.pad { visibility: hidden; pointer-events: none; }

/* chat button: icon + label */
.chat-fab { height: 52px; padding: 0 22px 0 18px; border-radius: 26px; gap: 10px; background: var(--bronze); border-color: var(--bronze); color: #fff; font: 500 0.9rem var(--sans); letter-spacing: 0.02em; text-transform: none; box-shadow: 0 12px 30px -10px rgba(10, 25, 38, 0.5); }
.chat-fab:hover { background: var(--bronze-dark); border-color: var(--bronze-dark); }
.chat-fab .dot { position: absolute; top: 8px; right: 10px; width: 10px; height: 10px; background: #f2b84b; border: 2px solid var(--bronze); }
@media (max-width: 560px) { .chat-fab { height: 48px; padding: 0 18px 0 15px; } }

/* =========================================================
   Phone refinements
   ========================================================= */
@media (max-width: 700px) {
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.22em; gap: 12px; }
  .eyebrow::before { width: 24px; }
  .hero h1 { margin-bottom: 16px; }
  .hero-sub { font-size: 0.98rem; line-height: 1.6; margin-bottom: 22px; }
  .hero-facts { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 12px 28px; font-size: 0.66rem; letter-spacing: 0.18em; }
  .hero-facts li, .hero-facts li:first-child { padding: 0; border: 0; }
  .booking-card .cal-legend { font-size: 0.74rem; }
  .booking-card .cal-legend .link-arrow { font-size: 0.62rem; letter-spacing: 0.16em; white-space: nowrap; }

  .section-head { margin-bottom: 28px; gap: 14px; }

  /* experiences and bedrooms become swipeable rows instead of a long stack */
  .experiences, .rooms {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -20px; padding: 0 20px 6px; scroll-padding: 0 20px; scrollbar-width: none;
  }
  .experiences::-webkit-scrollbar, .rooms::-webkit-scrollbar { display: none; }
  .experience, .room { scroll-snap-align: start; }
  .experience .img, .room .img { margin-bottom: 14px; }
  .experience p { font-size: 0.9rem; }

  .highlights { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .highlights li { font-size: 0.85rem; }
  .amenity-groups { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .amenity-groups li { font-size: 0.9rem; }
}
@media (max-width: 360px) { .highlights, .amenity-groups { grid-template-columns: 1fr; } }
/* chat window on phones: fit the visible screen (dvh accounts for mobile browser toolbars) */
@media (max-width: 560px) { .chat-panel { left: 12px; right: 12px; width: auto; bottom: 76px; height: min(560px, calc(100vh - 100px)); height: min(560px, calc(100dvh - 100px)); } }

/* Things to know (house rules, safety, cancellation) */
.amenity-groups.know { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .amenity-groups.know { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .amenity-groups.know { grid-template-columns: 1fr; } }

/* Reservation page: arrival guide and pay-after-approval */
.trip { text-align: left; margin-top: 34px; }
.trip h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.trip p, .trip li { color: var(--ink-soft); font-size: 0.95rem; white-space: pre-line; }
.trip ul { padding-left: 18px; margin: 0 0 1.2em; }
.center-card .pay-options { text-align: left; margin-top: 26px; }
