/* =========================================================
   Gästehaus Kulmer — pension-kulmer.at
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Hind";
  src: url("../fonts/Hind-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../fonts/Hind-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../fonts/Hind-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Hind";
  src: url("../fonts/Hind-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "MonteCarlo";
  src: url("../fonts/MonteCarlo.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #17445f;
  --ink-soft: #4a6b7e;
  --ink-faint: #5f7887;   /* fine print — 4.5:1 on --cream */
  --sage: #858a76;
  --sand: #ccbdae;
  --sand-dark: #7f6854;   /* small uppercase labels — 4.6:1 on --shell */
  --cream: #fefbf8;
  --shell: #f5efe8;
  --line: rgba(23, 68, 95, 0.13);
  --line-strong: rgba(23, 68, 95, 0.28);

  --font-sans: "Hind", -apple-system, "Segoe UI", sans-serif;
  --font-display: "MonteCarlo", "Hind", cursive;

  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1320px;
  --section-y: clamp(72px, 11vw, 168px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 84px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
video,
svg,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  line-height: 1.12;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection {
  background: var(--sand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

/* ---------- Type scale ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--sage);
}

.display--hero {
  font-size: clamp(64px, 14vw, 190px);
  color: #fff;
}

.display--xl { font-size: clamp(46px, 7.5vw, 104px); }
.display--lg { font-size: clamp(40px, 6vw, 78px); }

.eyebrow {
  display: block;
  margin-bottom: 1.4em;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--sand-dark);
}

.headline {
  font-size: clamp(25px, 2.7vw, 40px);
  font-weight: 300;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.subhead {
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink);
}

.lede {
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.78;
  color: var(--ink-soft);
}

.muted { color: var(--ink-soft); }
.small {
  font-size: 14px;
  line-height: 1.66;
}

strong, b { font-weight: 600; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.wrap--narrow { max-width: 900px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(52px, 7vw, 104px); }
.section--shell { background: var(--shell); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--sand);
  --btn-fg: var(--ink);
  --btn-bd: var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 56px;
  padding: 0 2.6em;
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-strong);
}

.btn--light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.55);
}
.btn--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.btn--solid-hero {
  --btn-bg: rgba(204, 189, 174, 0.92);
  --btn-bd: rgba(204, 189, 174, 0.92);
  min-height: 62px;
  padding-inline: 3.4em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  transition: gap 0.35s var(--ease), border-color 0.35s var(--ease);
}
.link-arrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease);
}
.link-arrow:hover {
  border-color: var(--ink);
  gap: 1.1em;
}
.link-arrow:hover::after { width: 30px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12, 28, 38, 0.42), transparent);
  opacity: 1;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}

.site-header.is-solid {
  background: rgba(254, 251, 248, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid::before { opacity: 0; }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height 0.5s var(--ease);
}
.site-header.is-solid .header-inner { min-height: 72px; }

.header-contact {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 0.5s var(--ease);
}
.site-header.is-solid .header-contact { color: var(--ink); }

.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  opacity: 0.94;
  transition: opacity 0.3s var(--ease);
}
.header-contact a:hover { opacity: 1; }

.header-contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.3;
}

.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
}
.header-logo img {
  width: clamp(92px, 9vw, 124px);
  height: auto;
  transition: filter 0.5s var(--ease), width 0.5s var(--ease);
  filter: brightness(0) invert(1);
}
.site-header.is-solid .header-logo img { filter: none; }

/* Burger */
.burger {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.5s var(--ease);
}
.site-header.is-solid .burger { color: var(--ink); }

.burger__lines {
  position: relative;
  display: block;
  width: 30px;
  height: 12px;
  flex: none;
}
.burger__lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease), opacity 0.25s var(--ease),
    width 0.45s var(--ease);
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 100%; width: 20px; }

.burger__label-close { display: none; }

body.nav-open .burger { color: var(--ink); }
body.nav-open .burger__lines span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
body.nav-open .burger__lines span:nth-child(2) {
  top: 6px;
  width: 100%;
  transform: rotate(-45deg);
}
body.nav-open .burger__label-open { display: none; }
body.nav-open .burger__label-close { display: inline; }

@media (max-width: 720px) {
  .burger__label { display: none; }
  .header-contact .header-contact__text { display: none; }
}

/* ---------- Nav overlay ---------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: grid;
  grid-template-rows: var(--header-h) 1fr auto;
  background: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
body.nav-open .nav-overlay {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-content: center;
  overflow-y: auto;
  padding-block: clamp(16px, 4vh, 48px);
}

.nav-list li {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.nav-list li:first-child { border-top: 1px solid var(--line); }

.nav-list a {
  display: flex;
  align-items: baseline;
  gap: 1em;
  padding: clamp(10px, 1.6vh, 20px) 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  color: var(--ink);
  transform: translateY(105%);
  transition: transform 0.7s var(--ease), color 0.35s var(--ease);
}
body.nav-open .nav-list a { transform: translateY(0); }
.nav-list a:hover { color: var(--sage); }

.nav-list__num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--sand-dark);
}

.nav-aside {
  align-self: center;
  font-size: 15px;
  color: var(--ink-soft);
}
.nav-aside h4 {
  margin-bottom: 0.9em;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.nav-aside p + h4 { margin-top: 2.4em; }
.nav-aside a:hover { color: var(--ink); }

.nav-overlay__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

@media (max-width: 900px) {
  .nav-overlay__body {
    grid-template-columns: 1fr;
    align-content: start;
  }
  .nav-aside { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0d2230;
}

.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 26, 36, 0.32) 0%,
    rgba(10, 26, 36, 0.12) 35%,
    rgba(10, 26, 36, 0.38) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: calc(var(--header-h) + 40px) 120px;
  text-align: center;
  color: #fff;
}

.hero__sub {
  margin: clamp(18px, 3vw, 40px) 0 clamp(30px, 4vw, 54px);
  font-size: clamp(19px, 2.1vw, 30px);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 1;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85), transparent);
  animation: scrollcue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

/* Page hero (subpages) */
.page-hero {
  position: relative;
  min-height: min(72svh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0d2230;
}
.page-hero__media {
  position: absolute;
  inset: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Room photos are bright and busy, so the title needs a firmer scrim than the
   video hero does — darkest at the bottom left, where the headline sits. */
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      to bottom,
      rgba(8, 22, 31, 0.5) 0%,
      rgba(8, 22, 31, 0.2) 38%,
      rgba(8, 22, 31, 0.78) 100%
    ),
    linear-gradient(to right, rgba(8, 22, 31, 0.42), rgba(8, 22, 31, 0) 62%);
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: calc(var(--header-h) + 60px) clamp(48px, 7vw, 92px);
  color: #fff;
}
.page-hero .eyebrow { color: rgba(255, 255, 255, 0.72); }
.page-hero .display { color: #fff; }
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  margin-top: clamp(22px, 3vw, 38px);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-hero__meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
}

/* Breadcrumb */
.crumb {
  display: flex;
  gap: 10px;
  padding-block: 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
}
.crumb a:hover { color: var(--ink); }

/* ---------- Intro / editorial ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
}

.collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}
.collage figure { margin: 0; overflow: hidden; }
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.collage figure:hover img { transform: scale(1.045); }
.collage__tall {
  grid-row: span 2;
  aspect-ratio: 3 / 4.6;
}
.collage__a { aspect-ratio: 4 / 3; }
.collage__b {
  aspect-ratio: 4 / 3;
  margin-top: clamp(-40px, -3vw, 0px);
}

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .collage__tall { aspect-ratio: 3 / 4; }
  .collage__b { margin-top: 0; }
}

/* Split editorial block */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 96px);
  align-items: center;
}
.split--wide-media { grid-template-columns: 1.15fr 1fr; }
.split--wide-text { grid-template-columns: 1fr 1.15fr; }
.split__media { position: relative; overflow: hidden; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.split__media--landscape img { aspect-ratio: 4 / 3; }
.split__media:hover img { transform: scale(1.04); }
.split__text > * + * { margin-top: 1.4em; }
.split--reverse .split__media { order: 2; }

@media (max-width: 900px) {
  .split,
  .split--wide-media,
  .split--wide-text { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* Size options list */
.options {
  display: grid;
  gap: 0;
  margin-block: 1.8em;
  border-top: 1px solid var(--line);
}
.options li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 0.95em 0;
  border-bottom: 1px solid var(--line);
}
.options__size {
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 300;
  color: var(--ink);
}
.options__desc {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Section heading ---------- */
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 60px);
  margin-bottom: clamp(38px, 5vw, 76px);
}
.sec-head__text { max-width: 620px; }
.sec-head .display { margin-bottom: 0.1em; }

/* ---------- Rooms ---------- */
.rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(26px, 3.4vw, 54px);
}
@media (max-width: 980px) {
  .rooms { grid-template-columns: repeat(2, 1fr); }
  .room:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  .rooms { grid-template-columns: 1fr; }
  .room:first-child { grid-column: auto; }
}

