/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --primary-color: #ff5a5f;
  --secondary-color: #5da87d;
  --text-color: #333333;
  --background-color: #ffffff;
  --light-gray: #f8f8f8;
  --control-height: 40px;
  --control-height-sm: 36px;

  /* Z-index scale */
  --z-gallery-nav: 5;
  --z-hero-title: 10;
  --z-hero-overlay: 100;
  --z-modal: 1000;
  --z-datepicker: 1100;
  --z-nav: 1200;
  --z-menu: 1300;
  --z-menu-logo: 1400;
  --z-top: 1500;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  min-height: 100%;
  font-family: "Inter", sans-serif;
  background-color: #637885;
  color: var(--text-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 15px;
  position: relative;
  display: block;
  width: 100%;
  border-bottom: 1px solid #e9e7dd;
  color: var(--text-color);
  text-transform: none;
}

/* =============================================
   SECTION NAVIGATION
   ============================================= */
.section-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-hero-overlay);
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.section-nav__inner {
  display: flex;
  gap: 4px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.section-nav__inner::-webkit-scrollbar {
  display: none;
}

.section-nav__link {
  flex-shrink: 0;
  padding: 14px 16px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 430;
  color: #2f2f2f;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  letter-spacing: 0.3px;
}

.section-nav__link:hover {
  color: #2b2b2b;
  border-bottom-color: #ccc;
}

.section-nav__link.active {
  color: #262626;
  border-bottom-color: #1dabe2;
  font-weight: 500;
}

/* Offset anchors for sticky nav */
#description,
#full-gallery,
#location,
#amenities,
#reviews,
#additional-services,
#faqs,
#contact {
  scroll-margin-top: 80px;
}

/* =============================================
   LAYOUT
   ============================================= */
.house-detail-container {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100vh;
  padding-bottom: 90px;
  -webkit-overflow-scrolling: touch;
  background-color: var(--light-gray);
}

.page-layout {
  display: flex;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(48px, 6vw, 88px) 0 clamp(88px, 9vw, 128px);
  gap: 64px;
}

.page-layout__content {
  flex: 1;
  max-width: 760px;
  min-width: 0;
}

.page-layout__sidebar {
  width: 360px;
  flex-shrink: 0;
}

/* =============================================
   SECTIONS
   ============================================= */
.description-section .section-content,
.photo-gallery-section .section-content,
.amenities-section .section-content,
.location-section .section-content,
.policy-section .section-content {
  text-align: left;
  align-items: flex-start;
}

.house-section {
  padding: 40px 0;
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}

.section-content {
  padding: 20px;
  max-width: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.description-section .section-content {
  max-width: 100%;
  width: 100%;
  justify-content: flex-start;
  padding: 20px 0 5px;
}

.description-section {
  padding: 10px 12px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reviews-section,
.special-offer-section,
.policy-section,
.recommended-section,
.faq-section,
.description-section {
  background-color: var(--light-gray);
}

/* =============================================
   DESCRIPTION CONTENT
   ============================================= */
.description-content {
  line-height: 1.6;
  text-align: left;
  color: #333333;
  max-width: 650px;
}

.description-content p {
  margin-bottom: 24px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.3px;
}

.description-content p:last-child {
  margin-bottom: 0;
}

.description-content .mobility-note {
  color: #1d6fa5;
}

.description-content > h2 {
  margin-top: 30px;
  margin-bottom: 15px;
}

/* =============================================
   AMENITIES & LOCATION
   ============================================= */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 30px;
  row-gap: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  color: #333333;
}

.amenities-location-layout {
  margin-top: 32px;
}

.amenities-location-layout .amenities-column {
  margin-bottom: 40px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.checkmark {
  color: #3fba71;
  font-size: 1.2rem;
  font-weight: bold;
}

.location-description {
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 650px;
}

.location-description .read-more-button {
  display: block;
  margin: 15px auto 0;
}

.location-more {
  display: none;
  margin-top: 14px;
}

.location-more img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0 12px;
  display: block;
}

.location-map {
  width: min(84vw, 500px);
  aspect-ratio: 1 / 1;
  background-color: #e9e9e9;
  margin: 0 auto 30px;
  border-radius: 8px;
  overflow: hidden;
}

.location-description .location-map {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 20px 0;
  border-radius: 12px;
}

.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib,
.mapboxgl-ctrl-attrib-button {
  display: none !important;
}

/* =============================================
   GALLERY WIDGET
   ============================================= */
.gallery-widget-section {
  padding: 0;
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: #637885 !important;
}

.gallery-widget-section .section-content {
  padding: 0;
  margin: 0;
  width: 100%;
}

/* =============================================
   BUTTONS
   ============================================= */
.read-more-button,
.view-all-reviews {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3498db;
  color: #fff;
  border: 1px solid #e9e7dd;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  margin-top: 10px;
}

.read-more-button:hover,
.view-all-reviews:hover {
  background-color: #1d6fa5;
}

/* Discreet button for description */
#description-toggle,
#amenities-toggle {
  display: block;
  margin: 15px auto 0;
  background: transparent;
  color: #555;
  border: none;
  text-decoration: underline;
  font-style: italic;
  font-weight: 500;
  padding: 5px 10px;
  width: fit-content;
  box-shadow: none;
  cursor: pointer;
}

