.site-header {
  position: fixed;
  background: var(--green);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: none;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(24, 38, 31, 0.94);
  box-shadow: 0 8px 30px rgba(16, 28, 22, 0.22);
}

.scribble-one {
  line-height: 0.88;
  text-align: center;
  transform: rotate(8deg);
}

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

.hero-art img,
.room-gallery img,
.property-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.hero-art:hover img,
.room-gallery > div:hover img,
.property-photo:hover img { transform: scale(1.025); }

.hero-art img {
  object-fit: cover;
  object-position: center;
}

.room-gallery > div,
.property-photo {
  overflow: hidden;
}

.room-gallery { grid-template-rows: 400px 280px; }

.property-photo {
  height: 290px;
  border-radius: 34px;
  background: #d9e2c7;
}

.feature-wide .property-photo { height: 420px; }

.room-gallery .two img { object-position: center 82%; }

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 70px 24px 24px;
  background: rgba(10, 19, 15, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
  animation: lightbox-fade-in 0.28s ease both;
}

.lightbox-image {
  max-width: min(1180px, 94vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.lightbox-image.is-changing {
  animation: lightbox-photo-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lightbox-photo-in {
  from { opacity: 0; transform: scale(0.975); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox,
  .lightbox-image.is-changing { animation: none; }
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font: 300 32px/1 Manrope, sans-serif;
  cursor: pointer;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: 600 24px/1 Manrope, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lightbox-arrow:hover {
  background: var(--berry);
  transform: translateY(-50%) scale(1.06);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-counter {
  position: fixed;
  bottom: 22px;
  left: 50%;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

.lightbox-arrow[hidden],
.lightbox-counter[hidden] { display: none; }

@media (max-width: 580px) {
  .lightbox { padding: 70px 12px 70px; }
  .lightbox-arrow { width: 44px; height: 44px; top: auto; bottom: 16px; transform: none; }
  .lightbox-arrow:hover { transform: scale(1.04); }
  .lightbox-prev { left: 18px; }
  .lightbox-next { right: 18px; }
  .lightbox-counter { bottom: 22px; }
}

body.lightbox-open { overflow: hidden; }

.playground {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 7vw;
  align-items: center;
  background: var(--paper);
}

.playground .playground-photo {
  height: 570px;
  border-radius: 44px;
}

.playground-copy p {
  max-width: 560px;
  margin: 26px 0;
  color: #667069;
  font-size: 16px;
}

.playground-note {
  display: grid;
  gap: 5px;
  padding: 20px 22px;
  border-left: 4px solid var(--berry);
  background: var(--cream);
  border-radius: 0 18px 18px 0;
}

.playground-note b { font-size: 15px; }
.playground-note span { color: #667069; font-size: 13px; }

.amenities li::before {
  content: "✓";
}

@media (max-width: 900px) {
  .playground { grid-template-columns: 1fr; }
  .playground .playground-photo { height: 500px; }
}

@media (max-width: 580px) {
  .playground .playground-photo { height: 360px; border-radius: 28px; }
}

.photo-carousel {
  position: relative;
  min-width: 0;
  outline: none;
}

.room-gallery.photo-carousel { display: block; }

.carousel-viewport {
  overflow: hidden;
  border-radius: 42px;
  touch-action: pan-y;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
}

.room-gallery .carousel-slide {
  height: 620px;
  overflow: hidden;
}

.room-gallery .bathroom-slide img { object-position: center 82%; }

.territory-carousel {
  grid-column: 1 / -1;
  max-width: 980px;
  width: 100%;
  margin: 12px auto 0;
}

.territory-carousel .property-photo { height: 540px; }

.territory-carousel .feature h3 { font-size: 24px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 600 20px/1 Manrope, sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--berry);
  border-color: var(--berry);
  color: #fff;
  transform: translateY(-2px);
}

.carousel-counter {
  min-width: 54px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .room-gallery .carousel-slide { height: 520px; }
  .territory-carousel .property-photo { height: 470px; }
}

@media (max-width: 580px) {
  .carousel-viewport { border-radius: 28px; }
  .room-gallery .carousel-slide { height: 390px; }
  .territory-carousel .property-photo { height: 340px; }
}

.footer-brand .brand-logo {
  width: 68px;
  height: 68px;
}

.footer-contacts a {
  color: #fff;
  transition: color 0.2s ease;
}

.footer-contacts a:hover { color: var(--peach); }

.benefits .icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--mint);
  color: var(--berry);
}

.benefits .accent .icon { background: var(--paper); }

.benefits .icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 580px) {
  .brand-logo { width: 46px; height: 46px; }
  .room-gallery { grid-template-rows: 260px 200px; }
}

.room-note {
  margin: -10px 0 24px;
  padding: 13px 16px;
  border-left: 3px solid var(--peach);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
}

.room-note b { color: #fff; }

.availability-calendar {
  max-width: 570px;
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(55, 68, 59, 0.08);
}

.calendar-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.calendar-header strong {
  text-align: center;
  font-size: 18px;
  text-transform: lowercase;
}

.calendar-header button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font: 700 18px/1 Manrope, sans-serif;
  cursor: pointer;
}

.calendar-header button:disabled { opacity: 0.3; cursor: default; }

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

.calendar-weekdays {
  margin-bottom: 7px;
  color: #7b857f;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: 12px;
  background: #f1f6eb;
  color: var(--ink);
  font: 700 13px/1 Manrope, sans-serif;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.calendar-day:not(:disabled):hover {
  color: #fff;
  background: var(--green);
  transform: translateY(-2px);
}

.calendar-day.is-today { box-shadow: inset 0 0 0 2px var(--peach); }
.calendar-day.is-in-range { background: #f4d8cf; }
.calendar-day.is-selected { color: #fff; background: var(--berry); }
.calendar-day:disabled { color: #a7aaa8; background: #ecebea; cursor: not-allowed; }
.calendar-day.is-booked { text-decoration: line-through; background: #e5d6d6; }
.calendar-day.is-checkout-available {
  color: var(--berry);
  background: linear-gradient(135deg, #f1f6eb 0 50%, #e5d6d6 50% 100%);
  text-decoration: none;
}

.territory-heading p {
  justify-self: end;
  text-align: right;
}

.booking-form {
  width: 100%;
  max-width: none;
  align-self: center;
  justify-self: stretch;
}

.form-message:empty { display: none; }

.booking-form select {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 0;
  padding-right: 42px;
}

.select-wrap {
  position: relative;
  display: block;
  margin-top: 7px;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-size: 11px;
  color: #68726b;
}

.calendar-legend span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 12px; height: 12px; border-radius: 4px; }
.legend-free { background: #f1f6eb; }
.legend-selected { background: var(--berry); }
.legend-busy { background: #e5d6d6; }

.calendar-status {
  min-height: 20px;
  margin: 14px 0 0 !important;
  color: var(--green) !important;
  font-size: 12px;
  font-weight: 700;
}

.calendar-status.is-error { color: var(--berry) !important; }

@media (max-width: 580px) {
  .availability-calendar { padding: 18px 14px; border-radius: 22px; }
  .calendar-grid { gap: 4px; }
  .calendar-day { border-radius: 9px; font-size: 12px; }
  .territory-heading p { justify-self: stretch; text-align: left; }
  .booking-form { align-self: center; }
}
