/* =========================================================
   Anadolu Hotel, Sultanahmet
   Vine-leaf green from the terrace, saffron from the emblem's
   gold disc, limewash from the façade.
   Vollkorn (headings) + Albert Sans (text, interface)
   ========================================================= */

:root {
  --green: #2A4331;        /* asma yaprağı: booking bar, terrace band, footer, headings */
  --green-2: #213628;      /* hover / pressed */
  --saffron: #D9A12C;      /* amblem safranı: main CTA, arch lines, small marks */
  --saffron-2: #E6B34A;
  --lime: #F0F2EC;         /* kireç badanası: light sections */
  --white: #FFFFFF;
  --ink: #1E2A22;
  --muted: #5B675E;
  --line: #DCE1D9;
  --on-dark: #F0F2EC;
  --on-dark-muted: rgba(240, 242, 236, .74);
  --line-dark: rgba(240, 242, 236, .2);

  --serif: "Vollkorn", Georgia, "Times New Roman", serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 76px;
  --radius: 3px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::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;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-variant-numeric: lining-nums;
  -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, h1, h2, h3 { margin: 0; }
dl, dd { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.hero :focus-visible,
.terrace :focus-visible,
.site-footer :focus-visible,
.sticky-book :focus-visible,
.lightbox :focus-visible,
.site-header:not(.is-scrolled) :focus-visible { outline-color: var(--saffron); }
.hero .popover :focus-visible { outline-color: var(--green); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--green); border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

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

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

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -.012em;
  color: var(--green);
  text-wrap: balance;
}
.lead { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green); --btn-fg: var(--white); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--sans); font-weight: 600; font-size: .9375rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--green:hover { --btn-bg: var(--green-2); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1rem; }
.btn--saffron { --btn-bg: var(--saffron); --btn-fg: var(--green-2); }
.btn--saffron:hover { --btn-bg: var(--saffron-2); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--green); --btn-bd: var(--green); }
.btn--outline:hover { --btn-bg: var(--green); --btn-fg: var(--white); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(240, 242, 236, .45); }
.btn--outline-light:hover { --btn-bg: var(--on-dark); --btn-fg: var(--green); --btn-bd: var(--on-dark); }

.text-link {
  font-weight: 600; font-size: .9375rem; color: var(--green);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: var(--saffron);
}
.text-link:hover { text-decoration-thickness: 2px; }
.text-link--light { color: var(--on-dark); }

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

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  background: none; border: 1px solid transparent; border-radius: var(--radius);
  color: var(--green); cursor: pointer;
}
.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(--lime); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.icon-btn--round { border-radius: 50%; border-color: var(--line); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: var(--header-h);
  color: var(--white);
  transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header::before {
  /* soft shade so the white header text holds on any sky */
  content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(9, 18, 38, .42), rgba(9, 18, 38, 0));
  transition: opacity .3s var(--ease);
}
.site-header.is-scrolled { background: var(--white); color: var(--green); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner {
  height: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; color: var(--saffron); flex: none; }
.brand__text { display: grid; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.3125rem; letter-spacing: .005em; }
.brand__place { font-size: .8125rem; opacity: .8; }

.nav__list { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.nav__list a {
  font-size: .9375rem; font-weight: 500; text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(var(--saffron), var(--saffron)) 0 100% / 0 2px no-repeat;
  transition: background-size .25s var(--ease);
}
.nav__list a:hover { background-size: 100% 2px; }

.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 9px; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; opacity: .62;
}
.lang__btn + .lang__btn { border-left: 1px solid currentColor; }
.lang__btn.is-active { opacity: 1; }
.lang__btn:hover { opacity: 1; }

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

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55;
  background: var(--green); color: var(--on-dark);
  padding-top: 16px; overflow-y: auto;
}
.mobile-menu__list li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__list a {
  display: block; padding: 18px 0;
  font-family: var(--serif); font-size: 1.625rem; text-decoration: none;
}
.mobile-menu__foot { display: grid; gap: 12px; margin-top: 32px; padding-bottom: 32px; color: var(--on-dark-muted); }
.mobile-menu__foot a { text-decoration: none; }
.site-header.menu-open { background: var(--green); color: var(--on-dark); box-shadow: none; }
.site-header.menu-open::before { opacity: 0; }