#description-toggle:hover,
#amenities-toggle:hover {
  color: #333;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
}

.amenities-grid-expanded {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
}

@media (max-width: 768px) {
  .amenities-grid-expanded {
    grid-template-columns: 1fr;
  }
}

.glass-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(255, 255, 255, 0.12) 100%
  );
  color: #1f2937;
  padding: 16px 28px;
  border-radius: 9999px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.5px;
  text-transform: none;
  text-shadow: none;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.2s ease,
    filter 0.2s ease;
}

.glass-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  filter: brightness(1.04);
}

.glass-btn:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.glass-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.glass-btn.primary {
  background: #587b9f;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  text-shadow: none;
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
}

.glass-btn.primary:hover {
  background: #6286aa;
  /* Slightly lighter on hover */
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  filter: none;
}

.glass-btn.primary:active {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section {
  margin: 0;
  padding: 0 0 50px;
}

#amenities-location-section {
  padding-top: 8px;
  padding-bottom: 14px;
}

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
  padding: 25px;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.rating-overview {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.average-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-right: 25px;
}

.rating-number {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  font-family: "Playfair Display", serif;
}

.rating-stars {
  margin: 10px 0;
  color: #ffb900;
  font-size: 16px;
}

.rating-count {
  font-size: 13px;
  color: #777;
}

.rating-breakdown {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.rating-category {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-name {
  width: 110px;
  font-size: 14px;
  color: #555;
}

.category-bar {
  flex: 1;
  height: 6px;
  min-width: 80px;
  background-color: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
}

.category-fill {
  height: 100%;
  background-color: #ffb900;
  border-radius: 3px;
}

.category-score {
  width: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-align: right;
}

.review-platforms {
  display: flex;
  flex-direction: column;
  gap: 15px;
  justify-content: center;
}

.platform-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.airbnb-link {
  background-color: #f7f7f7;
  color: #ff5a5f;
  border: 1px solid #eee;
}

.airbnb-link:hover {
  background-color: #fff8f8;
  box-shadow: 0 2px 8px rgba(255, 90, 95, 0.1);
}

.booking-link {
  background-color: #f7f7f7;
  color: #003580;
  border: 1px solid #eee;
}

.booking-link:hover {
  background-color: #f8faff;
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.1);
}

.platform-link i {
  font-size: 18px;
}

.featured-reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.review-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border: 1px solid #f5f5f5;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
}

.reviewer-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name {
  font-weight: 500;
  color: #333;
  margin-bottom: 3px;
}

.review-date {
  font-size: 13px;
  color: #777;
}

.review-source {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 18px;
}

.review-source.airbnb {
  color: #ff5a5f;
}

.review-source.booking {
  color: #003580;
}

.review-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
}

.reviews-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.view-all-reviews i {
  font-size: 12px;
  margin-left: 5px;
}

.reviews-section .view-all-reviews {
  background-color: #fdfdfd;
  border-color: #e3e3e3;
  color: #3498db;
  border-radius: 10px;
  padding: 10px 18px;
}

.reviews-section .view-all-reviews:hover {
  background-color: #fff;
  border-color: #dcdcdc;
}

.reviews-section #showMoreReviews {
  background-color: #3498db;
  border-color: #3498db;
  color: #fff;
}

.reviews-section #showMoreReviews:hover {
  background-color: #1d6fa5;
  border-color: #1d6fa5;
  color: #fff;
}

.hidden-review {
  display: none;
}

/* Reviews Modal */
.reviews-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: var(--z-modal);
  overflow-y: auto;
  padding: 40px 20px;
}

.reviews-modal-overlay.active {
  display: block;
}

.reviews-modal-content {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
}

.reviews-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.reviews-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.reviews-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #666;
  padding: 0;
  line-height: 1;
}

.reviews-modal-close:hover {
  color: #333;
}

.reviews-modal-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.special-offer-section h2,
.policy-section h2 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: none;
}

/* =============================================
   SIDEBAR CALENDAR WIDGET
   ============================================= */