.room { display: flex; flex-direction: column; }
.room__media {
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
}
.room__media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  transition: transform 1.5s var(--ease);
}
.room:hover .room__media img { transform: scale(1.05); }
.room__num {
  position: absolute;
  left: 20px;
  top: 16px;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}
.room__kind {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.room__name {
  margin: 0.45em 0 0.55em;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1;
  color: var(--ink);
}
.room__caps {
  margin-bottom: 1.6em;
  font-size: 15px;
  color: var(--ink-soft);
}
.room__caps li + li { margin-top: 0.25em; }
.room__cta { margin-top: auto; }

/* ---------- Quote ---------- */
.quote {
  text-align: center;
  max-width: 1000px;
  margin-inline: auto;
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.3vw, 62px);
  line-height: 1.16;
  color: var(--sage);
}
.quote__mark {
  display: block;
  width: 1px;
  height: 58px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  background: var(--line-strong);
}

/* ---------- Feature strip (Inklusivleistungen) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.features li {
  background: var(--cream);
  padding: clamp(26px, 3vw, 44px) clamp(18px, 2vw, 32px);
  text-align: center;
}
.section--shell .features li { background: var(--shell); }
.features__ico {
  display: block;
  margin: 0 auto 18px;
  width: 26px;
  height: 26px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.2;
}
.features__label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
@media (max-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Season cards ---------- */
.seasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(28px, 4vw, 72px);
}
@media (max-width: 860px) {
  .seasons { grid-template-columns: 1fr; }
}
.season__media { overflow: hidden; margin-bottom: 30px; }
.season__media img {
  width: 100%;
  aspect-ratio: 5 / 3.4;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.season:hover .season__media img { transform: scale(1.04); }
.season .headline { margin-bottom: 0.6em; }

/* ---------- Partner ---------- */
.partner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
}
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } }
.partner__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* The partner supplied a logo rather than a photograph: show it as a plate,
   not as a cropped image. */