/* =========================================================
   Hero
   Change the photo by replacing hero.webp / hero-mobile.webp.
   Crop and headline placement are set here, in one place.
   ========================================================= */
.hero {
  --hero-pos: 50% 40%;           /* desktop crop of hero.webp */
  --hero-pos-mobile: 22% 0%;     /* mobile crop of hero-mobile.webp */
  --hero-ink: #FFFFFF;           /* headline colour; use var(--green) on a bright daytime sky */
  --hero-shade: .5;              /* strength of the left-hand shade behind the headline (0 = none) */
  --copy-top: clamp(124px, 19vh, 220px);
  --copy-width: 12.5ch;          /* keep the headline inside the empty sky */
  --bar-width: min(900px, 72%);  /* booking bar, anchored to the right */
  --bar-overlap: 52px;           /* how far the bar hangs below the photo */

  position: relative;
  min-height: max(600px, calc(100svh - var(--bar-overlap) - 20px));
  background: #101C3E;
  color: var(--hero-ink);
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(8, 15, 36, calc(var(--hero-shade) * .9)) 0%, rgba(8, 15, 36, calc(var(--hero-shade) * .35)) 34%, rgba(8, 15, 36, 0) 58%),
    linear-gradient(0deg, rgba(14, 20, 18, .45) 0%, rgba(14, 20, 18, 0) 26%);
}
.hero__inner { position: relative; z-index: 2; min-height: inherit; }
.hero__copy { padding-top: var(--copy-top); padding-bottom: 160px; }
.hero__title {
  max-width: var(--copy-width);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 5.4vw, 5.25rem);
  line-height: 1.01;
  letter-spacing: -.018em;
  color: var(--hero-ink);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(6, 12, 30, .35);
}
.hero__lead {
  max-width: 34ch; margin-top: 26px;
  font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.55;
  color: var(--hero-ink); opacity: .92;
  text-shadow: 0 1px 16px rgba(6, 12, 30, .45);
}

/* the one load moment */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes riseBar { from { opacity: 0; transform: translateY(calc(50% + 18px)); } to { opacity: 1; transform: translateY(50%); } }
.hero__title { animation: rise .9s var(--ease) .1s both; }
.hero__lead { animation: rise .9s var(--ease) .28s both; }

/* ---------- Booking bar ---------- */
.booking {
  position: absolute; right: var(--gutter); bottom: 0; z-index: 5;
  width: var(--bar-width);
  transform: translateY(50%);
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr auto;
  background: var(--green);
  color: var(--on-dark);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(12, 22, 16, .6);
  animation: riseBar .9s var(--ease) .45s both;
}
.booking__field {
  display: grid; align-content: center; gap: 2px;
  min-width: 0; min-height: 104px; padding: 18px 22px;
  text-align: left; background: none; border: 0; cursor: pointer;
  color: var(--on-dark);
  transition: background-color .2s var(--ease);
}
.booking__field + .booking__field { border-left: 1px solid var(--line-dark); }
.booking__field:hover, .booking__field[aria-expanded="true"] { background: rgba(240, 242, 236, .07); }
.booking__label { font-size: .8125rem; font-weight: 500; color: var(--on-dark-muted); }
.booking__value {
  font-family: var(--serif); font-size: 1.375rem; line-height: 1.25; color: var(--white);
  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; justify-items: center; gap: 8px;
  padding: 16px 18px; border-left: 1px solid var(--line-dark);
}
.booking__note { font-size: .75rem; line-height: 1.35; color: var(--on-dark-muted); text-align: center; max-width: 24ch; }

/* ---------- Popovers ---------- */
.popover {
  position: absolute; z-index: 40;
  bottom: calc(100% + 12px);
  background: var(--white); color: var(--ink);
  border-radius: 6px;
  box-shadow: 0 30px 70px -20px rgba(10, 20, 14, .55), 0 0 0 1px rgba(42, 67, 49, .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-family: var(--serif); font-weight: 500; font-size: 1.1875rem; color: var(--green); 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: #E3E8E0; }
.day:disabled { color: #AFB8B0; cursor: default; }
.day:focus-visible { outline: none; }
.day:focus-visible span { box-shadow: 0 0 0 2px var(--green); }
.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(--lime); }
.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(--green); color: var(--white); }
.day.is-start:hover span, .day.is-end:hover span { background: var(--green-2); }
.day--blank { pointer-events: none; }

.guests { right: 0; width: 370px; 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: 600; color: var(--green); }
.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='%232A4331' 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: 600; 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(12, 22, 16, .55); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }

