*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a2a3a;
  color: #f0f0f0;
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  font-size: 0.9rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.cookie-consent[hidden] { display: none; }
.consent-body { max-width: 720px; margin: 0 auto; }
.consent-body p { margin: 0 0 1rem; line-height: 1.5; }
.consent-body a { color: #7ec8e3; text-decoration: underline; }
.consent-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.consent-accept, .consent-decline {
  padding: 0.5rem 1.25rem;
  border: 1px solid #5a8a9a;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  font-weight: 600;
  background: transparent;
  color: #f0f0f0;
}
.consent-accept:hover, .consent-decline:hover {
  background: rgba(255,255,255,0.1);
}
.footer-links { margin-top: 0.5rem; font-size: 0.85rem; color: #888; }
.footer-links a { color: #888; text-decoration: underline; }
.footer-links a:hover { color: #bbb; }
@media (max-width: 600px) {
  .consent-body { text-align: center; }
  .consent-buttons { justify-content: center; }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Nav */
header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
  isolation: isolate;
}

nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #555;
  font-size: 0.95rem;
  transition: color 0.2s;
}

nav a:hover {
  color: #000;
}

/* Language picker */
.lang-picker {
  position: relative;
}

.lang-picker-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: #555;
  transition: border-color 0.2s;
}

.lang-picker-btn:hover {
  border-color: #999;
}

.lang-picker-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.lang-picker-code {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.lang-picker-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.4rem;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  list-style: none;
  padding: 0.3rem;
  z-index: 100;
  min-width: 140px;
}

.lang-picker.open .lang-picker-menu {
  display: block;
}

.lang-picker-menu button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.6rem;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #333;
  transition: background 0.15s;
}

.lang-picker-menu button:hover {
  background: #f5f0eb;
}

.lang-picker-menu button span {
  font-size: 1.1rem;
}

.nav-cta {
  background: #FF6B35;
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}

.nav-cta:hover {
  background: #e85520 !important;
  color: #fff !important;
  transform: scale(1.04);
}

/* Sections */
section,
.room-row {
  scroll-margin-top: 4.5rem;
}

section {
  max-width: 960px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

section.hero {
  max-width: none;
  margin: 0;
  padding: 0;
}

.amenities-section,
.recommendations-section,
.rules-section {
  padding: 0;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  padding: 0;
}

/* ── Hero grid ─────────────────────────────────────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  width: 100%;
  height: 70vh;
}

.hero-cell {
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.hero-cell--wide {
  grid-column: span 2;
}


.hero-cell--photo img,
.hero-cell--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-cell--video {
  z-index: 1;
}

.hero-cell--video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.hero-cell--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ── Flip cards ──────────────────────────────────────────────────────── */
.hero-flip {
  perspective: 800px;
}

.hero-flip-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.hero-flip:hover .hero-flip-inner {
  transform: rotateY(180deg);
}

.hero-flip-front,
.hero-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

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

.hero-flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--flip-bg, rgba(0, 115, 119, 0.92)) 0%, rgba(0, 0, 0, 0.3) 100%), var(--flip-bg, rgba(0, 115, 119, 0.92));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-flip-icon {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  line-height: 1;
  flex-shrink: 0;
}

