:root {
  --bg: #080F0F;
  --surface: #0E1A1A;
  --card: #112020;
  --card-hover: #162828;
  --teal: #0D9488;
  --teal-light: #14B8A6;
  --amber: #F59E0B;
  --amber-light: #FCD34D;
  --text: #E8F4F4;
  --text-muted: #7AACAC;
  --border: rgba(232, 244, 244, 0.1);
  --danger: #EF4444;
}

:root[data-theme="light"] {
  --bg: #F5FAF9;
  --surface: #FFFFFF;
  --card: #EEF6F5;
  --card-hover: #E3F0EE;
  --text: #0E2323;
  --text-muted: #4B6A6A;
  --border: rgba(14, 35, 35, 0.1);
}

* { box-sizing: border-box; }

button, input, select, textarea {
  font-family: inherit;
  line-height: inherit;
  color: inherit;
}

body {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.2s ease, color 0.2s ease;
}

h1, h2, h3, .display {
  font-family: 'Syne', 'Segoe UI', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: var(--teal-light); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 15, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
:root[data-theme="light"] header.site-header { background: rgba(245, 250, 249, 0.9); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
}
.logo strong { color: var(--teal-light); }

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
  transition: background 0.15s ease;
}
.icon-btn:hover { background: var(--card-hover); }

.lang-switch {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-option {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.lang-option.active {
  background: var(--amber);
  color: #241a04;
}

.whatsapp-btn {
  background: #25D366;
  color: #08130E;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ---- Hero ---- */
.hero {
  padding: 80px 24px 64px;
  text-align: center;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 16px; }
.hero p.subtitle { color: var(--text-muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto 32px; }
.hero .cta-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}
.btn-primary { background: var(--teal); color: #06110F; }
.btn-primary:hover { background: var(--teal-light); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { background: var(--card); }

/* ---- Gallery marquee ---- */
.gallery-strip {
  overflow: hidden;
  padding: 8px 0;
  background: var(--surface);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.gallery-placeholder {
  width: 260px;
  height: 180px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--card), var(--card-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  flex-shrink: 0;
  border: 1px dashed var(--border);
}
.gallery-thumb {
  width: 260px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.gallery-thumb:hover { transform: scale(1.03); }

/* ---- Lightbox ---- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 8, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; }
}

/* ---- Reviews ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.review-stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 8px; font-size: 0.9rem; }
.review-quote {
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-author { margin-top: 12px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.review-source { font-weight: 400; opacity: 0.8; }

/* ---- Section ---- */
section { padding: 64px 24px; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 620px; margin: 0 auto 40px; }

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.feature-card .icon { font-size: 1.6rem; margin-bottom: 8px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.feature-card.highlight { border-color: var(--amber); }

.notice-well {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--amber);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px auto 0;
  max-width: 620px;
  color: var(--amber-light);
  font-weight: 600;
  text-align: center;
}

/* ---- Comparison ---- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 640px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.compare-card h3 { color: var(--teal-light); margin-top: 0; }
.compare-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.compare-card li { padding: 8px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; }
.compare-card li:last-child { border-bottom: none; }
.compare-card .tag-included { color: var(--teal-light); font-size: 0.85rem; }
.compare-card .tag-extra { color: var(--amber-light); font-size: 0.85rem; }

/* ---- Booking ---- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 800px) { .booking-layout { grid-template-columns: 1fr; } }

.calendar-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.calendar-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.calendar-grid .dow { font-size: 0.75rem; color: var(--text-muted); padding: 4px 0; }
.calendar-day {
  padding: 8px 0;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--surface);
}
.calendar-day.empty { visibility: hidden; }
.calendar-day.unavailable { color: var(--danger); background: rgba(239,68,68,0.1); cursor: not-allowed; text-decoration: line-through; }
.calendar-day.selected { background: var(--teal); color: #06110F; font-weight: 700; }
.calendar-day.in-range { background: rgba(13,148,136,0.25); }
.calendar-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }

.contact-form-wrap { position: relative; }

.contact-toggle-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.contact-toggle-btn.is-hidden {
  opacity: 0;
  transform: scale(0.92);
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 0; left: 0;
}

.contact-form {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: scaleY(0.92) translateY(-6px);
  transform-origin: top center;
  transition: max-height 0.35s ease, opacity 0.3s ease, transform 0.3s ease, padding 0.35s ease, border-color 0.35s ease;
  padding-top: 0;
  padding-bottom: 0;
  border-color: transparent;
}
.contact-form.is-open {
  opacity: 1;
  transform: scaleY(1) translateY(0);
  padding-top: 24px;
  padding-bottom: 24px;
  border-color: var(--border);
}

form.booking-form, form.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row { display: flex; gap: 12px; }
.form-row > * { flex: 1; }
label { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 4px; }
input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
textarea { resize: vertical; min-height: 90px; }
.rental-toggle { display: flex; gap: 8px; }
.rental-toggle button {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  font-family: inherit;
}
.rental-toggle button.active { background: var(--teal); color: #06110F; border-color: var(--teal); font-weight: 700; }

.form-msg { font-size: 0.9rem; padding: 10px 12px; border-radius: 8px; display: none; }
.form-msg.success { display: block; background: rgba(20,184,166,0.15); color: var(--teal-light); }
.form-msg.error { display: block; background: rgba(239,68,68,0.15); color: var(--danger); }

/* ---- Contact section ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto; align-items: start; }
@media (max-width: 700px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-side { display: flex; flex-direction: column; gap: 16px; justify-content: flex-start; }
.contact-side a.whatsapp-btn { justify-content: center; padding: 18px; font-size: 1.05rem; }

footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

[data-i18n], [data-i18n-placeholder] { }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