.sidebar-calendar-widget {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.sidebar-calendar-widget.reserve-focus {
  border-color: #1dabe2;
  box-shadow:
    0 0 0 3px rgba(29, 171, 226, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.12);
}

.reserve-spotlight-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  transition: opacity 0.2s ease;
}

.reserve-spotlight-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.reserve-spotlight-active .sidebar-calendar-widget {
  position: sticky;
  top: 80px;
  z-index: 2001;
}

.sidebar-calendar-widget .flatpickr-calendar {
  box-shadow: none !important;
  border: none !important;
  width: 100%;
  margin: 0;
}

.sidebar-calendar-widget .flatpickr-months {
  padding: 0 8px;
}

.sidebar-book-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
}

.sidebar-book-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sidebar-guest-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.sidebar-guest-fields input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  color: #333333;
  background: #fff;
  transition: border-color 0.2s;
}

.sidebar-guest-fields input:focus {
  outline: none;
  border-color: #5da87d;
}

.sidebar-guest-fields input::placeholder {
  color: #999;
}

.guest-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s;
}

.guest-stepper:hover {
  border-color: #ccc;
}

.guest-stepper-icon {
  display: flex;
  align-items: center;
  color: #666;
}

.guest-stepper-label {
  flex: 1;
  font-size: 14px;
  color: #333;
  font-weight: 400;
}

.guest-stepper-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.guest-stepper-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  background: #fff;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.guest-stepper-btn:hover:not(:disabled) {
  background: #f5f5f5;
  border-color: #ccc;
  color: #333;
}

.guest-stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.guest-stepper-controls input {
  width: 32px;
  text-align: center;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  background: transparent;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.guest-stepper-controls input::-webkit-outer-spin-button,
.guest-stepper-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sidebar-price-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin: 10px 0 0;
}

/* =============================================
   FLATPICKR OVERRIDES
   Scoped under .house-detail-container for
   higher specificity vs CDN styles
   ============================================= */
.house-detail-container .flatpickr-calendar {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  z-index: var(--z-datepicker);
  margin-top: -3px;
  margin-left: 4px;
}

.house-detail-container .flatpickr-months,
.house-detail-container .flatpickr-weekdays {
  border: 0;
}

.house-detail-container .flatpickr-days,
.house-detail-container .dayContainer {
  border: 0;
}

.house-detail-container .flatpickr-day,
.house-detail-container .flatpickr-day.inRange,
.house-detail-container .flatpickr-day.selected,
.house-detail-container .flatpickr-day.startRange,
.house-detail-container .flatpickr-day.endRange,
.house-detail-container .flatpickr-day.prevMonthDay,
.house-detail-container .flatpickr-day.nextMonthDay,
.house-detail-container .flatpickr-day.today,
.house-detail-container .flatpickr-day.disabled {
  border: 0;
  border-radius: 999px;
  margin: 2px;
}

.house-detail-container .flatpickr-day:hover {
  background: #f3f6f8;
}

.house-detail-container .flatpickr-day.inRange {
  background: rgba(76, 191, 122, 0.28);
  color: #4cbf7a;
  box-shadow: none;
}

.house-detail-container .flatpickr-day.selected,
.house-detail-container .flatpickr-day.startRange,
.house-detail-container .flatpickr-day.endRange,
.house-detail-container .flatpickr-day.selected:hover {
  background: #4cbf7a;
  color: #fff;
}

.house-detail-container .flatpickr-day.selected.available,
.house-detail-container .flatpickr-day.startRange.available,
.house-detail-container .flatpickr-day.endRange.available {
  color: #fff;
}

.house-detail-container .flatpickr-day.inRange.available {
  color: #4cbf7a;
}

.house-detail-container .flatpickr-months .flatpickr-prev-month svg,
.house-detail-container .flatpickr-months .flatpickr-next-month svg {
  width: 18px;
  height: 18px;
  fill: #1dabe2;
  stroke: #1dabe2;
}

.house-detail-container .flatpickr-day.unavailable {
  color: var(--primary-color);
  background: transparent;
  cursor: not-allowed;
  position: relative;
}

.house-detail-container .flatpickr-day.unavailable::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 1px;
  background: rgba(255, 90, 95, 0.55);
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}

.house-detail-container .flatpickr-day.unavailable::after {
  content: none;
}

.house-detail-container .flatpickr-confirm {
  border-radius: 999px;
  background: #ffcc00;
  color: #333;
  border: none;
  padding: 6px 12px;
}

.house-detail-container .flatpickr-day.available {
  color: var(--secondary-color);
}

.house-detail-container .flatpickr-current-month .numInputWrapper,
.house-detail-container .flatpickr-current-month input.cur-year {
  display: none;
}