.partner__media--logo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: clamp(28px, 4vw, 60px);
  background: var(--shell);
  border: 1px solid var(--line);
}
.partner__media--logo img {
  width: auto;
  max-width: min(420px, 100%);
  aspect-ratio: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.contact-lines {
  margin-top: 1.6em;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.contact-lines a:hover { color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  grid-column: span 4;
  cursor: zoom-in;
  background: var(--shell);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.3s var(--ease), opacity 0.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.055); }
.gallery__item--wide { grid-column: span 6; }
.gallery__item--wide img { aspect-ratio: 16 / 9; }
.gallery__item--tall { grid-column: span 4; }
.gallery__item--tall img { aspect-ratio: 3 / 4; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item,
  .gallery__item--wide,
  .gallery__item--tall { grid-column: span 1; }
  .gallery__item img,
  .gallery__item--wide img,
  .gallery__item--tall img { aspect-ratio: 4 / 3; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(10, 22, 30, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 84svh;
  object-fit: contain;
}
.lightbox__count {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vw, 34px);
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.72);
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.6);
}
.lightbox__btn--prev { left: clamp(10px, 2.5vw, 34px); }
.lightbox__btn--next { right: clamp(10px, 2.5vw, 34px); }
.lightbox__close {
  position: absolute;
  top: clamp(14px, 2.5vw, 30px);
  right: clamp(14px, 2.5vw, 30px);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
@media (max-width: 720px) {
  .lightbox__btn { width: 44px; height: 44px; }
}

/* ---------- Spec lists ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(26px, 3.5vw, 60px);
}
.spec h4 {
  padding-bottom: 0.7em;
  margin-bottom: 0.9em;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.spec ul { font-size: 15px; color: var(--ink-soft); }
.spec li {
  position: relative;
  padding-left: 18px;
  line-height: 1.75;
}
.spec li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 1px;
  background: var(--sand-dark);
}

/* Bedroom cards */
.bedrooms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.bedroom {
  background: var(--cream);
  padding: clamp(24px, 2.6vw, 38px);
}
.section--shell .bedroom { background: var(--shell); }
.bedroom__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.1em;
}
.bedroom__name {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
}
.bedroom__pax {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.bedroom ul {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- Plan ---------- */
.plan {
  padding: clamp(20px, 3vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
}
.plan img { width: 100%; }

/* ---------- Price tables ---------- */
.rates { display: grid; gap: clamp(30px, 4vw, 54px); }
.rate-block__title {
  margin-bottom: 1em;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.rate-block__period {
  margin-bottom: 1.2em;
  font-size: 14px;
  color: var(--ink-soft);
}
table.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.rates-table caption {
  text-align: left;
  padding-bottom: 0.9em;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
}
.rates-table th,
.rates-table td {
  padding: 0.95em 1.1em;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
}
.rates-table thead th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand-dark);
  border-bottom-color: var(--line-strong);
}
.rates-table tbody th {
  font-weight: 400;
  color: var(--ink);
}
.rates-table td { color: var(--ink-soft); }
.rates-table td.is-price {
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
}
.rates-table tbody tr:hover { background: rgba(204, 189, 174, 0.11); }
.table-scroll { overflow-x: auto; }

.notes {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.notes li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding: 0.85em 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-soft);
}
.notes li strong { color: var(--ink); font-weight: 400; }

/* ---------- Booking / contact ---------- */
.booking {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(34px, 5vw, 90px);
  align-items: start;
}
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }

