@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: #fbfbf9;
  --foreground: #0e0e0d;
  --muted: #71706c;
  --muted-foreground: #8e8d89;
  --border: #ebe8df;
  --sand: #f9f6f0;
  --sea: #2e433e;
  --clay: #b86e4c;
  --accent: #dca35a;
  --card: #ffffff;
  
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

/* Containers */
.site-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background-color: var(--background);
}

.container-x {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

p {
  margin: 0;
}

.font-display {
  font-family: var(--font-serif);
}

.italic {
  font-style: italic;
  font-family: var(--font-serif);
}

.text-accent {
  color: var(--accent);
}

/* Chip Badge */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sand);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--foreground);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--foreground);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--foreground);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--foreground);
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  background-color: var(--sand);
}

/* Header & Nav */
header.absolute-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  height: 80px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--foreground);
}

.brand-link span:first-child {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.brand-link span:last-child {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.main-nav a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  color: var(--foreground);
}

/* Hero Section */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 90vh;
  align-items: flex-end;
  padding-bottom: 64px;
  padding-top: 140px;
  gap: 40px;
}

.hero-text h1 {
  font-size: clamp(48px, 6.5vw, 92px);
  font-family: var(--font-serif);
  line-height: 0.92;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-text p {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-image-col {
  position: relative;
  width: 100%;
}

.hero-img-wrapper {
  overflow: hidden;
  border-radius: 24px;
}

.hero-img-wrapper img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
}

.floating-booking-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(14,14,13,0.1);
  display: none;
}

.floating-booking-badge div:first-child {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 600;
}

.floating-booking-badge .title {
  font-family: var(--font-serif);
  font-size: 22px;
  margin-top: 4px;
  line-height: 1.2;
}

.floating-booking-badge .sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* Stats Section */
.stats-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: rgba(249, 246, 240, 0.5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 40px 0;
}

.stat-item .num {
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1;
}

.stat-item .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 600;
  margin-top: 8px;
}

/* Accommodation (Villas list) */
.accommodation-section {
  padding: 80px 0;
}

.collection-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}

.collection-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400;
}

.collection-header p {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
}

.villas-list-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.villa-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.villa-img-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.villa-img-link img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.32, 1);
}

.villa-article:hover .villa-img-link img {
  transform: scale(1.02);
}

.villa-img-link .rating-chip {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--card);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.villa-info-col {
  display: flex;
  flex-direction: column;
}

.villa-info-col h3 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  margin-top: 8px;
  margin-bottom: 16px;
}

.villa-subtitle {
  font-size: 16px;
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 12px;
}

.villa-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.villa-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.villa-specs dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.villa-specs dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.villa-action-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.villa-price {
  font-size: 14px;
  color: var(--muted);
}

/* Reviews Grid */
.reviews-section {
  background-color: rgba(249, 246, 240, 0.4);
  padding: 80px 0;
}

.reviews-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.reviews-intro h2 {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
}

.reviews-score-summary {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 24px;
}

.reviews-score-summary .avg {
  font-family: var(--font-serif);
  font-size: 64px;
  color: var(--clay);
  line-height: 1;
}

.reviews-score-summary .label {
  font-size: 13px;
  color: var(--muted);
}

.reviews-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.review-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.review-card blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
}

.review-card figcaption {
  margin-top: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 600;
}

/* Location Section */
.location-section {
  padding: 80px 0;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.location-img-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.location-text {
  display: flex;
  flex-direction: column;
}

.location-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  margin-top: 8px;
  margin-bottom: 24px;
}

.location-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.location-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.location-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.location-bullets li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--foreground);
  border-radius: 50%;
}

/* Booking Process Banner */
.booking-banner {
  background-color: var(--sea);
  color: #ffffff;
  padding: 80px 0;
}

.booking-banner .kicker {
  color: rgba(255, 255, 255, 0.7);
}

.booking-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  max-width: 600px;
  margin-bottom: 56px;
}

.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.step-card {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
}