.hero-flip-title {
  font-size: clamp(0.55rem, 1.5vw, 0.9rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-flip-desc {
  font-size: clamp(0.45rem, 1.2vw, 0.7rem);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Info tiles */
/* Title cell */
.hero-cell--title {
  background: linear-gradient(135deg, rgba(0, 207, 232, 0.95) 0%, rgba(6, 214, 160, 0.95) 35%, rgba(0, 115, 119, 0.95) 70%, rgba(123, 47, 190, 0.92) 100%);
  background-size: 200% 200%;
  animation: titleShimmer 30s ease infinite;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
}

/* ── Hero grid background ────────────────────────────────────────────── */
.hero-grid {
  position: relative;
  background: #fff;
}
.hero-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/all-photos/01.jpeg') center / cover no-repeat;
  z-index: 0;
  transition: opacity 0.6s ease;
}
.hero-grid.hero-bg-done::before {
  opacity: 0;
}
.hero-grid > .hero-cell {
  position: relative;
  z-index: 1;
}
.hero-grid .hero-cell:not(.hero-cell--title) {
  opacity: 0;
  transform: perspective(800px) rotateY(90deg);
  animation: heroFlipIn 0.6s ease var(--reveal-delay, 0s) forwards;
}
@keyframes heroFlipIn {
  to { opacity: 1; transform: perspective(800px) rotateY(0deg); }
}
@keyframes heroFadeIn {
  to { opacity: 1; }
}

.hero-cell--title h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  line-height: 1.1;
}

.hero-cell--title p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.hero-card-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cell--title .hero-btn {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-cell--title .hero-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.hero-cell--title .hero-btn.hero-btn--outline {
  background: linear-gradient(135deg, #ff6b35, #ff4d6d);
  border: none;
  color: #fff;
  box-shadow: 0 2px 12px rgba(255, 107, 53, 0.4);
}

.hero-cell--title .hero-btn.hero-btn--outline:hover {
  background: linear-gradient(135deg, #ff7b4a, #ff5d7d);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

@keyframes titleShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background: #444;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
}

input, textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #888;
}

/* Rooms grid */
.rooms-grid {
  width: 100%;
}

.room-row {
  width: 100%;
  padding: 3rem 1.5rem;
}

.room-row-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

/* Caribbean color palette */
.room-row {
  position: relative;
}

/* Layer 1 — grayscale photo */
.room-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--room-photo);
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  z-index: 0;
}

/* Layer 2 — color overlay */
.room-row::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Layer 3 — content */
.room-row-inner {
  position: relative;
  z-index: 2;
}

.room-row:nth-child(1)::before { background: rgba(0,   207, 232, 0.78); }
.room-row:nth-child(2)::before { background: rgba(255, 107, 53,  0.78); }
.room-row:nth-child(3)::before { background: rgba(6,   214, 160, 0.78); }
.room-row:nth-child(4)::before { background: rgba(255, 210, 63,  0.78); }
.room-row:nth-child(5)::before { background: rgba(76,  201, 240, 0.78); }
.room-row:nth-child(6)::before { background: rgba(255, 77,  109, 0.78); }
.room-row:nth-child(7)::before { background: rgba(255, 190, 11,  0.78); }
.room-row:nth-child(8)::before { background: rgba(123, 47,  190, 0.82); }
.room-row:nth-child(9)::before { background: rgba(67,  170, 139, 0.78); }

.room-row:nth-child(8) { color: #fff; }

.room-section {
  padding: 1.5rem;
  align-self: start;
}

/* Room details panel */
.room-details {
  padding: 2rem 2.5rem;
  align-self: start;
}

.room-row:nth-child(even) .room-details {
  text-align: right;
}

.room-row:nth-child(even) .room-amenities li {
  flex-direction: row-reverse;
}

.room-details h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.room-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 1.25rem;
}

.room-amenities {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.room-amenities li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #444;
}

.room-amenities li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #222;
  flex-shrink: 0;
}

.gallery-subtitle {
  color: #666;
  margin-bottom: 2rem;
}

/* Carousel */
.carousel {
  position: relative;
  user-select: none;
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  list-style: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Hover overlay */
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  border-radius: 0 0 12px 12px;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide:hover .slide-overlay,
.carousel-slide.slide-active .slide-overlay {
  transform: translateY(0);
}

.slide-overlay h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.slide-overlay p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.4;
}

.slide-caption {
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
}

/* Prev / Next buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.45);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.15s, opacity 0.15s;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.8);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.carousel-dot.active {
  background: #222;
  transform: scale(1.25);
}

/* Counter */
.carousel-counter {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #888;
}

/* ── Availability ──────────────────────────────────────────────────────────── */
.availability-section {
  max-width: 100%;
  background: #2d2d2d;
}

