:root {
  --ink: #1d1b1a;
  --muted: #6a625d;
  --paper: #fffaf4;
  --surface: #ffffff;
  --mist: #eef3f0;
  --line: rgba(29, 27, 26, 0.14);
  --red: #9f2f29;
  --red-dark: #6e211e;
  --teal: #0d5d61;
  --gold: #c39746;
  --shadow: 0 18px 48px rgba(35, 26, 19, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(16px, 4vw, 54px);
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
}

.brand {
  display: grid;
  gap: 1px;
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.92rem;
  font-weight: 800;
}

nav a {
  text-decoration: none;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.language-switch button {
  min-width: 40px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--ink);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: #fff;
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 10, 8, 0.82) 0%, rgba(20, 10, 8, 0.5) 48%, rgba(20, 10, 8, 0.18) 100%),
    linear-gradient(0deg, rgba(20, 10, 8, 0.42), rgba(20, 10, 8, 0));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(820px, calc(100% - 36px));
  padding: 25vh 0 15vh;
  margin-left: clamp(18px, 7vw, 92px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 6.5vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.lead {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: var(--red);
}

.button--primary:hover {
  background: var(--red-dark);
}

.button--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.button--full {
  width: 100%;
}

.summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.summary div {
  min-height: 116px;
  padding: 26px clamp(18px, 4vw, 40px);
  border-right: 1px solid var(--line);
}

.summary div:last-child {
  border-right: 0;
}

.summary strong,
.summary span {
  display: block;
}

.summary strong {
  font-size: clamp(1.38rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.summary span {
  margin-top: 8px;
  color: var(--muted);
}

.section,
.gallery-section,
.location,
.booking {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.section-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.location-grid article,
.booking__panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-grid article {
  padding: 24px;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-grid p,
.location-grid p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.gallery-section {
  background: var(--mist);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ddd;
}

figure.wide {
  grid-column: span 2;
}

figure img {
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

figure:hover img {
  transform: scale(1.03);
}

figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
}

.location {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: start;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.location-grid article {
  min-height: 150px;
  padding: 22px;
}

.location-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  color: #fff;
  background: var(--teal);
}

.booking h2 {
  max-width: 780px;
}

.booking p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.booking__panel {
  padding: 22px;
  color: var(--ink);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.price {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
}

.deposit,
.selected-date,
.instagram-note {
  margin: 0;
  color: var(--muted);
}

.deposit {
  margin-bottom: 18px;
  font-weight: 800;
}

.calendar {
  margin: 18px 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.calendar__head {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-align: center;
}

.calendar__head strong {
  text-transform: capitalize;
}

.calendar__nav,
.calendar__day {
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
}

.calendar__nav {
  width: 42px;
  height: 38px;
  color: var(--red-dark);
  background: #fff;
  cursor: pointer;
}

.calendar__nav:disabled {
  color: rgba(29, 27, 26, 0.28);
  cursor: not-allowed;
}

.calendar__weekdays,
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar__weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.calendar__blank,
.calendar__day {
  min-height: 38px;
}

.calendar__day {
  color: var(--ink);
  background: #fff;
}

.calendar__day.is-available {
  border-color: rgba(13, 93, 97, 0.35);
  color: var(--teal);
  cursor: pointer;
}

.calendar__day.is-available:hover,
.calendar__day.is-selected {
  color: #fff;
  background: var(--teal);
}

.calendar__day.is-unavailable {
  color: rgba(29, 27, 26, 0.28);
  background: rgba(29, 27, 26, 0.05);
  cursor: not-allowed;
}

.selected-date {
  min-height: 24px;
  margin-bottom: 14px;
  font-weight: 800;
}

.instagram-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

footer {
  padding: 24px clamp(18px, 6vw, 80px);
  color: var(--muted);
  background: var(--surface);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .summary,
  .intro,
  .location,
  .booking {
    grid-template-columns: 1fr;
  }

  .summary {
    grid-template-columns: repeat(2, 1fr);
  }

  .summary div:nth-child(2) {
    border-right: 0;
  }

  .gallery,
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  figure.wide {
    grid-column: span 2;
  }

  .booking {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .topbar {
    gap: 10px;
    padding-top: 12px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .language-switch button {
    min-width: 36px;
    min-height: 32px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero__content {
    width: calc(100% - 32px);
    padding-top: 28vh;
    margin-left: 16px;
  }

  .actions .button {
    width: 100%;
  }

  .summary,
  .feature-grid,
  .gallery,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .summary div {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary div:last-child {
    border-bottom: 0;
  }

  figure,
  figure.wide {
    grid-column: auto;
    min-height: 360px;
  }

  .booking {
    padding-bottom: 78px;
  }
}
