:root {
  --ink: #182326;
  --muted: #607174;
  --line: #e4e7e2;
  --paper: #fbfaf6;
  --white: #ffffff;
  --soft: #f5f4ee;
  --sea: #087c89;
  --sea-dark: #07545d;
  --coral: #c95f68;
  --coral-dark: #a94752;
  --sand: #eee6d7;
  --shadow: 0 18px 45px rgba(24, 35, 38, 0.12);
}

* {
  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.55;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.96);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.logo-brand {
  display: inline-flex;
  align-items: center;
  width: 54px;
  height: 54px;
}

.logo-brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 9px 13px;
  font: inherit;
}

.nav-panel,
.nav-links,
.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.language-switcher a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 11px;
  text-decoration: none;
}

.nav-links a:hover,
.language-switcher a:hover,
.language-switcher a[aria-current="true"] {
  background: var(--soft);
  color: var(--ink);
}

.language-switcher {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}

.listing-head,
.listing-photos,
.summary-strip,
.content-shell,
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.listing-head {
  padding: 34px 20px 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--sea-dark);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 10px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.16;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.rating-line,
.lead,
.booking-note,
.section-note {
  color: var(--muted);
}

.listing-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 10px;
  padding: 0 20px;
}

.listing-photos figure {
  position: relative;
  min-height: 205px;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #dcebea, #efe2cf);
}

.photo-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.photo-button img {
  transition: transform 180ms ease, filter 180ms ease;
}

.photo-button:hover img {
  filter: brightness(0.92);
  transform: scale(1.02);
}

.photo-main {
  min-height: 430px;
  border-radius: 18px 0 0 18px;
}

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

.photo-side figure:nth-child(2) {
  border-radius: 0 18px 0 0;
}

.photo-side figure:nth-child(4) {
  border-radius: 0 0 18px 0;
}

.image-missing img {
  display: none;
}

.image-missing::before {
  content: "Image to add";
  display: grid;
  min-height: inherit;
  place-items: center;
  color: var(--muted);
}

.show-photos {
  position: absolute;
  right: 34px;
  bottom: 14px;
  z-index: 3;
  border: 1px solid rgba(24, 35, 38, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 10px 14px;
  box-shadow: 0 8px 20px rgba(24, 35, 38, 0.14);
}

.modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  background: rgba(251, 250, 246, 0.98);
  padding: 18px;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.gallery-close,
.gallery-nav,
.gallery-thumbs button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.gallery-close {
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  padding: 10px 14px;
}

.gallery-view {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
}

.gallery-view img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 190px);
  border-radius: 16px;
  object-fit: contain;
  background: var(--soft);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  font-size: 34px;
  transform: translateY(-50%);
}

.gallery-nav.prev {
  left: 16px;
}

.gallery-nav.next {
  right: 16px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  overflow-x: auto;
  padding-bottom: 4px;
  width: 100%;
}

.gallery-thumbs button {
  flex: 0 0 94px;
  height: 68px;
  overflow: hidden;
  border-radius: 10px;
  padding: 0;
  opacity: 0.72;
}

.gallery-thumbs button[aria-current] {
  border-color: var(--sea);
  opacity: 1;
}

.summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 20px 18px;
}

.summary-strip h2 {
  margin-bottom: 4px;
  font-size: clamp(22px, 3vw, 30px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--coral);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--coral-dark);
}

.button.secondary {
  color: var(--sea-dark);
  background: var(--white);
  border-color: var(--line);
}

.content-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  padding: 18px 20px 70px;
}

.content-main {
  min-width: 0;
}

.content-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}

.content-section:first-child {
  border-top: 0;
}

.highlight-grid,
.amenity-grid,
.sleep-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.highlight-grid div,
.amenity,
.sleep-grid article,
.review-card,
.booking-card,
.notice,
.final-cta {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.highlight-grid div {
  padding: 14px 16px;
  font-weight: 700;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
}

.amenity span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--soft);
  color: var(--sea-dark);
}