.availability-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.availability-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.availability-subtitle {
  color: #aaa;
  margin-bottom: 2.5rem;
}

.availability-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

/* Calendar */
.calendar-panel {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cal-nav-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.cal-nav-btn:hover { background: #f5f5f5; }

#cal-month-label {
  font-weight: 700;
  font-size: 1.05rem;
}

.calendar-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: #999;
  margin-bottom: 0.5rem;
}

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

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
  user-select: none;
  position: relative;
}

.cal-day:hover:not(.cal-day--unavailable):not(.cal-day--past):not(.cal-day--empty):not(.cal-day--too-soon) {
  background: #ffe0d4;
}

.cal-day--past,
.cal-day--empty {
  color: #ccc;
  cursor: default;
}

.cal-day--unavailable {
  color: #ccc;
  cursor: not-allowed;
  text-decoration: line-through;
}

.cal-day--selected-start,
.cal-day--selected-end {
  background: #FF6B35;
  color: #fff;
  font-weight: 700;
}

.cal-day--in-range {
  background: #ffe0d4;
  border-radius: 0;
}

.cal-day--selected-start { border-radius: 50% 0 0 50%; }
.cal-day--selected-end   { border-radius: 0 50% 50% 0; }
.cal-day--selected-start.cal-day--selected-end { border-radius: 50%; }

/* Min-nights tooltip on the check-in cell */
.cal-day--selected-start[data-min-nights]::after {
  content: attr(data-min-nights) '-night min';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 30;
}
.cal-day--selected-start[data-min-nights]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #222;
  pointer-events: none;
  z-index: 30;
}

/* Dates that don't meet the minimum stay */
.cal-day--too-soon {
  color: #ccc;
  cursor: not-allowed;
  text-decoration: line-through;
}

.calendar-legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #666;
}