/* =========================================================
   Intro
   ========================================================= */
.intro { padding-top: calc(var(--section) + var(--bar-overlap)); }
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); align-items: center; }
.intro__text { grid-column: 1 / span 6; }
.intro__text .h2 { max-width: 15ch; margin-bottom: 28px; }
.intro__text p + p { margin-top: 18px; color: var(--muted); max-width: 58ch; }
.intro__text .lead { max-width: 40ch; }
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: 44px;
}
.facts div { padding-top: 14px; border-top: 2px solid var(--saffron); }
.facts dt { font-size: .8125rem; color: var(--muted); }
.facts dd { margin-top: 4px; font-family: var(--serif); font-size: 1.125rem; line-height: 1.3; color: var(--green); }
.rating { margin-top: 28px; font-size: .875rem; color: var(--muted); }
.intro__media { grid-column: 8 / -1; }
.intro__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 60%; border-radius: var(--radius); }
figcaption { margin-top: 12px; font-size: .875rem; color: var(--muted); }

/* =========================================================
   Rooms: "How many of you?"
   ========================================================= */
.rooms { background: var(--lime); }
.section-head {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px);
  align-items: end; margin-bottom: clamp(36px, 4vw, 56px);
}
.section-head .h2 { grid-column: 1 / span 5; }
.section-head__text { grid-column: 7 / -1; color: var(--muted); max-width: 56ch; }

.pick {
  display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px clamp(20px, 3vw, 44px);
  padding-bottom: 18px; margin-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.pick__q { font-family: var(--serif); font-style: italic; font-size: 1.375rem; color: var(--green); margin-right: clamp(4px, 2vw, 28px); padding-bottom: 10px; }
.pick__btn {
  position: relative;
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 0 4px 6px; background: none; border: 0; cursor: pointer;
  color: #87918A;
  transition: color .2s var(--ease);
}
.pick__num { font-family: var(--serif); font-weight: 500; font-size: clamp(2.75rem, 4.4vw, 3.75rem); line-height: 1; font-variant-numeric: lining-nums; }
.pick__label { font-size: .9375rem; font-weight: 500; }
.pick__btn:hover { color: var(--green); }
.pick__btn.is-active { color: var(--green); }
.pick__btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -19px; height: 3px;
  background: var(--saffron); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.pick__btn.is-active::after { transform: scaleX(1); }

.beds { display: inline-flex; margin-bottom: 28px; border: 1px solid var(--green); border-radius: var(--radius); }
.beds__btn {
  padding: 10px 18px; background: none; border: 0; cursor: pointer;
  font-size: .9375rem; font-weight: 500; color: var(--green);
}
.beds__btn + .beds__btn { border-left: 1px solid var(--green); }
.beds__btn.is-active { background: var(--green); color: var(--white); }

.room {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px);
  align-items: start;
}
.room__media { grid-column: 1 / span 7; }
.room__main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #E3E8E0; }
.room__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.room__thumb {
  width: clamp(72px, 9vw, 112px); padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; opacity: .62;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: opacity .2s var(--ease);
}
.room__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.room__thumb:hover { opacity: 1; }
.room__thumb.is-active { opacity: 1; outline-color: var(--saffron); }
.room__body { grid-column: 9 / -1; padding-top: 8px; }
.room__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1.12; color: var(--green); }
.room__desc { margin-top: 16px; color: var(--ink); max-width: 44ch; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 28px 0 30px; }
.specs div { padding: 12px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: .8125rem; color: var(--muted); }
.specs dd { font-weight: 500; color: var(--green); }
.room__aside { margin: -8px 0 26px; font-size: .9375rem; color: var(--muted); max-width: 44ch; }
.rooms__note { margin-top: clamp(40px, 5vw, 64px); padding-top: 18px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); max-width: 80ch; }