/* Booking quote mini-panel */
.booking-quote {
  display: none;
  padding: 10px 12px;
  border-top: 1px solid rgba(6, 37, 44, 0.2);
  background: rgba(255, 255, 255, 0.55);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.booking-quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.booking-quote .total {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.guest-fields {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.guest-fields input {
  flex: 1 1 140px;
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-size: 13px;
  background-color: #fff;
  color: #555;
  height: var(--control-height-sm);
}

/* =============================================
   NAVIGATION (Hamburger, Back, Menu)
   ============================================= */
.hamburger-menu {
  display: block;
  position: fixed;
  top: 12px;
  right: 18px;
  z-index: var(--z-top);
  cursor: pointer;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #0d3b66;
  transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.back-button {
  position: fixed;
  top: 12px;
  left: 18px;
  z-index: var(--z-nav);
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #fff;
}

.back-button svg {
  width: 32px;
  height: 32px;
}

body.nav-dark .hamburger-menu span {
  background-color: #0d3b66;
}

body.nav-dark .back-button {
  color: #0d3b66;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 33.333vw;
  min-width: 260px;
  max-width: 420px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: var(--z-menu);
  padding: 84px 24px 44px 28px;
  text-align: left;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: #1f2937;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  padding: 14px 8px;
  border-radius: 12px;
  display: block;
  line-height: 1.45;
  letter-spacing: 0.25px;
  min-height: 48px;
  max-width: 360px;
  border-bottom: 1px solid #eef2f6;
}

.mobile-menu a + a {
  margin-top: 4px;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: #0f3b63;
  text-decoration: underline;
}

.mobile-menu a[aria-current="page"],
.mobile-menu a.active {
  color: #0f3b63;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

#menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: var(--z-modal);
}

body.mobile-menu-open {
  overflow: hidden;
}

.menu-logo {
  display: none;
  position: fixed;
  top: 10px;
  left: 56px;
  z-index: var(--z-menu-logo);
}

.menu-logo img {
  display: block;
  height: 17px;
  width: auto;
}

/* =============================================
   HERO GRID & LIGHTBOX
   ============================================= */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
  width: 100%;
  height: calc(100vh - 6px);
  padding: 0;
}

.hero-grid::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #87ceeb;
  z-index: var(--z-hero-overlay);
}

.hero-grid__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.hero-grid__item:hover img {
  opacity: 0.8;
}

.hero-grid__item:nth-child(3)::after {
  content: "+41";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 500;
}

.hero-grid__item:nth-child(4) {
  display: none;
}

.hero-thumbs-strip {
  display: none;
}

.hero-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-top);
  display: none;
  align-items: center;
  justify-content: center;
}

.hero-lightbox.active {
  display: flex;
}

.hero-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.hero-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-lightbox__nav--prev {
  left: 20px;
}

.hero-lightbox__nav--next {
  right: 20px;
}

.hero-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
}

/* Hero title card */
.hero-title-card {
  position: static;
  width: min(840px, calc(100% - 40px));
  margin: 14px auto 0;
  padding: 0;
  background: transparent;
  z-index: var(--z-hero-overlay);
  max-width: 840px;
}

.hero-title-card h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  font-weight: 500;
  margin: 0 0 10px;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  text-align: left;
}

.hero-inline-details {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  letter-spacing: 0.2px;
  font-weight: 400;
  text-transform: none;
}

.hero-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 8px;
}

.hero-reserve-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #ffffff;
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.hero-reserve-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.78);
}

.hero-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #3991c0;
}

.hero-title-badge svg {
  width: 18px;
  height: 18px;
}

.hero-title-badge--loved {
  color: #e8456b;
  margin-top: 4px;
  display: flex;
}

.hero-title-badge--rating {
  color: #555;
  margin-top: 4px;
  display: flex;
  font-size: 0.85rem;
}

.hero-title-badge--rating i {
  color: #ffb900;
  font-size: 0.9rem;
}

.hero-title-badge--rating strong {
  color: var(--text-color);
}

.index-hero-frame {
  width: min(860px, calc(100% - 40px));
  margin: 18px auto 18px;
  border: 20px solid #637885;
  background-color: #637885;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

.index-hero-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #1dabe2;
  pointer-events: none;
}

.index-hero-frame .hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: min(440px, 54vw);
  max-height: 440px;
  min-height: 260px;
  gap: 0;
  overflow: hidden;
}

.index-hero-frame .hero-grid__item {
  min-width: 0;
  width: auto;
  flex: initial;
  height: 100%;
}

.index-hero-frame .hero-grid::after {
  display: none;
}

.index-hero-frame .hero-grid__item:nth-child(3)::after {
  content: "+41";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 1px;
}

.hero-grid--hidden,
.hero-thumbs-strip--hidden {
  display: none !important;
}