.legend-item { display: flex; align-items: center; gap: 0.4rem; }

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot--available   { background: #e5e5e5; }
.legend-dot--unavailable { background: #ccc; border: 1px solid #bbb; }
.legend-dot--selected    { background: #FF6B35; }

/* Booking panel */
.booking-panel {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.booking-dates {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking-date-field {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
}

.booking-date-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 0.15rem;
}

.booking-date-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
}

.booking-date-divider {
  color: #bbb;
  font-size: 1.1rem;
}

.booking-rate {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.booking-rate-amount {
  font-size: 1.75rem;
  font-weight: 800;
}

.booking-rate-label {
  color: #666;
  font-size: 0.9rem;
}

.booking-breakdown {
  border-top: 1px solid #e5e5e5;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #555;
}

.breakdown-row--taxes {
  font-size: 0.9rem;
  color: #555;
}

.taxes-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.65rem;
  color: #aaa;
  padding: 0 2px;
  transition: transform 0.2s;
  vertical-align: middle;
}

.breakdown-taxes-detail {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem 0 0.2rem 0.75rem;
  border-left: 2px solid #f0f0f0;
  margin-bottom: 0.25rem;
}

.breakdown-row--tax-item {
  font-size: 0.8rem;
  color: #888;
}

.tax-rate {
  font-weight: 400;
  color: #bbb;
}

.breakdown-row--total {
  font-weight: 700;
  font-size: 1rem;
  color: #222;
  padding-top: 0.5rem;
  border-top: 1px solid #e5e5e5;
  margin-top: 0.25rem;
}

.btn--book {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  background: #FF6B35;
  border-radius: 8px;
  text-align: center;
}

.btn--book:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn--book:not(:disabled):hover {
  background: #e85520;
}

.booking-note {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
}

.booking-platforms {
  border-top: 1px solid #e5e5e5;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.booking-platforms-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  color: #bbb;
}

.booking-platforms-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.platform-link {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.platform-link:hover {
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.platform-link img {
  height: 28px;
  width: auto;
  display: block;
}

/* Add-ons */
.addons-section {
  border-top: 1px solid #e5e5e5;
  padding-top: 1.1rem;
}

.addons-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #999;
  margin-bottom: 0.75rem;
}

.addons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
}

.addon-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.addon-item:hover { border-color: #FF6B35; }

.addon-item.is-selected {
  border-color: #FF6B35;
  background: #fff5f1;
}

.addon-checkbox {
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}

.addon-item.is-selected .addon-checkbox {
  border-color: #FF6B35;
  background: #FF6B35;
  color: #fff;
  font-size: 0.7rem;
}

.addon-body {
  flex: 1;
  min-width: 0;
}

.addon-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.addon-desc {
  font-size: 0.75rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.addon-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
  flex-shrink: 0;
}

.addon-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}

.addon-qty {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.addon-qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: border-color 0.12s;
}

.addon-qty-btn:hover { border-color: #FF6B35; }

.addon-qty-value {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

/* ── Shared section subtitle ──────────────────────────────────────────────── */
.section-subtitle {
  color: #666;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ── Amenities ────────────────────────────────────────────────────────────── */
.amenities-section {
  background: #f9f9f7;
  max-width: 100%;
}

.amenities-section h2,
.amenities-section .section-subtitle {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.amenities-section h2 { padding-top: 5rem; margin-bottom: 0.5rem; }

.amenities-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.amenity-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #FF6B35;
  margin-bottom: 0.85rem;
}

.amenity-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.amenity-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #444;
}

.amenity-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 1.4rem;
  text-align: center;
}

/* ── Book Section ────────────────────────────────────────────────────────── */
.book-section {
  padding: 4rem 0 3rem;
}
.book-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: start;
}
.book-copy {
  padding-top: 1rem;
  min-height: 900px;
}
.book-copy h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 1rem;
}
.book-lead {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.book-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.book-highlights li {
  font-size: 0.95rem;
  color: #444;
  padding-left: 1.4rem;
  position: relative;
}
.book-highlights li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #2eaa4f;
  font-weight: 700;
}
.book-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.book-room {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}
.book-room img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.book-room-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
}
.book-widget {
  overflow: hidden;
}
.book-widget-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.75rem;
}
.book-platforms {
  text-align: center;
  margin-bottom: 1rem;
}
.book-platforms-label {
  font-size: 0.8rem;
  color: #999;
  display: block;
  margin-bottom: 0.5rem;
}
.book-platforms-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.book-platform-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.book-platform-link:hover {
  color: #222;
}
.book-platform-link img {
  height: 20px;
  width: auto;
}
.book-note {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
}