.step-card .num {
  font-family: var(--font-serif);
  font-size: 40px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

.step-card h3 {
  font-size: 22px;
  font-weight: 500;
  margin-top: 16px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Footer */
footer.site-footer {
  background-color: rgba(249, 246, 240, 0.4);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-col strong {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
}

.footer-brand-col p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-nav-col ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col a {
  font-size: 13px;
  color: var(--foreground);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-nav-col a:hover {
  opacity: 0.7;
}

.footer-contact-col ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.footer-contact-col a {
  color: var(--foreground);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

/* Villa details page layouts */
.listing-layout-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.villa-detail-main {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.photo-gallery-tour {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, 200px);
  gap: 8px;
  margin-top: 24px;
}

.photo-gallery-tour a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  height: 100%;
}

.photo-gallery-tour img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-gallery-tour a:hover img {
  transform: scale(1.02);
}

.photo-gallery-tour .large-item {
  grid-row: span 2;
}

.villa-header-banner {
  padding-top: 120px;
  padding-bottom: 24px;
}

.villa-header-banner h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 400;
  margin-top: 12px;
  margin-bottom: 12px;
}

.villa-header-banner p {
  font-size: 16px;
  color: var(--muted);
}

.listing-sticky-sidebar {
  width: 100%;
}

.sticky-booking-card {
  position: static;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(14,14,13,0.03);
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
}

.booking-card-header strong {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
}

.booking-card-header span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.booking-fields-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-fields-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-fields-form label span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}

.booking-fields-form input,
.booking-fields-form textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  background-color: #ffffff;
  outline: none;
  font-family: var(--font-sans);
}

.booking-fields-form input:focus,
.booking-fields-form textarea:focus {
  border-color: var(--foreground);
}

.booking-fields-form button[type="submit"] {
  background-color: var(--foreground);
  color: #ffffff;
  border: none;
  border-radius: 99px;
  padding: 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s ease;
  margin-top: 8px;
}

.booking-fields-form button[type="submit"]:hover {
  opacity: 0.9;
}

.form-status {
  font-size: 12px;
  text-align: center;
  color: var(--clay);
  margin-top: 12px;
}

/* Calendar Styles */
.calendar-panel {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  background-color: var(--card);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-header strong {
  font-size: 15px;
  font-weight: 600;
}

.calendar-header button {
  background: transparent;
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.calendar-header button:hover {
  background-color: var(--sand);
}

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

.calendar-weekdays-grid span {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding-bottom: 12px;
}

.calendar-days-grid span {
  /* Empty placeholders */
  min-height: 44px;
}

.calendar-days-grid .day {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 44px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.calendar-days-grid .day:hover {
  background-color: var(--sand);
}

.calendar-days-grid .day.is-blocked {
  background-color: var(--sand);
  color: var(--muted-foreground);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 0.6;
}

.calendar-days-grid .day.is-selected {
  background-color: var(--foreground);
  color: #ffffff;
}

/* Inline Facts list */
.inline-facts-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.inline-facts-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.ui-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

/* Sleeping Grid */
.sleeping-rooms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sleep-room-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  background-color: var(--card);
}

.sleep-room-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.sleep-room-card span {
  font-size: 13px;
  color: var(--muted);
}

/* Amenities List */
.amenities-badges-flex {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.amenities-badges-flex span {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* Listing Subnav sticky */
.listing-nav-bar {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 24px;
}

.listing-nav-bar a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.listing-nav-bar a:hover {
  color: var(--foreground);
}

/* Modal Dialog Styles (Fallback standard styles) */
.dialog-modal-box {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  background-color: var(--card);
  max-width: 440px;
  width: 100%;
}

/* Responsive Breakpoints */
@media (min-width: 768px) {
  .hero-layout {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }
  .hero-text {
    grid-column: span 6;
  }
  .hero-image-col {
    grid-column: span 6;
  }
  .floating-booking-badge {
    display: block;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    padding: 56px 0;
  }
  .villa-article {
    grid-template-columns: repeat(12, 1fr);
    gap: 48px;
  }
  .villa-img-link {
    grid-column: span 7;
  }
  .villa-info-col {
    grid-column: span 5;
  }
  .villa-article:nth-child(even) .villa-img-link {
    grid-column: span 7;
    order: 2;
  }
  .villa-article:nth-child(even) .villa-info-col {
    grid-column: span 5;
    order: 1;
  }
  .reviews-section-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .reviews-intro {
    grid-column: span 4;
  }
  .reviews-cards-grid {
    grid-column: span 8;
    grid-template-columns: repeat(2, 1fr);
  }
  .location-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .location-img-wrapper {
    grid-column: span 6;
  }
  .location-text {
    grid-column: span 6;
    padding-left: 32px;
  }
  .steps-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-columns {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  .listing-layout-columns {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
  .sticky-booking-card {
    position: sticky;
    top: 90px;
  }
  .sleeping-rooms-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Other Villas Section Styles */
.other-villas-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.other-villas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .other-villas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

.other-villa-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.32, 1);
  box-shadow: 0 4px 20px rgba(14,14,13,0.02);
  position: relative;
}

.other-villa-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(14,14,13,0.06);
  border-color: var(--muted-foreground);
}

.other-villa-img-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  width: 100%;
}

.other-villa-img-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.other-villa-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.32, 1);
}

.other-villa-card:hover .other-villa-img-wrapper img {
  transform: scale(1.04);
}

.other-villa-rating {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--foreground);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.other-villa-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.other-villa-info h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-top: 4px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.other-villa-info h3 a {
  text-decoration: none;
  color: var(--foreground);
  transition: color 0.15s ease;
}

.other-villa-info h3 a:hover {
  color: var(--clay);
}

.other-villa-subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.other-villa-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.other-villa-view-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.other-villa-view-link svg {
  transition: transform 0.2s ease;
}

.other-villa-card:hover .other-villa-view-link {
  color: var(--clay);
}

.other-villa-card:hover .other-villa-view-link svg {
  transform: translateX(4px);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--foreground);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background-color: var(--sand);
  border-color: var(--muted-foreground);
}

/* Mobile Nav Drawer collapsible */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }
  
  nav.main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 24px;
    right: 24px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    gap: 16px;
    z-index: 99;
    box-shadow: 0 12px 30px rgba(14,14,13,0.08);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
  }
  
  nav.main-nav.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .villa-menu-links {
    flex-direction: column;
    gap: 16px !important;
  }
}