.amenity svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sleep-grid article {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.sleep-grid span {
  color: var(--muted);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  padding: 18px;
}

.review-card p {
  color: var(--muted);
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card span {
  color: var(--sea-dark);
  letter-spacing: 0.08em;
}

.booking-card {
  position: sticky;
  top: 86px;
  align-self: start;
  padding: 22px;
  box-shadow: var(--shadow);
}

.booking-card h2 {
  margin-bottom: 6px;
  font-size: 24px;
}

.booking-fields {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 12px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.date-trigger {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  padding: 12px;
  text-align: left;
}

.date-trigger:hover,
.date-trigger:focus-visible {
  border-color: var(--sea);
  outline: 3px solid rgba(8, 124, 137, 0.14);
}

.full {
  width: 100%;
}

.booking-note {
  margin: 14px 0 0;
  font-size: 14px;
}

.form-message {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
}

.form-message.is-error {
  color: #9f2d2d;
}

.form-message.is-success {
  color: var(--sea-dark);
}

.date-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(24, 35, 38, 0.32);
  padding: 20px;
}

.date-modal[hidden] {
  display: none;
}

.date-picker {
  width: min(860px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 18px;
}

.request-dialog {
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 18px;
}

.date-picker-head,
.date-picker-controls,
.date-picker-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.date-picker-head h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.date-picker-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.date-selection-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.date-selection-summary div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 10px 12px;
}

.date-selection-summary span,
.date-selection-summary strong {
  display: block;
}

.date-selection-summary span {
  color: var(--muted);
  font-size: 12px;
}

.request-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.date-picker-controls {
  justify-content: flex-end;
  margin: 14px 0;
}

.date-picker-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 24px;
}

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

.date-month h3 {
  text-align: center;
}

.date-weekdays,
.date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.date-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.date-day,
.date-empty {
  display: grid;
  min-height: 40px;
  place-items: center;
}

.date-day {
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.date-day:hover,
.date-day:focus-visible {
  border-color: var(--sea);
  outline: none;
}

.date-day.is-selected {
  background: var(--coral);
  color: var(--white);
}

.date-day.is-in-range {
  border-radius: 12px;
  background: var(--sand);
}

.date-day.is-disabled {
  color: #9a9a9a;
  cursor: not-allowed;
  text-decoration: line-through;
}

.date-picker-foot {
  margin-top: 18px;
}

.summary-strip .button.secondary {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}

.summary-strip .button.secondary:hover,
.summary-strip .button.secondary:focus-visible {
  border-color: var(--coral-dark);
  background: var(--coral-dark);
}

.calendar-frame {
  display: grid;
  width: 100%;
  height: 600px;
  min-height: 360px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.map-frame {
  height: 450px;
}

.placeholder {
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.price-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.price-table th,
.price-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
}

.price-table th {
  background: var(--soft);
}

.notice {
  padding: 18px;
  color: var(--muted);
}

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

.two-column ul {
  margin: 0;
  padding-left: 20px;
}

.final-cta {
  padding: 26px;
  background: linear-gradient(135deg, var(--sea-dark), var(--sea));
  color: var(--white);
}

.final-cta p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin: 12px 0 18px;
}

.contact-links a {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.footer .contact-links {
  justify-content: flex-end;
  margin: 0;
}

.final-cta .button {
  background: var(--coral);
  color: var(--white);
}

.final-cta .button:hover,
.final-cta .button:focus-visible {
  background: var(--coral-dark);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    padding: 14px 20px 18px;
  }

  .nav-panel.open {
    display: flex;
  }

  .nav-links,
  .language-switcher {
    flex-wrap: wrap;
  }

  .language-switcher {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 12px 0 0;
  }

  .listing-photos,
  .content-shell {
    grid-template-columns: 1fr;
  }

  .booking-card {
    position: static;
    order: -1;
  }
}

@media (max-width: 680px) {
  .listing-head {
    padding-top: 24px;
  }

  .listing-photos {
    display: block;
  }

  .photo-main,
  .photo-side figure,
  .photo-side figure:nth-child(2),
  .photo-side figure:nth-child(4) {
    min-height: 240px;
    border-radius: 16px;
  }

  .photo-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

  .show-photos {
    right: 28px;
  }

  .gallery-modal {
    padding: 12px;
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .calendar-frame {
    height: 420px;
  }

  .map-frame {
    height: 340px;
  }

  .date-months {
    grid-template-columns: 1fr;
  }

  .date-months .date-month:nth-child(2) {
    display: none;
  }

  .summary-strip,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer .contact-links {
    justify-content: flex-start;
  }

  .highlight-grid,
  .amenity-grid,
  .sleep-grid,
  .review-grid,
  .two-column {
    grid-template-columns: 1fr;
  }
}
