/* =========================================================
   Urban Hotel Bomonti
   Palette: the hotel's teal (logo, textiles) deepened to an
   evening petrol, the copper of the façade panels, and the
   amber of the LED lines that outline the building at night.
   Type: Archivo, a grotesque with 19th-century roots, used
   expanded for display and at normal width for reading.
   ========================================================= */

:root {
  --gece: #0F3237;
  --gece-2: #17444A;
  --gece-3: #0B2629;
  --mineral: #EDF0EE;
  --mineral-2: #E2E8E6;
  --surface: #FFFFFF;
  --ink: #14272B;
  --muted: #55676A;
  --line: #CBD4D2;
  --bakir: #9A5430;
  --bakir-ink: #84462A;
  --amber: #F3AF4E;
  --amber-2: #F7C47A;

  --on-dark: #E8EFED;
  --on-dark-muted: #A2B9B6;
  --line-dark: rgba(232, 239, 237, .16);

  --f: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wide: 116%;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 9vw, 140px);
  --header-h: 72px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--mineral);
  color: var(--ink);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--bakir-ink); outline-offset: 3px; }
.site-header :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible,
.closing :focus-visible,
.site-footer :focus-visible,
.sticky-book :focus-visible,
.mobile-menu :focus-visible,
.lightbox :focus-visible { outline-color: var(--amber); }
.hero .popover :focus-visible { outline-color: var(--bakir-ink); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--gece); padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f);
  font-stretch: var(--wide);
  font-weight: 320;
  font-size: clamp(2rem, 1.3rem + 2.1vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  color: var(--gece);
  margin: 0;
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.125rem, 1.05rem + .32vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink);
}

/* ---------- Buttons & links ---------- */
.btn {
  --btn-bg: var(--gece);
  --btn-fg: #fff;
  --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f);
  font-size: .9375rem;
  font-weight: 560;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn--primary:hover { --btn-bg: var(--gece-2); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1rem; }
.btn--amber { --btn-bg: var(--amber); --btn-fg: var(--gece); }
.btn--amber:hover { --btn-bg: var(--amber-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--gece); --btn-bd: var(--gece); }
.btn--ghost:hover { --btn-bg: var(--gece); --btn-fg: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(232, 239, 237, .42); }
.btn--outline-light:hover { --btn-bg: var(--on-dark); --btn-fg: var(--gece); --btn-bd: var(--on-dark); }

.text-link {
  color: var(--gece);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--bakir);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link--light { color: var(--on-dark); text-decoration-color: rgba(243, 175, 78, .7); }

.link-btn {
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  color: var(--muted); font-size: .9375rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-btn:hover { color: var(--gece); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--gece); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--mineral); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-radius: 50%; border-color: var(--line); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--header-h);
  background: var(--gece);
  color: var(--on-dark);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-dark); }