.form { display: grid; gap: 22px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; }
.field > label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.35s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%234a6b7e' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
}
.field textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.6;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-faint); }

.form__consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.form__consent input {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  accent-color: var(--sage);
  flex: none;
}
.form__consent button {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__note {
  font-size: 13px;
  color: var(--ink-faint);
}

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--shell);
  border: 1px solid var(--line);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(0.92) opacity(0.9);
  transition: filter 0.6s var(--ease);
}
.map:hover iframe { filter: grayscale(0) contrast(1) opacity(1); }

.contact-card {
  margin-top: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
}
.contact-card h4 {
  margin-bottom: 0.8em;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.contact-card p { font-size: 15.5px; line-height: 1.8; color: var(--ink-soft); }
.contact-card a:hover { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: #0d2230;
  color: #fff;
  text-align: center;
}
.cta-band__bg {
  position: absolute;
  inset: 0;
}
.cta-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
}
.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 26, 36, 0.5), rgba(10, 26, 36, 0.66));
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(76px, 10vw, 150px);
}
.cta-band .display { color: #fff; }
.cta-band .lede { color: rgba(255, 255, 255, 0.86); margin-inline: auto; max-width: 620px; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 46px);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(52px, 6vw, 84px) 34px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(30px, 4vw, 64px);
  padding-bottom: clamp(38px, 5vw, 64px);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand img { width: 108px; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; color: var(--ink-soft); }

.footer-col h4 {
  margin-bottom: 1.1em;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.footer-col li { font-size: 15px; line-height: 2; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-faint);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.footer-bottom button:hover,
.footer-bottom a:hover { color: var(--ink); }
.footer-agency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-agency img {
  width: 74px;
  opacity: 0.5;
  transition: opacity 0.35s var(--ease);
}
.footer-agency:hover img { opacity: 1; }

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(12px, 4vw, 48px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 30, 0.58);
  backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  width: min(880px, 100%);
  max-height: min(86svh, 900px);
  overflow-y: auto;
  padding: clamp(28px, 4.5vw, 64px);
  background: var(--cream);
  transform: translateY(16px);
  transition: transform 0.5s var(--ease);
}
.modal.is-open .modal__panel { transform: none; }
.modal__panel--wide { width: min(1040px, 100%); }
.modal__close {
  position: sticky;
  float: right;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin: -12px -12px 0 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  background: var(--cream);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.modal__close:hover { background: var(--ink); color: #fff; }

.legal h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 54px);
  color: var(--sage);
  margin-bottom: 0.5em;
}
.legal h3 {
  margin: 2em 0 0.7em;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.legal h3:first-of-type { margin-top: 1.4em; }
.legal p,
.legal li {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.legal ul { margin: 0 0 1.1em; }
.legal li {
  position: relative;
  padding-left: 18px;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 1px;
  background: var(--sand-dark);
}
.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
}
.legal a:hover { text-decoration-color: var(--ink); }
.legal__address {
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.booking-widget-frame { min-height: 420px; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll i { animation: none; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.center { text-align: center; }