/* =============================================
   PHOTO GALLERY
   ============================================= */
.photo-gallery-container {
  max-width: 650px;
  width: 100%;
}

.photo-gallery-container h2 {
  margin-bottom: 15px;
}

.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  max-height: 400px;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 52px;
  height: 40px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  border: 2px solid transparent;
}

.gallery-thumb:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.gallery-thumb.active {
  opacity: 1;
  border-color: #1dabe2;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: all 0.2s ease;
  z-index: var(--z-gallery-nav);
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.55);
}

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

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

.gallery-nav svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.gallery-counter {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* Fullscreen button */
.gallery-fullscreen-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s;
  z-index: var(--z-gallery-nav);
}

.gallery-fullscreen-btn svg {
  width: 16px;
  height: 16px;
}

.gallery-fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

/* Start as plain image; reveal controls after scrolling to gallery */
.photo-gallery-container:not(.gallery-revealed) .gallery-thumbs {
  display: none;
}

.photo-gallery-container:not(.gallery-revealed) .gallery-nav,
.photo-gallery-container:not(.gallery-revealed) .gallery-counter,
.photo-gallery-container:not(.gallery-revealed) .gallery-fullscreen-btn {
  opacity: 0;
  pointer-events: none;
}

.photo-gallery-container.gallery-revealed .gallery-nav,
.photo-gallery-container.gallery-revealed .gallery-counter,
.photo-gallery-container.gallery-revealed .gallery-fullscreen-btn {
  opacity: 1;
  pointer-events: auto;
}

/* Fullscreen gallery state */
.photo-gallery-container.gallery-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 2147483647 !important;
  /* Max z-index */
  background: #111;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  border-radius: 0;
  transform: none !important;
  /* Reset any inheritance */
}

.photo-gallery-container.gallery-fullscreen h2 {
  display: none;
}

.photo-gallery-container.gallery-fullscreen .gallery-main {
  flex: 1;
  border-radius: 0;
  height: auto;
  max-height: none;
  aspect-ratio: unset;
  /* Reset aspect ratio */
  background: #111;
  /* Ensure background is dark grey */
}

.photo-gallery-container.gallery-fullscreen .gallery-main img {
  border-radius: 0;
  object-fit: contain;
  /* Prevent stretching/cropping */
  background: #111;
}

.photo-gallery-container.gallery-fullscreen .gallery-thumbs {
  background: #111;
  padding: 12px 16px;
  gap: 8px;
  justify-content: center;
}

.photo-gallery-container.gallery-fullscreen .gallery-thumb {
  width: 80px;
  height: 60px;
  border-radius: 6px;
}

/* Close button (hidden by default) */
.gallery-close {
  display: none;
  top: 12px;
  right: 12px;
  left: auto;
  transform: none;
  z-index: var(--z-gallery-nav);
}

.photo-gallery-container.gallery-fullscreen .gallery-close {
  display: flex;
  top: 20px;
  right: 20px;
}

.photo-gallery-container.gallery-fullscreen .gallery-nav {
  width: 52px;
  height: 52px;
}

.photo-gallery-container.gallery-fullscreen .gallery-nav svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.5;
}

.photo-gallery-container.gallery-fullscreen .gallery-nav--prev {
  left: 20px;
}

.photo-gallery-container.gallery-fullscreen .gallery-nav--next {
  right: 20px;
}

.photo-gallery-container.gallery-fullscreen .gallery-fullscreen-btn svg path {
  d: path(
    "M4 14H3v7h7v-1H4zm17-4h-1V3h-6v1h6v6zM4 10V4h6V3H3v7zm13 7h-6v1h7v-7h-1z"
  );
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  margin-top: 10px;
}

.faq-item {
  border-bottom: 1px solid #e9e7dd;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 14px 4px;
  color: #333;
  font-weight: 500;
}

.faq-toggle {
  transition: transform 0.2s ease;
  color: #999;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 4px;
  color: var(--text-color);
  font-weight: 400;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 12px;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

#additional-services {
  text-align: left;
}

#additional-services .faq-question {
  font-weight: 500;
  justify-content: flex-start;
  gap: 8px;
}

#additional-services .faq-toggle {
  margin-left: auto;
}

#additional-services .faq-question::before {
  content: "✓";
  color: var(--secondary-color);
  margin-right: 8px;
  font-size: 1.2rem;
  font-weight: bold;
}

.faq-two-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-two-column .house-section {
  padding: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background-color: #637885;
  clip-path: none;
  padding: 130px 40px 80px;
  margin-top: 40px;
  margin-bottom: -90px;
}

.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-style: italic;
  color: white;
  margin: 0;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-contact-title {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: white;
  margin: 0 0 4px;
  font-weight: 500;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.2s;
  justify-content: flex-end;
}