.site-header__inner {
  height: 100%;
  padding-inline: clamp(16px, 3.2vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand__mark, .site-footer__mark {
  width: 26px; height: 32px; flex: none;
  fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: square;
}
.brand__name {
  font-stretch: var(--wide); font-weight: 420; font-size: 1.06rem; letter-spacing: .01em; white-space: nowrap;
}
.brand__place { color: var(--on-dark-muted); font-weight: 360; }

.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__list a {
  text-decoration: none; color: var(--on-dark);
  font-size: .9375rem; font-weight: 450;
  padding-block: 8px;
  background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 1px no-repeat;
  transition: background-size .3s var(--ease);
}
.nav__list a:hover { background-size: 100% 1px; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }

.lang { display: flex; align-items: center; }
.lang__btn {
  background: none; border: 0; cursor: pointer;
  padding: 6px 7px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em;
  color: var(--on-dark-muted);
}
.lang__btn + .lang__btn { border-left: 1px solid var(--line-dark); }
.lang__btn.is-active { color: #fff; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--on-dark);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 55;
  background: var(--gece);
  color: var(--on-dark);
  padding-block: 16px 40px;
  overflow-y: auto;
}
.mobile-menu__list li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list a {
  display: block; padding: 18px 0;
  font-stretch: var(--wide); font-weight: 320; font-size: 1.6rem; color: #fff; text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 10px; margin-top: 32px; color: var(--on-dark-muted); }
.mobile-menu__foot a { text-decoration: none; }

/* ---------- Hero ---------- */
/* The photo fills the hero; the headline sits on it in a lit glass panel
   that steps down into the search bar, like the façade's LED frames. */
.hero {
  position: relative;
  background: var(--gece);
  color: var(--on-dark);
}
.hero__media { display: block; position: absolute; inset: 0; overflow: hidden; background: #6F95C9; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 38%; }

/* Full-bleed like the header, so the panel can stay in the sky left of the building */
.hero__stage {
  position: relative; z-index: 2;
  max-width: none;
  padding-inline: clamp(16px, 3.2vw, 48px);
  /* Tied to the width too, so the photo isn't zoomed in and the sky stays wide enough */
  height: clamp(560px, min(calc(100svh - var(--header-h)), 48vw), 900px);
  display: grid;
  grid-template-columns: minmax(0, clamp(330px, 26vw, 430px)) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto;
  grid-template-areas: ". ." "copy ." "booking booking";
  padding-bottom: clamp(28px, 3.4vw, 48px);
}
.hero__copy {
  grid-area: copy;
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(24px, 2.4vw, 36px) clamp(22px, 2.4vw, 36px) clamp(22px, 2.2vw, 30px);
  background: rgba(15, 50, 55, .6);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
}
.hero__place { font-size: .9375rem; color: var(--on-dark); opacity: .82; }
.hero__title {
  font-stretch: var(--wide);
  font-weight: 300;
  font-size: clamp(2.2rem, 1rem + 2.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.hero__lead { max-width: 38ch; font-size: 1rem; line-height: 1.55; color: var(--on-dark); }

/* The light line */
.hero__line {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(243, 175, 78, .75)) drop-shadow(0 0 12px rgba(243, 175, 78, .35));
}
.hero__line path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2;
  stroke-linejoin: miter;
  stroke-linecap: square;
}
.hero__line.is-drawing path { transition: stroke-dashoffset 1.9s cubic-bezier(.55, .08, .25, 1); }

@media (min-width: 900px) and (max-width: 1199px) {
  .hero__stage { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); }
}

/* ---------- Booking ---------- */
.booking {
  grid-area: booking;
  justify-self: start;
  width: min(100%, 1120px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr auto;
  background: var(--gece);
}
.booking__note { font-size: .75rem; line-height: 1.4; color: var(--on-dark-muted); text-align: center; max-width: 26ch; justify-self: center; }
.booking__field {
  display: grid; align-content: center; gap: 2px;
  text-align: left;
  padding: 16px 22px;
  min-height: 98px;
  background: none; border: 0;
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color .2s var(--ease);
}
.booking__field + .booking__field,
.booking__submit { border-left: 1px solid var(--line-dark); }
.booking__field:hover, .booking__field[aria-expanded="true"] { background: rgba(232, 239, 237, .06); }
.booking__label { font-size: .8125rem; font-weight: 450; color: var(--on-dark-muted); }
.booking__value {
  font-stretch: 108%; font-weight: 400; font-size: 1.375rem; line-height: 1.25; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.booking__value.is-empty { color: var(--on-dark-muted); }
.booking__sub { font-size: .8125rem; color: var(--on-dark-muted); min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.booking__submit { display: grid; align-content: center; gap: 8px; padding: 16px 18px; }

/* Popovers (light surfaces floating over the dark hero) */
.popover {
  position: absolute; z-index: 40;
  top: calc(100% + 12px);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(5, 22, 25, .55), 0 0 0 1px rgba(15, 50, 55, .08);
  animation: pop .22s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.datepicker { left: 0; width: min(720px, 100%); padding: 22px 24px 18px; }
.datepicker__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.datepicker__hint { font-size: .9375rem; color: var(--muted); }
.datepicker__nav { display: flex; gap: 4px; }
.datepicker__months { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.datepicker__foot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px;
}

.month__caption { font-stretch: 108%; font-weight: 450; font-size: 1.1rem; color: var(--gece); margin: 4px 0 12px; text-transform: capitalize; }
.month__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__dow { font-size: .75rem; color: var(--muted); text-align: center; padding-bottom: 8px; }
.day {
  position: relative;
  aspect-ratio: 1 / 1; min-height: 40px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--ink);
}
.day span {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: background-color .15s, color .15s;
}
.day:hover:not(:disabled) span { background: var(--mineral-2); }
.day:disabled { color: #AEB9B8; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--bakir-ink); }
.day.is-today span { box-shadow: inset 0 0 0 1px var(--line); }
.day.in-range::before, .day.in-preview::before,
.day.is-start::before, .day.is-end::before {
  content: ""; position: absolute; inset: 4px 0; background: var(--mineral);
}
.day.is-start::before { left: 50%; }
.day.is-end::before { right: 50%; }
.day.is-start.is-end::before { display: none; }
.day.is-start:not(.has-range)::before { display: none; }
.day.is-start span, .day.is-end span { background: var(--gece); color: #fff; }
.day.is-start:hover span, .day.is-end:hover span { background: var(--gece-2); }
.day--blank { pointer-events: none; }

.guests { left: 0; width: 360px; padding: 8px 24px 20px; }
.counter {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.counter__title { font-weight: 550; color: var(--gece); }
.counter__hint { font-size: .8125rem; color: var(--muted); }
.counter__ctrl { display: flex; align-items: center; gap: 14px; }
.counter__ctrl output { min-width: 1.5ch; text-align: center; font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.guests__ages { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guests__ages:not(:empty) { padding-top: 16px; }
.age-field { display: grid; gap: 4px; font-size: .8125rem; color: var(--muted); }
.age-field select {
  appearance: none; -webkit-appearance: none;
  width: 100%; padding: 10px 34px 10px 12px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F3237' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px no-repeat;
  font: inherit; font-size: .9375rem; color: var(--ink);
}
.age-field select[aria-invalid="true"] { border-color: #A3392B; }
.guests__note { font-size: .8125rem; line-height: 1.45; color: var(--muted); padding-top: 14px; }
.guests__error { font-size: .8125rem; font-weight: 550; color: #A3392B; padding-top: 10px; }
.guests__foot { display: flex; justify-content: flex-end; padding-top: 18px; }

.scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(6, 24, 27, .55);
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }

/* ---------- Intro ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
}
.intro__text { grid-column: 1 / span 6; }
.intro__text .h2 { margin-bottom: 28px; max-width: 14ch; }
.intro__text p + p { margin-top: 18px; color: var(--muted); max-width: 60ch; }
.intro__media { grid-column: 8 / -1; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; }
figcaption { margin-top: 12px; font-size: .8125rem; color: var(--muted); }

.facts {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2.4vw, 32px);
  margin-top: clamp(56px, 6vw, 88px);
}
.facts div { padding-top: 16px; border-top: 1px solid var(--bakir); }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { margin-top: 4px; color: var(--gece); font-weight: 520; line-height: 1.45; }

/* ---------- Section head ---------- */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  margin-bottom: clamp(36px, 4.4vw, 60px);
}
.section-head .h2 { grid-column: 1 / span 5; }
.section-head__text { grid-column: 7 / -1; color: var(--muted); max-width: 54ch; }

/* ---------- Rooms ---------- */
.rooms { background: var(--surface); }

.room-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.room-tabs::-webkit-scrollbar { display: none; }
.room-tab {
  position: relative;
  flex: 1 1 0;
  min-width: max-content;
  display: grid; gap: 2px; align-content: start;
  padding: 0 24px 18px 0;
  text-align: left; cursor: pointer;
  background: none; border: 0;
  scroll-snap-align: start;
}
.room-tab + .room-tab { padding-left: 2px; }
.room-tab::after {
  content: ""; position: absolute; left: 0; right: 24px; bottom: -1px; height: 2px;
  background: var(--bakir);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.room-tab__name { font-weight: 520; font-size: 1rem; color: #637477; transition: color .2s var(--ease); white-space: nowrap; }
.room-tab__meta { font-size: .8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.room-tab:hover .room-tab__name, .room-tab.is-active .room-tab__name { color: var(--gece); }
.room-tab.is-active::after { transform: scaleX(1); }
.room-tab:focus-visible { outline-offset: -2px; }

.rooms__stage { display: grid; margin-top: clamp(32px, 3.6vw, 48px); }
.room {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: end;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .45s;
}
.room.is-active { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.room__media { grid-column: 1 / span 7; }
.room__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.room__body { grid-column: 9 / -1; display: grid; gap: 18px; justify-items: start; }
.room__title {
  font-stretch: var(--wide); font-weight: 360; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.95rem);
  line-height: 1.12; letter-spacing: -.01em; color: var(--gece); margin: 0;
}
.room__desc { color: var(--ink); }
.room__specs { width: 100%; display: grid; }
.room__specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.room__specs div:first-child { border-top: 1px solid var(--line); }
.room__specs dt { color: var(--muted); }
.room__specs dd { color: var(--gece); font-weight: 520; text-align: right; }
.room__body .btn { margin-top: 6px; }

.rooms__common {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(48px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--line);
}
.rooms__common-title { grid-column: 1 / span 3; margin: 0; font-size: .9375rem; font-weight: 600; color: var(--gece); }
.amenities { grid-column: 4 / -1; display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: .9375rem; color: var(--muted); }

/* ---------- Dark band: breakfast and bar ---------- */
.section--dark { background: var(--gece); color: var(--on-dark); }
.section--dark .h2 { color: #fff; }
.section--dark .lead { color: var(--on-dark); }

.evening__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  row-gap: clamp(40px, 4.4vw, 64px);
}
.evening__text { grid-column: 1 / span 5; grid-row: 1; align-self: start; }
.evening__text .h2 { margin-bottom: 26px; max-width: 13ch; }
.evening__text p + p { margin-top: 16px; color: var(--on-dark-muted); }
.evening__main { grid-column: 7 / -1; grid-row: 1 / span 2; }
.evening__main img { width: 100%; height: 100%; min-height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.evening__side { grid-column: 1 / span 4; grid-row: 2; align-self: end; }
.evening__side img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.section--dark figcaption { color: var(--on-dark-muted); }

.plain-list { margin-top: 28px; }
.plain-list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--gece); }
.plain-list li:first-child { border-top: 1px solid var(--line); }
.section--dark .plain-list li { border-color: var(--line-dark); color: #fff; }

/* ---------- Services ---------- */
.services__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
}
.services__head { grid-column: 1 / span 4; display: grid; gap: 18px; justify-items: start; }
.services__intro { color: var(--muted); max-width: 34ch; margin-top: 8px; }
.services__list {
  grid-column: 6 / -1;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 3vw, 48px);
}
.services__list div { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.services__list dt { font-weight: 560; color: var(--gece); }
.services__list dd { margin-top: 2px; color: var(--muted); font-size: .9375rem; }

/* ---------- Location ---------- */
.location { background: var(--surface); }
.location__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 32px);
  align-items: stretch;
}
.location__map { grid-column: 1 / span 7; min-height: 520px; background: var(--mineral-2); }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 520px; border: 0; filter: saturate(.55) contrast(1.03); }
.location__info { grid-column: 9 / -1; display: flex; flex-direction: column; align-items: flex-start; }
.location__address {
  display: grid; margin-bottom: 30px;
  font-stretch: 108%; font-size: 1.3rem; line-height: 1.4; color: var(--gece);
}
.distances { width: 100%; margin-bottom: 32px; }
.distances__title { font-size: .8125rem; font-weight: 550; color: var(--bakir-ink); margin: 0 0 6px; }
.distances ul + .distances__title { margin-top: 26px; }
.distances li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.distances li span:last-child { color: var(--gece); font-weight: 560; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Gallery ---------- */
.gallery__title { margin-bottom: clamp(32px, 4vw, 52px); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 19vw, 290px);
  gap: clamp(8px, 1.2vw, 16px);
}
.gallery__grid li { min-width: 0; }
.g-a { grid-column: 1 / span 7; grid-row: span 2; }
.g-b { grid-column: 8 / -1; }
.g-c { grid-column: 8 / -1; }
.g-d { grid-column: 1 / span 4; }
.g-e { grid-column: 5 / span 4; }
.g-f { grid-column: 9 / -1; }
.g-g { grid-column: 1 / span 3; }
.g-h { grid-column: 4 / span 5; }
.g-i { grid-column: 9 / -1; }
.gallery__item {
  display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: var(--mineral-2); cursor: zoom-in; overflow: hidden;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.025); }
.gallery__item:focus-visible { outline-offset: 2px; }

/* ---------- Closing ---------- */
.closing { background: var(--gece); color: var(--on-dark); padding-block: clamp(64px, 8vw, 112px); }
.closing__frame {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.closing__head { padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
.closing__title {
  font-stretch: var(--wide); font-weight: 300; color: #fff;
  font-size: clamp(2rem, 1.25rem + 2.5vw, 3.4rem); line-height: 1.06; letter-spacing: -.015em; margin: 0;
  max-width: 15ch; text-wrap: balance;
}
.closing__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  padding: 0 clamp(24px, 4vw, 56px) clamp(28px, 4vw, 48px);
}
@media (min-width: 900px) {
  .closing__frame { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; }
  .closing__head { padding-bottom: clamp(28px, 4vw, 56px); }
  .closing__actions { padding: 28px clamp(24px, 3vw, 44px); column-gap: 24px; }
}

/* Static echo of the hero's light line */
.frame-line {
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(243, 175, 78, .7)) drop-shadow(0 0 12px rgba(243, 175, 78, .3));
}
.frame-line path { fill: none; stroke: var(--amber); stroke-width: 2; stroke-linejoin: miter; stroke-linecap: square; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gece-3); color: var(--on-dark-muted); font-size: .9375rem; padding-top: 64px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--amber); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 32px; padding-bottom: 48px; }
.site-footer__mark { width: 30px; height: 36px; margin-bottom: 18px; }
.site-footer__name { font-stretch: var(--wide); font-size: 1.2rem; font-weight: 400; color: #fff; margin-bottom: 6px; }
.site-footer__title { font-size: .8125rem; font-weight: 550; color: var(--amber); margin: 0 0 10px; }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  font-size: .8125rem;
  background: linear-gradient(var(--line-dark), var(--line-dark)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-book { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(8, 28, 31, .96);
  color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 82vh; object-fit: contain; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 24px; text-align: center; font-size: .9375rem; color: var(--on-dark-muted); padding-inline: 72px; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: #fff; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .16); }
.lightbox__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 1023px) {
  .intro__text, .intro__media,
  .evening__text, .evening__main, .evening__side,
  .services__head, .services__list,
  .location__map, .location__info,
  .room__media, .room__body,
  .section-head .h2, .section-head__text { grid-column: 1 / -1; }
  .intro__media { margin-top: 40px; }
  .intro__media img { aspect-ratio: 3 / 2; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 48px; }
  .facts div { padding-bottom: 18px; }
  .section-head__text { margin-top: 16px; }

  .room { align-items: start; }
  .room__body { margin-top: 24px; }
  .rooms__common-title, .amenities { grid-column: 1 / -1; }
  .amenities { margin-top: 12px; }

  .evening__main { grid-row: 2; }
  .evening__main img { aspect-ratio: 3 / 2; height: auto; }
  .evening__side { grid-row: 3; }
  .services__list { margin-top: 36px; }
  .location__info { grid-row: 1; margin-bottom: 40px; }
  .location__map { grid-row: 2; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  /* Photo on top with the headline panel on its lower edge, search right below */
  .hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero__media { position: relative; grid-area: 1 / 1; height: clamp(440px, 74svh, 640px); }
  .hero__media img { object-position: 72% 30%; }
  .hero__stage { display: contents; }
  .hero__copy { grid-area: 1 / 1; align-self: end; position: relative; z-index: 2; margin-inline: var(--gutter); }
  .booking { grid-area: 2 / 1; z-index: 2; margin: 0 var(--gutter) 28px; width: auto; justify-self: stretch; }
  .hero__line { z-index: 3; }

  .booking { grid-template-columns: 1fr 1fr; }
  .booking__field { min-height: 84px; padding: 14px 18px; }
  .booking__field:nth-child(2) { border-left: 1px solid var(--line-dark); }
  #guestsField { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-dark); }
  .booking__submit { grid-column: 1 / -1; border-left: 0; padding: 14px 18px 18px; }
  .booking__submit .btn { width: 100%; }

  /* Popovers become bottom sheets */
  .popover {
    position: fixed; z-index: 80;
    left: 0 !important; right: 0 !important; top: auto; bottom: 0;
    width: 100% !important; max-height: 88vh; overflow-y: auto;
    border-radius: 14px 14px 0 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    animation: sheet .3s var(--ease);
  }
  .datepicker { display: flex; flex-direction: column; overflow: hidden; padding-inline: 16px; }
  .datepicker__months { grid-template-columns: 1fr; gap: 20px; overflow-y: auto; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; }
  .datepicker__foot { flex: none; }
  .day span { width: 44px; height: 44px; }
  .popover :focus-visible { outline-color: var(--bakir-ink); }

  .sticky-book {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(15, 50, 55, .94);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 -1px 0 var(--line-dark);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .sticky-book .btn { flex: 1; }
  .sticky-book__icon { width: 48px; height: 48px; flex: none; color: var(--on-dark); border-color: rgba(232, 239, 237, .35); }
  .sticky-book__icon:hover { background: rgba(232, 239, 237, .08); }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(150px, 38vw, 260px); }
  .gallery__grid li { grid-column: auto; grid-row: auto; }
  .gallery__grid .g-a { grid-column: 1 / -1; }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 720px) {
  .hero__lead { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__inner { gap: 10px; }
  .site-header__actions { gap: 4px; }
  .brand { gap: 10px; }
  .brand__mark { width: 22px; height: 28px; }
  .brand__name { font-size: .98rem; }
  .site-header__cta { display: none; }
  .hero__copy { gap: 14px; }
  .booking__value { font-size: 1.2rem; }
  .facts { grid-template-columns: 1fr; }
  .services__list { grid-template-columns: 1fr; }
  .location__map, .location__map iframe { min-height: 360px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .closing__actions .btn { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 24px; }
  .room-tab { padding-right: 20px; }
  .room-tab::after { right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