/* =========================================================
   Terrace and garden: the emblem's two arches
   ========================================================= */
.terrace { background: var(--green); color: var(--on-dark); overflow: hidden; }
.terrace .h2 { color: var(--white); max-width: 14ch; }
.terrace__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); align-items: center; }
.terrace__text { grid-column: 1 / span 5; }
.terrace__text .lead { margin-top: 28px; color: var(--on-dark); max-width: 36ch; }
.terrace__text p + p { margin-top: 16px; color: var(--on-dark-muted); max-width: 42ch; }
.terrace__text .text-link { display: inline-block; margin-top: 28px; }

.arches {
  grid-column: 7 / -1;
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 40px);
  padding-top: 14px;
}
/* the slit at the top of the emblem, running between the two arches */
.arches::before {
  content: ""; position: absolute; left: 50%; top: -10px; bottom: 38px; width: 1px;
  background: var(--saffron); opacity: .9;
}
.arch { position: relative; }
.arch__frame { position: relative; }
.arch__frame img {
  width: 100%; aspect-ratio: 5 / 8; object-fit: cover;
  border-radius: 999px 999px 2px 2px;
}
.arch__frame::after {
  content: ""; position: absolute; inset: -10px -10px 0;
  border: 1px solid var(--saffron); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.arch:nth-child(1) img { object-position: 30% 50%; }
.arch:nth-child(2) img { object-position: 40% 50%; }
.arch figcaption { margin-top: 16px; font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--on-dark); text-align: center; }

/* =========================================================
   Breakfast
   ========================================================= */
.breakfast__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); align-items: center; }
.breakfast__main { grid-column: 1 / span 7; }
.breakfast__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.breakfast__text { grid-column: 9 / -1; }
.breakfast__text p { margin-top: 24px; color: var(--ink); max-width: 42ch; }
.breakfast__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.breakfast__pair img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--lime); }
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.services__head { grid-column: 1 / span 4; }
.services__head .section-head__text { margin-top: 20px; }
.services__list { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 48px); }
.services__list div { padding: 18px 0 20px; border-top: 1px solid var(--line); }
.services__list dt { font-family: var(--serif); font-weight: 500; font-size: 1.1875rem; color: var(--green); }
.services__list dd { margin-top: 4px; font-size: .9375rem; color: var(--muted); }

.stay {
  grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px);
  padding: clamp(28px, 3.5vw, 44px) 0 0; border-top: 2px solid var(--green);
}
.stay__title { grid-column: 1 / span 4; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--green); }
.stay__list { grid-column: 6 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 3vw, 48px); }
.stay__list dt { font-weight: 600; color: var(--green); font-size: .9375rem; }
.stay__list dd { margin-top: 4px; font-size: .9375rem; color: var(--muted); }

/* =========================================================
   Location
   ========================================================= */
.location__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); align-items: start; }
.location__map { grid-column: 1 / span 7; position: sticky; top: calc(var(--header-h) + 24px); }
.location__map iframe { display: block; width: 100%; height: clamp(420px, 44vw, 620px); border: 0; border-radius: var(--radius); background: var(--lime); filter: saturate(.85); }
.location__info { grid-column: 9 / -1; }
.dist__title { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--green); margin-bottom: 6px; }
.dist__title:not(:first-child) { margin-top: 32px; }
.dist li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9375rem;
}
.dist__v { flex: none; font-variant-numeric: tabular-nums; color: var(--muted); }
.dist__note { margin: 20px 0 24px; font-size: .8125rem; line-height: 1.5; color: var(--muted); }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { background: var(--lime); }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__btn {
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: .875rem; font-weight: 500; color: var(--green); cursor: pointer;
}
.filters__btn:hover { border-color: var(--green); }
.filters__btn.is-active { background: var(--green); border-color: var(--green); color: var(--white); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.gallery__item {
  display: block; width: 100%; padding: 0; border: 0; background: #DDE3DA; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden;
}
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--green); color: var(--on-dark); padding-top: clamp(72px, 9vw, 120px); }
.closing { display: grid; justify-items: center; text-align: center; padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line-dark); }
.closing__mark { width: 72px; height: 72px; color: var(--saffron); }
.closing__line { margin-top: 20px; font-family: var(--serif); font-style: italic; font-size: clamp(2.25rem, 4.5vw, 3.75rem); line-height: 1.1; color: var(--white); }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: 56px; }
.site-footer__h { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; color: var(--saffron); margin-bottom: 12px; }
.site-footer address, .site-footer__list { font-size: .9375rem; line-height: 1.7; color: var(--on-dark); }
.site-footer address { margin-bottom: 12px; }
.site-footer__list a { text-decoration: none; }
.site-footer__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding-block: 22px calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  font-size: .8125rem; color: var(--on-dark-muted);
}