.footer-contact-item:hover {
  opacity: 0.8;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* =============================================
   ID-BASED OVERRIDES
   ============================================= */
#photo-gallery {
  padding: 22px 0 34px;
  margin: 0;
  position: relative;
  background-color: #637885;
  min-height: 100vh;
  box-sizing: border-box;
}

#full-gallery {
  margin: 80px 0 4px;
  width: 100%;
}

#map {
  margin: 20px 0;
  border-radius: 12px;
}

/* =============================================
   DESKTOP (min-width: 1024px)
   ============================================= */
@media (min-width: 1024px) {
  body {
    font-size: 16px;
    line-height: 1.7;
  }

  #amenities-expanded {
    display: block !important;
  }

  #amenities-toggle {
    display: none !important;
  }

  #mediaGallery {
    height: 92vh;
  }

  .house-section {
    padding: 40px 0;
  }

  .description-section {
    padding-top: 30px;
  }

  .section-content,
  .description-section .section-content {
    max-width: 100%;
    padding: 20px 0;
  }

  h2 {
    font-size: 1.4rem;
  }

  .description-content p,
  .location-description,
  .location-description p,
  .review-content p,
  .faq-answer p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* Large screens: show 4 images */
@media (min-width: 1800px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .hero-grid__item:nth-child(4) {
    display: block;
  }

  .hero-grid__item:nth-child(3)::after {
    display: none;
  }

  .hero-grid__item:nth-child(4)::after {
    content: "+40";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 500;
  }
}

/* =============================================
   TABLET (max-width: 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .page-layout {
    flex-direction: column;
    padding: 0 32px;
  }

  .page-layout__content {
    max-width: 100%;
    width: 100%;
  }

  .page-layout__sidebar {
    display: none;
  }

  body.reserve-spotlight-active .page-layout__sidebar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    padding: 0;
    z-index: 2001;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    max-height: min(86dvh, 760px);
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    padding: 16px 18px 20px;
    margin: 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
  }
}

/* =============================================
   MOBILE (max-width: 768px) — CONSOLIDATED
   ============================================= */