@media (max-width: 768px) {
  .book-layout {
    grid-template-columns: 1fr;
  }
  .book-copy {
    min-height: auto;
  }
  .book-rooms {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Reviews ──────────────────────────────────────────────────────────────── */
.reviews-section {
  background: #f7f5f2;
  max-width: none;
}
.reviews-section h2,
.reviews-section .section-subtitle,
.reviews-summary,
.reviews-carousel {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.reviews-score {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #222;
}

.reviews-stars {
  color: #FF6B35;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}

.reviews-count {
  font-size: 0.9rem;
  color: #888;
}

.reviews-carousel {
  position: relative;
  user-select: none;
}

.reviews-track-wrapper {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.reviews-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  box-sizing: border-box;
}

.review-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.reviews-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.15s, box-shadow 0.15s;
}

.reviews-carousel-btn:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.reviews-carousel-btn.prev { left: -22px; }
.reviews-carousel-btn.next { right: -22px; }

.reviews-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.5rem;
}

.reviews-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.reviews-carousel-dot.active {
  background: #FF6B35;
  transform: scale(1.25);
}

.review-card .review-stars {
  font-size: 1rem;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  flex: 1;
}

.review-author {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
}

/* ── Recommendations ──────────────────────────────────────────────────────── */
.recommendations-section {
  background: #f9f9f7;
  max-width: 100%;
}

.recommendations-section h2,
.recommendations-section .section-subtitle {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.recommendations-section h2 { padding-top: 5rem; margin-bottom: 0.5rem; }

.recs-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 960px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
}
.recs-filter {
  padding: 0.4rem 1rem;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}
.recs-filter:hover {
  border-color: var(--filter-color, #FF6B35);
  color: var(--filter-color, #FF6B35);
}
.recs-filter.active {
  background: var(--filter-color, #FF6B35);
  border-color: var(--filter-color, #FF6B35);
  color: #fff;
}
.recs-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.recs-track-wrapper {
  overflow: hidden;
}
.recs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rec-card.rec-hidden {
  display: none;
}
.recs-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.15s, box-shadow 0.15s;
}
.recs-carousel-btn:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.recs-carousel-btn.prev { left: -22px; }
.recs-carousel-btn.next { right: -22px; }
.recs-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.5rem;
}
.recs-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.recs-carousel-dot.active {
  background: #FF6B35;
  transform: scale(1.25);
}

.rec-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ── Rec card flip ───────────────────────────────────────────────────── */
.rec-flip {
  perspective: 800px;
  cursor: pointer;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  min-height: 340px;
}
.rec-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}
.rec-flip.flipped .rec-flip-inner {
  transform: rotateY(180deg);
}
.rec-flip-front,
.rec-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
}
.rec-flip-front {
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.rec-flip-front::before {
  content: '';
  display: block;
  height: 110px;
  background:
    linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 60%),
    var(--rec-image) center / cover no-repeat;
  border-radius: 12px 12px 0 0;
}
.rec-flip-front .rec-category {
  position: relative;
  margin-top: -3rem;
  padding: 0 1rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.rec-flip-front .rec-name {
  position: relative;
  padding: 0 1rem 0.5rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.rec-flip-front .rec-desc,
.rec-flip-front .rec-distance {
  padding: 0 1rem;
}
.rec-flip-front .rec-desc {
  flex: 1;
}
.rec-flip-front .rec-distance {
  padding-bottom: 1rem;
}
.rec-flip-front::after {
  content: '\21BB';
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(225deg, #FF6B35 50%, transparent 50%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.2rem 0.3rem 0 0;
  border-radius: 0 12px 0 0;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}
.rec-flip:hover .rec-flip-front::after {
  opacity: 1;
}
.rec-flip-back {
  transform: rotateY(180deg);
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.rec-map {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

.rec-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cat-color, #FF6B35);
}

.rec-name {
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.rec-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  flex: 1;
}

.rec-distance {
  font-size: 0.8rem;
  color: #aaa;
  font-weight: 500;
}

/* ── House Rules ──────────────────────────────────────────────────────────── */
.rules-section {
  background: #2d2d2d;
  max-width: 100%;
  color: #e0e0e0;
}

.rules-section h2 {
  color: #fff;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 5rem 1.5rem 0;
}

.rules-section .section-subtitle {
  color: #aaa;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1.5rem 0;
}

.rules-grid {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.rules-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #FF6B35;
  margin-bottom: 0.85rem;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rules-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #ccc;
}

.rule-icon {
  font-size: 1rem;
  flex-shrink: 0;
  width: 1.4rem;
  text-align: center;
}

/* ── Location layout ──────────────────────────────────────────────────────── */
#location {
  max-width: 1200px;
}

.location-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* ── Map ──────────────────────────────────────────────────────────────────── */
.map-wrapper {
  flex: 1 1 55%;
  min-width: 0;
  height: 540px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  isolation: isolate;
  position: sticky;
  top: 5rem;
  z-index: 1;
}


/* ── Location sidebar ────────────────────────────────────────────────────── */
.location-sidebar {
  flex: 1 1 45%;
  min-width: 0;
  max-height: 540px;
  overflow-y: auto;
}

/* ── Distances tabs ───────────────────────────────────────────────────────── */
.distances-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  position: sticky;
  top: 0;
  padding-top: 0;
  margin-top: 0;
  background: #fff;
  z-index: 2;
}

/* Per-category tab colors — match map marker colors */
.distances-tab[data-tab="beaches"]        { --tab-color: #0099cc; }
.distances-tab[data-tab="attractions"]    { --tab-color: #e6a817; }
.distances-tab[data-tab="shopping"]       { --tab-color: #2eaa4f; }
.distances-tab[data-tab="transportation"] { --tab-color: #8b5cf6; }

.distances-tab {
  flex-shrink: 0;
  padding: 0.3rem 0.75rem;
  border: none;
  background: none;
  color: #888;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.distances-tab:hover {
  color: var(--tab-color);
  background: color-mix(in srgb, var(--tab-color) 10%, transparent);
}

.distances-tab.active {
  color: #fff;
  background: var(--tab-color);
}

/* ── Distances panels ────────────────────────────────────────────────────── */
.distances-panels {
  margin-top: 0.5rem;
}

.distances-panel {
  display: none;
}

.distances-panel.active {
  display: block;
}

.distances-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.distances-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  transition: background 0.15s ease;
}

.distances-list li[data-marker]:hover {
  background: #f5f0eb;
}

.distances-panel[data-panel="beaches"] .distances-list li[data-marker]:hover .distances-name        { color: #0099cc; }
.distances-panel[data-panel="attractions"] .distances-list li[data-marker]:hover .distances-name    { color: #e6a817; }
.distances-panel[data-panel="shopping"] .distances-list li[data-marker]:hover .distances-name       { color: #2eaa4f; }
.distances-panel[data-panel="transportation"] .distances-list li[data-marker]:hover .distances-name { color: #8b5cf6; }

/* Thumbnail */
.distances-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.distances-thumb--logo {
  object-fit: contain;
  background: #fff;
  padding: 6px;
  border: 1px solid #eee;
}

/* Name + meta stacked */
.distances-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.distances-name {
  color: #333;
  font-weight: 500;
  transition: color 0.15s ease;
}

.distances-desc {
  color: #777;
  font-size: 0.78rem;
  line-height: 1.35;
}

.distances-meta {
  color: #999;
  font-size: 0.8rem;
  white-space: nowrap;
}


/* Active (selected) location in list */
.distances-list li.route-active {
  background: #fff3ed;
  box-shadow: inset 3px 0 0 #FF6B35;
}

.distances-list li.route-active .distances-name {
  color: #FF6B35;
}

/* Route popup on map */
.route-popup .leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  font-size: 0.85rem;
}

.route-popup .leaflet-popup-content {
  margin: 0.6rem 0.8rem;
  line-height: 1.45;
}

.route-popup .leaflet-popup-tip {
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}

@media (max-width: 480px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    width: 100%;
    height: auto;
    gap: 2px;
  }
  .hero-cell--photo { display: none; }
  .hero-cell--title {
    grid-column: 1 / -1;
    padding: 1.5rem 1rem;
  }
  .hero-cell--video {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .hero-cell--title h1 { font-size: 1.6rem; }
  .hero-cell--title p { font-size: 0.75rem; margin-bottom: 0.75rem; }
  .hero-cell--title .hero-btn { font-size: 0.8rem; padding: 0.55rem 1.2rem; }
  .hero-cell--video:hover {
    z-index: 1;
    overflow: hidden;
  }
  .hero-cell--video:hover video {
    inset: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .location-layout {
    flex-direction: column;
  }
  .map-wrapper {
    width: 100%;
    height: 300px;
    position: static;
    flex: none;
  }
  .location-sidebar {
    width: 100%;
    max-height: none;
  }
  .distances-tab {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
  }
  .distances-tabs {
    position: static;
  }
  .distances-thumb {
    width: 40px;
    height: 40px;
  }
}

/* ── Photo modal ──────────────────────────────────────────────────────────── */
.photo-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.photo-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.photo-modal-img {
  max-width: calc(100vw - 8rem);
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.photo-modal-img.is-loaded {
  opacity: 1;
}

.photo-modal-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2001;
}

.photo-modal-close:hover { background: rgba(255, 255, 255, 0.3); }

.photo-modal-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 2001;
}

.photo-modal-nav:hover { background: rgba(255, 255, 255, 0.3); }
.photo-modal-nav.prev { left: 1rem; }
.photo-modal-nav.next { right: 1rem; }

.photo-modal-caption {
  position: fixed;
  bottom: 3.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.35rem 1rem;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 80vw;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.photo-modal-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  pointer-events: none;
}

.carousel-slide img { cursor: zoom-in; }

/* Footer */
footer {
  border-top: 1px solid #e5e5e5;
  text-align: center;
  padding: 2rem;
  color: #888;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.footer-contact a {
  color: #666;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #FF6B35;
}

.footer-divider {
  margin: 0 0.5rem;
  color: #ccc;
}

/* ── Hamburger button (hidden on desktop) ───────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  color: #333;
}

/* ── Mobile ─────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .nav-hamburger { display: block; }

  .nav-links a { color: #555; }
  .nav-links a:hover { color: #000; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0.5rem 0;
    z-index: 99;
  }

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

  .nav-links li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    margin: 0.75rem 1.5rem;
    border-radius: 8px;
    text-align: center;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    width: 100%;
    height: auto;
    gap: 3px;
  }

  .hero-cell--photo { display: none; }
  .hero-cell--title {
    grid-column: 1 / -1;
    padding: 1.75rem 1.25rem;
  }
  .hero-cell--video {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }
  .hero-cell--video:hover {
    z-index: 1;
    overflow: hidden;
  }
  .hero-cell--video:hover video {
    inset: 0;
    width: 100%;
    height: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .hero-cell--title h1 { font-size: 1.8rem; }
  .hero-cell--title p  { font-size: 0.8rem; margin-bottom: 0.75rem; }
  .hero-cell--title .hero-btn { font-size: 0.8rem; padding: 0.55rem 1.2rem; }

  /* Room rows — single column, carousel always on top */
  .room-row { padding: 1.25rem 0.75rem; }

  .room-row-inner {
    grid-template-columns: 1fr;
  }

  /* Even rows have details first in source — push carousel back to top */
  .room-row:nth-child(even) .room-section { order: -1; }

  /* Reset even-row right-alignment */
  .room-row:nth-child(even) .room-details {
    text-align: left;
  }
  .room-row:nth-child(even) .room-amenities li {
    flex-direction: row;
  }

  .room-details { padding: 1.5rem; }

  .room-details h2 { font-size: 1.4rem; }

  /* Availability */
  .availability-layout {
    grid-template-columns: 1fr;
  }

  .availability-inner { padding: 3rem 1.25rem; }

  .availability-section h2 { font-size: 1.6rem; }

  /* Calendar */
  .cal-day { font-size: 0.8rem; }

  /* Booking panel */
  .booking-dates { flex-direction: column; gap: 0.5rem; }
  .booking-date-divider { display: none; }
  .booking-date-field { width: 100%; }

  /* General sections */
  section { padding: 3rem 1.25rem; }

  /* Amenities */
  .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .amenities-section h2 { padding-top: 3rem; }

  /* Reviews */
  .reviews-score { font-size: 2.75rem; }
  .reviews-slide { grid-template-columns: 1fr; }
  .review-card { padding: 1.5rem; }
  .reviews-carousel-btn.prev { left: -4px; }
  .reviews-carousel-btn.next { right: -4px; }

  /* Recommendations */
  .recs-grid { grid-template-columns: 1fr; }
  .recs-carousel-btn.prev { left: -4px; }
  .recs-carousel-btn.next { right: -4px; }
  .recommendations-section h2 { padding-top: 3rem; }

  /* House Rules */
  .rules-section h2 { padding-top: 3rem; }
  .rules-grid { grid-template-columns: 1fr; gap: 1.75rem; }

  /* Location */
  .location-layout { flex-direction: column; }
  .map-wrapper { width: 100%; height: 320px; position: static; flex: none; }
  .location-sidebar { width: 100%; max-height: none; }
  .distances-tabs { position: static; }
}