/* ---------- 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(17, 28, 21, .96); color: var(--white);
}
.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: 80px; }
.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, .22); color: var(--white); 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; }
  .hero { --bar-width: calc(100% - 2 * var(--gutter)); }
}

@media (max-width: 1023px) {
  .intro__text, .intro__media,
  .section-head .h2, .section-head__text,
  .room__media, .room__body,
  .terrace__text, .arches,
  .breakfast__main, .breakfast__text,
  .services__head, .services__list, .stay__title, .stay__list,
  .location__map, .location__info { grid-column: 1 / -1; }
  .intro__media { margin-top: 48px; }
  .intro__media img { aspect-ratio: 4 / 3; object-position: 60% 70%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head__text { margin-top: 16px; }
  .room__body { margin-top: 28px; }
  .arches { margin-top: 56px; max-width: 620px; }
  .breakfast__text { margin-top: 36px; }
  .services__list { margin-top: 32px; }
  .stay__list { margin-top: 20px; }
  .location__map { position: static; }
  .location__info { margin-top: 40px; }
  .gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 899px) {
  /* Photo on top with the headline in its sky; the booking bar rides its lower edge */
  .hero { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--white); }
  .hero::before { inset: 0 0 auto; height: clamp(480px, 74svh, 660px); }
  .hero__media { position: relative; grid-area: 1 / 1; height: clamp(480px, 74svh, 660px); }
  .hero__media img { object-position: var(--hero-pos-mobile); }
  .hero__inner { display: contents; }
  .hero__copy { grid-area: 1 / 1; position: relative; z-index: 2; padding: calc(var(--header-h) + 28px) var(--gutter) 0; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.5rem); max-width: 7.5ch; }
  .hero__lead { max-width: 20ch; font-size: 1rem; margin-top: 18px; }
  .booking {
    grid-area: 2 / 1; position: relative; right: auto; bottom: auto; z-index: 3;
    width: auto; margin: -56px var(--gutter) 0;
    transform: none; animation-name: rise;
    grid-template-columns: 1fr 1fr;
  }
  .booking__field { min-height: 86px; padding: 14px 18px; }
  #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: 4px 18px 18px; }
  .booking__submit .btn { width: 100%; }
  .intro { padding-top: clamp(64px, 12vw, 96px); }

  /* 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; }

  .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(42, 67, 49, .96);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    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(240, 242, 236, .35); }
  .sticky-book__icon:hover { background: rgba(240, 242, 236, .08); }
  .sticky-book.is-visible { transform: none; }
  .site-footer { padding-bottom: 76px; }
}
@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; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__name { font-size: 1.125rem; }
  .site-header__cta { display: none; }
  .site-header__actions { gap: 4px; }
  .booking__value { font-size: 1.1875rem; }
  .pick { gap: 4px 18px; }
  .pick__q { width: 100%; padding-bottom: 2px; }
  .pick__btn::after { bottom: -19px; }
  .specs { grid-template-columns: 1fr 1fr; }
  .arches { gap: 20px; }
  .arch__frame::after { inset: -7px -7px 0; }
  .arch figcaption { font-size: 1rem; }
  .services__list, .stay__list { grid-template-columns: 1fr; }
  .stay__list { gap: 18px; }
  .location__map iframe { height: 360px; }
  .gallery__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .closing__actions .btn { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
  .lightbox__cap { bottom: 132px; padding-inline: 24px; }
}

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