@media (max-width: 768px) {
  .section-nav {
    display: none;
  }

  .section-nav__inner {
    padding: 0 16px;
    gap: 0;
  }

  .section-nav__link {
    padding: 12px 12px;
    font-size: 0.78rem;
  }

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .house-detail-container {
    padding: 0;
    background-color: var(--light-gray);
  }

  .gallery-widget-section {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
  }

  .description-section .section-content,
  .reviews-section .section-content {
    padding: 12px 20px;
  }

  .description-section,
  .reviews-section {
    background-color: transparent;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
  }

  .description-section {
    margin-top: 0;
  }

  .special-offer-section {
    background-color: #fff;
    margin: 0 12px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    width: calc(100% - 24px);
  }

  .special-offer-section {
    padding: 24px 0;
  }

  .special-offer-section .section-content {
    padding: 16px;
  }

  .special-offer-section h2 {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .reviews-section {
    padding: 20px 0 24px;
  }

  .faq-two-column {
    background-color: transparent;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .faq-two-column .faq-section {
    background: transparent;
    margin: 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
  }

  .page-layout {
    background: transparent;
    padding: 0;
  }

  .page-layout__content {
    background: transparent;
  }

  .page-layout__sidebar {
    display: none;
  }

  body.reserve-spotlight-active .page-layout__sidebar {
    left: 0;
    right: auto;
    bottom: 0;
    top: auto;
    width: 100vw !important;
    max-width: 100vw !important;
    display: block;
    padding: 0;
    box-sizing: border-box;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget {
    max-height: 90dvh;
    border-radius: 16px 16px 0 0;
    padding: 18px 16px 16px;
    width: calc(100vw - 8px);
    margin: 0 auto;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-calendar {
    width: 100%;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin: 0 auto !important;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-months {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 44px;
    margin-bottom: 16px;
  }

  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-current-month {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    left: 0;
    font-size: 17px;
    font-weight: 600;
  }

  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-months
    .flatpickr-prev-month,
  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-months
    .flatpickr-next-month {
    position: absolute;
    top: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-months
    .flatpickr-prev-month {
    left: 0;
  }

  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-months
    .flatpickr-next-month {
    right: 0;
  }

  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-innerContainer,
  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-rContainer,
  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-days {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-weekday {
    font-size: 15px;
    font-weight: 600;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-weekdays {
    margin-bottom: 12px;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-day {
    width: 44px;
    max-width: 44px;
    height: 44px;
    line-height: 44px;
    font-size: 17px;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .sidebar-book-btn {
    font-size: 18px;
    padding: 18px 24px;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .sidebar-price-note {
    font-size: 14px;
  }

  .site-footer {
    margin: 0;
    border-radius: 0;
    width: 100%;
  }

  .glass-btn.primary {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .location-more img {
    border-radius: 6px;
    margin: 8px 0 10px;
  }

  .location-more p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .read-more-button {
    padding: 10px 18px;
    font-size: 13px;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* Reviews modal */
  .reviews-modal-overlay {
    padding: 16px 12px;
  }

  .reviews-modal-content {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .reviews-modal-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .reviews-modal-header h2 {
    font-size: 1.2rem;
  }

  .reviews-modal-close {
    font-size: 24px;
  }

  .reviews-modal-list {
    gap: 16px;
  }

  .reviews-modal-list .review-card {
    padding: 14px;
  }

  .reviews-modal-list .review-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Hero grid → carousel */
  .hero-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    height: 65vh;
    min-height: 380px;
    max-height: 700px;
    gap: 0;
    scrollbar-width: none;
    scroll-behavior: auto;
    order: 1;
    width: 100%;
    scroll-padding: 0;
  }

  .hero-grid::-webkit-scrollbar {
    display: none;
  }

  .hero-grid__item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    position: relative;
    min-width: 100%;
    flex-shrink: 0;
  }

  .hero-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-grid__item:nth-child(3)::after,
  .hero-grid__item:nth-child(4)::after {
    display: none;
  }

  .hero-grid__item:nth-child(4) {
    display: none;
  }

  /* Thumb strip */
  .hero-thumbs-strip {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3px;
    width: 100%;
    padding: 0;
    background: #fff;
    border-top: 3px solid #fff;
    order: 2;
  }

  .hero-thumbs-strip__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
  }

  .hero-thumbs-strip__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-thumbs-strip__item:last-child::after {
    content: "+41";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 1px;
  }

  /* Lightbox */
  .hero-lightbox img {
    max-width: 95vw;
    max-height: 85vh;
  }

  .hero-lightbox__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .hero-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .hero-lightbox__nav--prev {
    left: 10px;
  }

  .hero-lightbox__nav--next {
    right: 10px;
  }

  .hero-lightbox__counter {
    bottom: 12px;
    font-size: 12px;
  }

  /* Mobile layout reset */
  .page-layout,
  .page-layout__content,
  .description-section {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .description-content {
    padding: 0;
    margin: 24px 0;
    width: 100%;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    text-align: left;
  }

  .description-content p,
  .location-description p {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.6;
    font-family: "Inter", sans-serif;
  }

  .hero-title-card {
    position: relative;
    width: 100%;
    left: auto;
    top: auto;
    margin: 0;
    padding: 0 20px 8px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    z-index: var(--z-hero-title);
    order: 1;
  }

  .hero-title-card h1 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.2;
  }

  .hero-inline-details {
    font-size: 0.9rem;
  }

  .hero-inline-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-reserve-btn {
    padding: 8px 12px;
    font-size: 0.74rem;
  }

  #photo-gallery {
    display: flex;
    flex-direction: column;
    background-color: #637885;
    padding-top: clamp(56px, 12vh, 120px);
  }

  .index-hero-frame {
    width: calc(100% - 24px);
    border-width: 12px;
    margin: 8px auto 16px;
  }

  .index-hero-frame .hero-grid {
    height: clamp(210px, 48vw, 320px);
    min-height: 210px;
  }

  .amenities-section,
  .location-section {
    padding: 10px 0;
  }

  .location-map {
    width: 100%;
    height: 240px;
    border-radius: 8px;
  }

  /* Gallery */
  .photo-gallery-container {
    max-width: 100%;
    width: 100%;
  }

  .gallery-main {
    max-width: 100%;
    aspect-ratio: 4/3;
    max-height: 260px;
    border-radius: 6px;
  }

  .gallery-thumbs {
    gap: 4px;
    padding: 2px 0;
    width: 100%;
    max-width: 100%;
  }

  .gallery-thumb {
    width: 46px;
    height: 35px;
    border-radius: 3px;
    flex-shrink: 0;
  }

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

  .gallery-nav svg {
    width: 14px;
    height: 14px;
  }

  .gallery-counter {
    font-size: 11px;
    padding: 3px 8px;
  }

  /* Footer */
  .site-footer {
    clip-path: none;
    padding: 80px 16px 120px;
    margin-top: 20px;
    margin-bottom: -20px;
  }

  .site-footer .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-copy {
    font-size: 12px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-contact {
    text-align: center;
    margin-top: 8px;
  }

  .footer-contact-item {
    justify-content: center;
  }
}

/* =============================================
   MOBILE NAVIGATION (max-width: 700px)
   ============================================= */
@media (max-width: 700px) {
  .mobile-menu {
    padding: 72px 16px 28px 20px;
    max-height: 100vh;
  }

  .mobile-menu a {
    font-size: 18px;
    padding: 14px 4px;
    min-height: 52px;
  }
}

/* =============================================
   SMALL PHONE (max-width: 480px) — CONSOLIDATED
   ============================================= */
@media (max-width: 480px) {
  .section-content {
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .description-section .section-content,
  .reviews-section .section-content {
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
  }

  .description-section {
    padding: 0;
  }

  .description-content {
    padding: 0;
    margin-top: 10px;
  }

  .description-section h2 {
    margin-bottom: 10px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-layout {
    padding: 0;
  }

  .location-map {
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 12px;
  }

  .rating-number {
    font-size: 32px;
  }

  .rating-stars {
    font-size: 14px;
  }

  .rating-count {
    font-size: 11px;
  }

  .category-name {
    width: 80px;
    font-size: 12px;
  }

  .category-score {
    font-size: 12px;
    width: 24px;
  }

  .reviewer-name {
    font-size: 14px;
  }

  .review-date {
    font-size: 11px;
  }

  .glass-btn {
    flex: 1 1 48%;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .glass-btn.primary {
    padding: 11px 16px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .special-offer-section .section-content {
    text-align: center;
    align-items: center;
  }

  .description-section,
  .special-offer-section {
    margin: 0;
    border-radius: 0;
    width: 100%;
  }

  .description-section {
    margin-top: 0;
  }

  .reviews-section {
    padding: 16px 0 20px;
  }

  .faq-two-column {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .faq-two-column .section-content {
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
  }

  .site-footer {
    margin: 0;
    width: 100%;
    padding: 75px 14px 120px;
  }

  .footer-links {
    gap: 10px;
  }

  .footer-links a {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .mobile-menu {
    padding: 64px 14px 24px 16px;
  }

  .mobile-menu a {
    font-size: 17px;
    padding: 12px 4px;
    min-height: 48px;
  }

  .hamburger-menu {
    top: 10px;
    right: 14px;
  }

  .back-button {
    top: 10px;
    left: 14px;
  }

  .back-button svg {
    width: 28px;
    height: 28px;
  }

  .hero-grid {
    height: 60vh;
    min-height: 320px;
    max-height: 550px;
  }

  .description-content {
    padding: 0;
  }

  .hero-title-card {
    padding: 24px 16px 10px;
  }

  .hero-title-card h1 {
    font-size: 1.8rem;
  }

  .gallery-main {
    max-height: 200px;
  }

  .gallery-thumb {
    width: 40px;
    height: 30px;
  }

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

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

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

/* =============================================
   ACCESSIBILITY: Reduced Motion
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
  position: relative;
  background-color: transparent !important;
  padding: 30px 0;
  margin-bottom: 100px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 15px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-link {
  font-family: "Inter", sans-serif;
  font-size: 1rem !important;
  color: #2f3742;
  text-decoration: none;
  font-weight: 450;
  transition: color 0.2s ease;
  line-height: 1.35;
  letter-spacing: -0.15px;
}

.contact-link:hover {
  color: #333333;
}

.contact-telegram-link {
  margin-top: 6px;
}

.contact-sub {
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  color: #4b5563;
  margin-top: 2px;
}

.contact-mobile-reserve {
  display: none;
  width: min(86%, 340px);
  margin: 30px auto 0;
  justify-content: center;
}

@media (max-width: 768px) {
  .contact-mobile-reserve {
    display: inline-flex;
  }
}

@media (min-width: 768px) {
  .contact-card {
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
  }

  .contact-link {
    font-size: 1rem !important;
  }
}

/* =============================================
   PHONE CALENDAR WIDGET POLISH (max-width: 480px)
   ============================================= */
@media (max-width: 480px) {
  body.reserve-spotlight-active .page-layout__sidebar {
    padding: 0 0 calc(env(safe-area-inset-bottom, 0px) + 8px);
  }

  body.reserve-spotlight-active .sidebar-calendar-widget {
    width: calc(100vw - 10px);
    max-height: 92dvh;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-months {
    padding: 0 46px;
  }

  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-current-month {
    font-size: 19px;
  }

  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-current-month
    .flatpickr-monthDropdown-months {
    font-size: inherit;
    font-weight: 600;
  }

  body.reserve-spotlight-active .sidebar-calendar-widget .flatpickr-weekdays {
    margin-bottom: 14px;
  }

  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-months
    .flatpickr-prev-month,
  body.reserve-spotlight-active
    .sidebar-calendar-widget
    .flatpickr-months
    .flatpickr-next-month {
    width: 46px;
    height: 46px;
  }
}