/* Premium Form validation states */
.booking-fields-form input,
.booking-fields-form textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-fields-form input:focus,
.booking-fields-form textarea:focus {
  border-color: var(--sea) !important;
  box-shadow: 0 0 0 2px rgba(46, 67, 62, 0.1);
}

.booking-fields-form input.has-error,
.booking-fields-form textarea.has-error {
  border-color: var(--clay) !important;
  box-shadow: 0 0 0 2px rgba(184, 110, 76, 0.1);
  background-color: rgba(184, 110, 76, 0.01);
}

.validation-error-text {
  font-size: 11px;
  color: var(--clay);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* Dynamic Stay Summary Card Block */
.stay-summary-card {
  background-color: var(--sand);
  border: 1px dashed var(--clay);
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--foreground);
  animation: slideInDown 0.3s ease forwards;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Premium Airbnb CTA elements (cohesive with Aegean Modernism) */
.btn-airbnb-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  font-size: 13px;
  padding: 8px 16px;
  gap: 8px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-airbnb-outline:hover {
  background-color: var(--sand);
  border-color: var(--muted-foreground);
  transform: translateY(-1px);
}

.btn-airbnb-outline svg {
  color: var(--foreground);
  transition: transform 0.22s ease;
}

.btn-airbnb-outline:hover svg {
  transform: scale(1.08);
}

.airbnb-alternative-link a {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.airbnb-alternative-link a:hover {
  color: var(--foreground) !important;
  opacity: 0.95;
}

/* Photo Tour Overhaul */
.photo-tour-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tour-thumbs {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 16px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  scrollbar-width: none; /* Hide standard Firefox scrollbars */
  -webkit-overflow-scrolling: touch;
}

.tour-thumbs::-webkit-scrollbar {
  display: none; /* Hide Chrome/Safari scrollbars */
}

.thumb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  width: 100px;
  transition: transform 0.2s ease;
}

.thumb-card:hover {
  transform: translateY(-2px);
}

.thumb-img-wrapper {
  width: 100%;
  aspect-ratio: 1.5;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  background-color: var(--sand);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(14,14,13,0.02);
}

.thumb-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.thumb-card:hover .thumb-img-wrapper {
  border-color: var(--muted-foreground);
  box-shadow: 0 6px 16px rgba(14,14,13,0.06);
}

.thumb-card:hover .thumb-img-wrapper img {
  transform: scale(1.04);
}

.thumb-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  text-transform: capitalize;
  line-height: 1.3;
  transition: color 0.2s, font-weight 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  letter-spacing: -0.01em;
}

.thumb-card:hover .thumb-label {
  color: var(--foreground);
}

/* Active State */
.thumb-card.is-active .thumb-img-wrapper {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(184, 110, 76, 0.18), 0 6px 16px rgba(184, 110, 76, 0.08);
}

.thumb-card.is-active .thumb-img-wrapper img {
  transform: scale(1.02);
}

.thumb-card.is-active .thumb-label {
  color: var(--clay);
  font-weight: 600;
}

/* Detail view */
.tour-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tour-detail-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.article-info-pane {
  display: flex;
  flex-direction: column;
}

.article-info-pane h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--foreground);
  margin-top: 6px;
  margin-bottom: 12px;
  line-height: 1.1;
}

.sand-accent-line {
  width: 40px;
  height: 2px;
  background-color: var(--clay);
  margin-bottom: 16px;
}

.article-meta-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 420px;
  margin: 0;
}

.article-img-pane {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(14,14,13,0.03);
  background-color: var(--sand);
}

.article-img-pane img {
  width: 100%;
  aspect-ratio: 1.5;
  object-fit: cover;
  display: block;
}

/* Desktop Responsive Layout */
@media (min-width: 768px) {
  .tour-thumbs {
    flex-wrap: wrap;
    overflow-x: visible;
    margin: 0;
    padding: 0;
    gap: 20px 16px;
  }
  
  .thumb-card {
    width: 110px;
  }
  
  .tour-detail-article {
    grid-template-columns: 280px 1fr;
    gap: 56px;
    padding: 72px 0;
  }
  
  .article-info-pane {
    position: sticky;
    top: 110px;
    z-index: 10;
  }
  
  .article-info-pane h2 {
    font-size: 40px;
  }
  
  .article-meta-desc {
    font-size: 14px;
  }
}



