:root {
  --bg: #f7f2ea;
  --paper: #fffaf3;
  --ink: #142324;
  --text: #203435;
  --muted: #496162;
  --line: rgba(20, 35, 36, 0.14);
  --green: #1f6b56;
  --green-dark: #143d34;
  --sand: #e9dac5;
  --shadow: 0 24px 70px rgba(20, 35, 36, 0.14);
  --header-offset: 96px;
  --radius: 28px;
}

:root[data-theme="dark"] {
  --bg: #0e1717;
  --paper: #142122;
  --ink: #f5efe6;
  --text: #ecdfcf;
  --muted: #c8bda9;
  --line: rgba(245, 239, 230, 0.16);
  --green: #72c5a8;
  --green-dark: #a9ead1;
  --sand: #182727;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-offset); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  animation: pageEnter 0.85s cubic-bezier(.16, 1, .3, 1) both;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: var(--header-offset); }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 14px max(20px, calc((100vw - 1160px) / 2));
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  overflow: hidden;
  color: #fff;
  background: var(--green);
}
.brand-letters {
  display: block;
  line-height: 1;
  font-size: 13px;
  font-weight: 900;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  transform: translateY(0.5px);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  grid-column: 2;
  grid-row: 1;
}
.nav-links a,
.utility-btn {
  min-height: 42px;
  padding: 11px 14px;
  color: var(--text);
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}
.nav-links a:hover,
.utility-btn:hover { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green-dark); }
.nav-links .nav-cta {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(31, 107, 86, .18);
}
:root[data-theme="dark"] .nav-links .nav-cta { color: #0e1717; background: #a9ead1; }
.nav-links .nav-cta:hover { transform: translateY(-1px); }

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
  grid-column: 3;
}
.utility-btn {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  cursor: pointer;
}

.language-switcher { position: relative; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 94px;
  height: 42px;
  padding: 0 12px;
  line-height: 1;
}
.lang-globe {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 18px;
}
.lang-current {
  display: block;
  min-width: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  transform: translateY(0);
}
.lang-chevron {
  position: relative;
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  transition: transform 0.2s ease;
}
.lang-chevron::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  border-radius: 1px;
}
.language-toggle[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  padding: 8px;
  background: #0d1314;
  color: #f3f4f5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.24);
}
.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.lang-option::after { content: ""; width: 18px; text-align: center; }
.lang-option:hover,
.lang-option[aria-current="true"] { background: rgba(255, 255, 255, 0.08); }
.lang-option[aria-current="true"]::after { content: "✓"; font-size: 14px; line-height: 1; }

.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
}
.theme-svg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 18px;
  height: 18px;
  display: block;
  transform: translate(-50%, -50%);
}
.theme-svg.sun { opacity: 0; }
:root[data-theme="dark"] .theme-svg.moon { opacity: 0; }
:root[data-theme="dark"] .theme-svg.sun { opacity: 1; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 18px;
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 70px;
}
.hero-content,
.hero-visual { min-height: 680px; border-radius: 38px; box-shadow: var(--shadow); }
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 64px);
  background: var(--paper);
  animation: heroTextEnter 0.95s cubic-bezier(.16, 1, .3, 1) both 0.08s;
}
.hero-visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 29, 28, 0.08), rgba(7, 29, 28, 0.28)),
    url("images/pool-outdoor-2.webp") center/cover;
  animation: heroImageEnter 1s cubic-bezier(.16, 1, .3, 1) both 0.16s;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 34%);
  pointer-events: none;
}
.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(64px, 8.6vw, 116px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.hero h1 span { display: block; }
.lead {
  max-width: 520px;
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.018em;
}
.quick-info { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.quick-info span {
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, #fff 28%);
  color: var(--text);
  font-weight: 850;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(20, 35, 36, 0.05);
}
:root[data-theme="dark"] .quick-info span { background: #1b2d2e; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #fff; background: var(--green); box-shadow: 0 16px 32px rgba(31, 107, 86, 0.25); }
:root[data-theme="dark"] .btn.primary { color: #0e1717; background: #a9ead1; }
.btn.primary:hover { background: var(--green-dark); color: #fff; }
:root[data-theme="dark"] .btn.primary:hover { background: #72c5a8; color: #0e1717; }
.btn.secondary { color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.floating-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 22px;
  background: rgba(255, 250, 243, 0.88);
  backdrop-filter: blur(16px);
  color: #142324;
  animation: floatSoft 5.2s ease-in-out infinite 1s;
}
.floating-card strong { font-size: 17px; }
.floating-card span { color: #304849; font-weight: 800; }

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.gallery-section { padding: 24px 0 80px; }
.section-head { margin-bottom: 24px; }
.section-head.centered { text-align: center; max-width: 650px; margin-inline: auto; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 215px;
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #ddd;
  border-radius: 24px;
  cursor: zoom-in;
  box-shadow: 0 12px 34px rgba(20, 35, 36, 0.08);
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease, filter 0.45s ease; }
.gallery-item:hover img { transform: scale(1.045); filter: saturate(1.05) contrast(1.04); }
.zoom-indicator {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.zoom-indicator::before,
.zoom-indicator::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}
.zoom-indicator::after { transform: translate(-50%, -50%) rotate(90deg); }
.gallery-item:hover .zoom-indicator { opacity: 1; transform: translateY(0); }

.feature-section { padding: 84px 0; background: #143d34; color: #fff; }
.feature-section .section-label { color: #d9eee6; }
.feature-section h2 { color: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.feature-grid article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 28px 24px 26px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.feature-grid article:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.14); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18); }
.feature-number {
  display: block;
  height: 16px;
  color: #d6ece4;
  font-size: 12px;
  line-height: 16px;
  font-weight: 900;
  letter-spacing: 0.14em;
}
.feature-grid h3 { margin: 0 0 12px; color: #fff; font-size: 24px; letter-spacing: -0.025em; }
.feature-grid p { margin: 0; color: rgba(255, 255, 255, 0.92); font-size: 16px; line-height: 1.65; }

.details-section { padding: 88px 0; background: var(--bg); }
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.detail-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(20, 35, 36, 0.06);
}
.detail-card.wide { grid-column: span 2; }
.detail-card h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.02em;
}
.detail-card p { margin: 0 0 20px; line-height: 1.7; color: var(--text); }
.detail-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-card li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.55;
  font-weight: 700;
}
.detail-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.amenity-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.availability-section {
  padding: 76px 0 88px;
  background: var(--bg);
}
.availability-wrap {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(520px, 1.28fr);
  gap: 30px;
  align-items: start;
}
.booking-widget,
.calendar-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: var(--shadow);
}
.booking-widget {
  position: sticky;
  top: 96px;
  padding: 34px 32px;
}
.booking-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
  color: var(--ink);
}
.booking-price strong {
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.booking-price span { color: var(--muted); font-weight: 750; }
.booking-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 26px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.booking-warning.is-ready { color: #087f5b; }
.booking-warning.is-ready .warning-icon {
  border-color: #087f5b;
  color: #087f5b;
}
.booking-warning.is-attention { color: var(--ink); }
.booking-summary {
  display: grid;
  gap: 10px;
  margin: -10px 0 20px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, #0796bd 24%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, #e4f7fc 48%, var(--paper));
}
.booking-summary[hidden] { display: none; }
.booking-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}
.booking-summary-row strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
  text-align: right;
}
.booking-summary-row.total {
  margin-top: 2px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, #0796bd 22%, var(--line));
  color: var(--ink);
}
.booking-summary-row.total strong {
  color: #007fa4;
  font-size: 19px;
}
.booking-summary small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}
.warning-icon {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1.8px solid #ef7a1a;
  border-radius: 50%;
  color: #ef7a1a;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
}
.booking-field {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.booking-field:hover,
.booking-field:focus-visible {
  border-color: #9bd4e3;
  box-shadow: 0 0 0 4px rgba(0, 142, 180, 0.10);
  outline: none;
}
.booking-field svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #162837;
}
.guest-picker-wrap { position: relative; }
.guest-popover {
  position: absolute;
  z-index: 30;
  left: -12px;
  right: -12px;
  top: calc(100% + 8px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 22px 55px rgba(17, 24, 39, 0.16);
}
.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.guest-row strong,
.guest-row span { display: block; }
.guest-row strong { color: var(--ink); font-size: 17px; font-weight: 900; }
.guest-row div > span { margin-top: 4px; color: var(--muted); font-size: 14px; font-weight: 650; }
.guest-counter { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.guest-counter button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #536171;
  background: var(--paper);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.guest-counter button:disabled { opacity: .36; cursor: not-allowed; }
.guest-counter span { min-width: 18px; color: var(--ink); font-size: 18px; font-weight: 850; text-align: center; }
.guest-clear {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #0796bd;
  border-radius: 8px;
  color: #0796bd;
  background: transparent;
  font-weight: 750;
  cursor: pointer;
}
.booking-submit {
  width: 100%;
  justify-content: center;
  margin-top: 14px;
  border-color: var(--line);
  color: #008bb3;
  background: var(--paper);
}

.booking-contact-card {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--green) 24%, var(--line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--green) 8%, var(--paper));
  color: var(--text);
}
.booking-contact-card[hidden] { display: none; }
.booking-contact-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}
.booking-contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}
.booking-contact-line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.booking-contact-line:hover,
.booking-contact-line:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, #19a974 62%, var(--line));
  box-shadow: 0 14px 30px rgba(10, 152, 114, .15);
  background: color-mix(in srgb, #19a974 8%, var(--paper));
  outline: none;
}
.booking-contact-whatsapp {
  overflow: hidden;
  flex-wrap: wrap;
  border-color: color-mix(in srgb, #19a974 34%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, #19a974 12%, var(--paper)), color-mix(in srgb, var(--paper) 92%, transparent));
  cursor: pointer;
}
.booking-contact-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.52) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events: none;
}
.booking-contact-whatsapp:hover::after,
.booking-contact-whatsapp:focus-visible::after { transform: translateX(120%); }
.booking-contact-icons,
.booking-contact-icon-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a9872;
  flex: 0 0 auto;
}
.booking-contact-icon-wrap,
.booking-contact-icons {
  min-width: 42px;
  min-height: 42px;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, #19a974 10%, var(--paper));
}
.booking-contact-icon {
  width: 23px;
  height: 23px;
  display: block;
}
.whatsapp-icon { color: #19a974; }
.mail-icon { color: #008bb3; }
.booking-contact-body {
  min-width: 0;
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
}
.booking-contact-whatsapp .booking-contact-body {
  flex: 1 1 190px;
}
.booking-contact-whatsapp .booking-contact-cta {
  margin-inline-start: auto;
}
.booking-contact-label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 750;
}
.booking-contact-line strong {
  color: var(--ink);
  font-size: 15px;
  text-align: left;
  word-break: break-word;
}
.booking-contact-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: #19a974;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(25, 169, 116, .22);
}
.booking-contact-cta::after {
  content: "→";
  font-size: 13px;
  line-height: 1;
}
html[dir="rtl"] .booking-contact-line strong,
html[dir="rtl"] .booking-contact-label { text-align: right; }
html[dir="rtl"] .booking-contact-cta::after { content: "←"; }

@media (max-width: 520px) {
  .booking-contact-whatsapp .booking-contact-cta {
    flex-basis: auto;
    margin-inline-start: 52px;
  }

  html[dir="rtl"] .booking-contact-whatsapp .booking-contact-cta {
    margin-inline-start: 0;
    margin-inline-end: 52px;
  }
}

.calendar-panel { padding: 20px 18px 18px; }
.calendar-toolbar {
  min-height: 34px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 6px;
}
.calendar-nav {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #9aa7b4;
  background: transparent;
  cursor: pointer;
}
.calendar-nav:hover,
.calendar-nav:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--green) 10%, transparent); outline: none; }
.calendar-nav svg { width: 23px; height: 23px; }
.calendar-load-note { justify-self: center; color: var(--muted); font-size: 13px; font-weight: 700; }
.calendar-months {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.calendar-month-title {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}
.calendar-weekdays,
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.calendar-weekdays { margin-bottom: 18px; color: #9aa5b3; font-weight: 750; text-align: center; }
.calendar-day {
  min-height: 47px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1px;
  border: 0;
  border-radius: 7px;
  color: #0b87a7;
  background: #dff5fb;
  font: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(8, 143, 180, 0.14); outline: none; }
.calendar-day-number { font-size: 16px; line-height: 1; font-weight: 750; }
.calendar-day-price { font-size: 11px; line-height: 1; white-space: nowrap; font-weight: 750; }
.calendar-day.is-full,
.calendar-day.is-outside { color: #c3c7cc; background: #f1f1f1; cursor: default; }
.calendar-day.is-optioned { color: #a35e15; background: #ffd6b2; }
.calendar-day.is-unknown { color: #aab1b9; background: #f7f7f7; cursor: default; }
.calendar-day.is-selected,
.calendar-day.is-range { color: #006b84; background: #bdebf5; box-shadow: inset 0 0 0 2px #58c8df; }
.calendar-day:disabled { pointer-events: none; }
.calendar-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.availability-legend { display: flex; flex-wrap: wrap; gap: 16px; }
.availability-legend span { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.availability-legend i { width: 20px; height: 20px; border-radius: 6px; }
.availability-legend em { font-style: normal; }
.legend-full { background: #dcdcdc; }
.legend-optioned { background: #ffd1a8; }
.legend-available { background: #dff5fb; }
.calendar-clear {
  border: 0;
  color: #078bb1;
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}

.location-section { padding: 76px 0 88px; background: var(--sand); }
.location-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}
.location-wrap p { margin: 22px 0 0; color: var(--text); font-size: 17px; line-height: 1.7; }
.nearby-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.nearby-list span {
  min-height: 84px;
  display: flex;
  align-items: center;
  padding: 20px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--text);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(20, 35, 36, 0.06);
}
.map-card {
  position: relative;
  overflow: hidden;
  margin-top: 26px;
  min-height: 380px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: var(--paper);
}
.villa-map {
  display: block;
  width: 100%;
  height: 420px;
  min-height: 380px;
  border: 0;
  background: var(--sand);
  z-index: 1;
}
.villa-marker-wrapper {
  background: transparent;
  border: 0;
}
.villa-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 142px;
  height: 46px;
  padding: 0 14px 0 12px;
  color: #fff;
  background: #143d34;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}
.villa-marker::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50% 50% 50% 0;
  background: #d92828;
  transform: rotate(-45deg);
  box-shadow: inset 0 0 0 4px #fff;
}
.villa-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: #143d34;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}
.map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #143d34;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(20, 35, 36, 0.24);
}

.footer { padding: 28px 0; background: #142324; color: #fff; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer a { color: #e3f4ed; font-weight: 850; }

.gallery-modal {
  width: min(1100px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  animation: modalEnter 0.25s ease both;
}
.gallery-modal::backdrop { background: rgba(8, 15, 15, 0.82); }
.modal-figure { margin: 0; position: relative; background: #080d0d; }
.gallery-modal img { width: 100%; max-height: 82vh; object-fit: contain; background: #080d0d; cursor: pointer; }
.modal-counter {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  font-weight: 850;
  font-size: 13px;
}
.modal-close,
.modal-arrow {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.54);
  cursor: pointer;
  padding: 0;
  transition: background 0.22s ease, transform 0.22s ease;
}
.modal-close:hover,
.modal-arrow:hover { background: rgba(0, 0, 0, 0.74); transform: scale(1.04); }
.modal-close { top: 14px; right: 14px; width: 42px; height: 42px; }
.modal-close svg { width: 20px; height: 20px; display: block; }
.modal-arrow { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); }
.modal-arrow svg { width: 24px; height: 24px; display: block; }
.modal-arrow:hover { transform: translateY(-50%) scale(1.04); }
.modal-prev { left: 14px; }
.modal-next { right: 14px; }

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 0.75s cubic-bezier(.16, 1, .3, 1), transform 0.75s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.gallery-item.reveal { transform: translateY(24px) scale(0.98); }
.gallery-item.reveal.is-visible { transform: translateY(0) scale(1); }

@keyframes pageEnter { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroTextEnter { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes heroImageEnter { from { opacity: 0; transform: translateY(24px) scale(0.975); filter: blur(4px); } to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); } }
@keyframes modalEnter { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: scale(1); } }
@keyframes floatSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }



@media (max-width: 1060px) {
  .site-header { grid-template-columns: auto auto; }
  .header-actions { grid-column: 2; }
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 82px max(14px, calc((100vw - 1160px) / 2)) auto max(14px, calc((100vw - 1160px) / 2));
    display: none;
    grid-column: unset;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: color-mix(in srgb, var(--paper) 98%, transparent);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
}

@media (max-width: 980px) {
  .hero,
  .availability-wrap,
  .location-wrap { grid-template-columns: 1fr; }
  .hero { margin-bottom: 50px; }
  .hero-content,
  .hero-visual { min-height: auto; }
  .hero-content { min-height: 480px; }
  .hero-visual { min-height: 430px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-card.wide { grid-column: span 2; }
  .booking-widget { position: relative; top: auto; }
  .calendar-months { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  :root { --header-offset: 86px; }
  .container { width: min(100% - 28px, 1160px); }
  .site-header {
    min-height: 66px;
    padding-inline: 14px;
    gap: 10px;
  }
  .brand { gap: 9px; font-size: 15px; }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .brand-letters { font-size: 12px; }
  .header-actions { gap: 6px; }
  .utility-btn {
    min-height: 38px;
    padding: 9px 11px;
    font-size: 12px;
  }
  .language-toggle { min-width: 72px; }
  .lang-menu {
    right: 0;
    width: min(240px, calc(100vw - 28px));
  }
  .theme-toggle,
  .menu-toggle { width: 40px; height: 40px; }
  .nav-links { inset: 76px 14px auto 14px; }

  .hero {
    width: calc(100% - 24px);
    margin-top: 12px;
    gap: 12px;
  }
  .hero-content,
  .hero-visual { border-radius: 28px; }
  .hero-content {
    min-height: auto;
    padding: 30px 24px 28px;
  }
  .hero-visual { min-height: 330px; }
  .hero h1 {
    font-size: clamp(52px, 16vw, 76px);
    line-height: 0.96;
    letter-spacing: -0.02em;
  }
  .lead {
    margin-top: 20px;
    font-size: 19px;
    line-height: 1.35;
  }
  .quick-info { margin-top: 22px; gap: 8px; }
  .quick-info span {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    padding: 10px 9px;
    font-size: 13px;
  }
  .hero-actions { margin-top: 26px; }
  .btn { width: 100%; min-height: 50px; }
  .floating-card {
    left: 18px;
    bottom: 18px;
    padding: 14px 16px;
    min-width: 132px;
  }
  .gallery-section { padding: 8px 0 58px; }
  .gallery-grid { grid-auto-rows: 168px; gap: 10px; }
  .gallery-item { border-radius: 18px; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .feature-section { padding: 58px 0; }
  .feature-grid,
  .details-grid,
  .nearby-list { grid-template-columns: 1fr; }
  .detail-card.wide { grid-column: auto; }
  .feature-grid article { min-height: 178px; }
  .feature-grid h3 { margin-top: 0; }
  .details-section { padding: 58px 0; }
  .detail-card { border-radius: 22px; }
  .location-section { padding: 58px 0; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
  .gallery-modal { width: calc(100% - 16px); border-radius: 18px; }
  .modal-arrow { width: 42px; height: 42px; }
  .modal-arrow svg { width: 22px; height: 22px; }
  .modal-prev { left: 8px; }
  .modal-next { right: 8px; }
  .modal-close { top: 8px; right: 8px; }
  .modal-close svg { width: 20px; height: 20px; }
  .booking-widget,
  .calendar-panel { padding: 22px; }
  .calendar-footer { align-items: flex-start; flex-direction: column; }
  .calendar-day { min-height: 44px; }
  .guest-popover { left: 0; right: 0; }
  .map-card { min-height: 320px; border-radius: 22px; }
  .villa-map { height: 340px; min-height: 320px; }
  .villa-marker { min-width: 128px; height: 42px; padding-inline: 10px 12px; font-size: 12px; }
}

@media (max-width: 430px) {
  .brand span:last-child { display: none; }
  .hero h1 { font-size: 52px; }
  h2 { font-size: 32px; }
}

@media (max-width: 390px) {
  .quick-info span { flex-basis: 100%; }
}

html[dir="rtl"] body,
html[dir="rtl"] .lang-option { text-align: right; }
html[dir="rtl"] .hero,
html[dir="rtl"] .location-wrap,
html[dir="rtl"] .site-header,
html[dir="rtl"] .footer-wrap { direction: rtl; }
html[dir="rtl"] .nav-links { justify-content: flex-start; }
html[dir="rtl"] .lang-menu { left: 0; right: auto; }
html[dir="rtl"] .detail-card li { padding-left: 0; padding-right: 20px; }
html[dir="rtl"] .detail-card li::before { left: auto; right: 0; }
html[dir="rtl"] .modal-prev { right: 14px; left: auto; }
html[dir="rtl"] .modal-next { left: 14px; right: auto; }
html[dir="rtl"] .map-link { left: 18px; right: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
.booking-summary-row[hidden] { display: none; }
.booking-summary-row.short-fee strong { color: #c45f08; }


/* v5 availability layout and theme polish */
:root {
  --calendar-available-bg: #dff5fb;
  --calendar-available-text: #0b87a7;
  --calendar-full-bg: #f1f1f1;
  --calendar-full-text: #c3c7cc;
  --calendar-option-bg: #ffd6b2;
  --calendar-option-text: #a35e15;
  --calendar-selected-bg: #bdebf5;
  --calendar-selected-ring: #58c8df;
  --calendar-link: #078bb1;
  --calendar-weekday: #9aa5b3;
  --summary-bg: color-mix(in srgb, #e4f7fc 48%, var(--paper));
  --summary-border: color-mix(in srgb, #0796bd 24%, var(--line));
  --success-text: #087f5b;
  --attention-text: #d86808;
  --field-icon: #162837;
  --short-fee-text: #c45f08;
}
:root[data-theme="dark"] {
  --calendar-available-bg: rgba(102, 215, 239, 0.20);
  --calendar-available-text: #8deeff;
  --calendar-full-bg: #263233;
  --calendar-full-text: #788889;
  --calendar-option-bg: rgba(255, 192, 122, 0.22);
  --calendar-option-text: #ffd19b;
  --calendar-selected-bg: rgba(102, 215, 239, 0.34);
  --calendar-selected-ring: #8deeff;
  --calendar-link: #8deeff;
  --calendar-weekday: #b7c2c3;
  --summary-bg: rgba(102, 215, 239, 0.10);
  --summary-border: rgba(141, 238, 255, 0.36);
  --success-text: #8fe9c0;
  --attention-text: #ffbf7c;
  --field-icon: var(--ink);
  --short-fee-text: #ffc178;
}
.availability-head {
  margin-bottom: 18px;
}
.availability-head .section-label {
  margin: 0;
}
.booking-widget,
.calendar-panel,
.guest-popover {
  color: var(--text);
}
.booking-warning.is-ready,
.booking-warning.is-ready .warning-icon {
  color: var(--success-text);
  border-color: var(--success-text);
}
.booking-warning.is-attention,
.booking-warning.is-attention .warning-icon {
  color: var(--attention-text);
  border-color: var(--attention-text);
}
.booking-summary {
  border-color: var(--summary-border);
  background: var(--summary-bg);
}
.booking-summary-row.total {
  border-top-color: var(--summary-border);
}
.booking-summary-row.total strong,
.booking-summary-row.short-fee strong {
  color: var(--short-fee-text);
}
.booking-summary-row.total strong {
  color: var(--calendar-link);
}
.booking-field,
.guest-popover,
.guest-counter button {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line);
}
.booking-field svg {
  color: var(--field-icon);
}
.booking-field:hover,
.booking-field:focus-visible {
  border-color: var(--calendar-selected-ring);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--calendar-selected-ring) 18%, transparent);
}
.guest-clear,
.calendar-clear {
  color: var(--calendar-link);
}
.guest-clear {
  border-color: var(--calendar-link);
}
.calendar-weekdays {
  color: var(--calendar-weekday);
}
.calendar-nav:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}
.calendar-nav:disabled:hover {
  color: #9aa7b4;
  background: transparent;
}
.calendar-day {
  color: var(--calendar-available-text);
  background: var(--calendar-available-bg);
}
.calendar-day.is-full,
.calendar-day.is-outside,
.calendar-day.is-unknown {
  color: var(--calendar-full-text);
  background: var(--calendar-full-bg);
}
.calendar-day.is-optioned {
  color: var(--calendar-option-text);
  background: var(--calendar-option-bg);
}
.calendar-day.is-selected,
.calendar-day.is-range {
  color: var(--calendar-available-text);
  background: var(--calendar-selected-bg);
  box-shadow: inset 0 0 0 2px var(--calendar-selected-ring);
}
.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible:not(:disabled) {
  box-shadow: 0 8px 16px color-mix(in srgb, var(--calendar-selected-ring) 22%, transparent);
}
.legend-full { background: var(--calendar-full-bg); }
.legend-optioned { background: var(--calendar-option-bg); }
.legend-available { background: var(--calendar-available-bg); }
:root[data-theme="dark"] .lang-menu {
  background: #0b1212;
  border-color: rgba(245, 239, 230, 0.12);
}
:root[data-theme="dark"] .menu-toggle,
:root[data-theme="dark"] .utility-btn {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}
:root[data-theme="dark"] .booking-submit.btn.primary {
  color: #0e1717;
  background: #a9ead1;
}
:root[data-theme="dark"] .booking-submit.btn.primary:hover {
  color: #0e1717;
  background: #72c5a8;
}
html[dir="rtl"] .availability-wrap,
html[dir="rtl"] .booking-widget,
html[dir="rtl"] .calendar-panel {
  direction: rtl;
}
html[dir="rtl"] .booking-field {
  text-align: right;
}
html[dir="rtl"] .booking-summary-row strong {
  text-align: left;
}

@media (max-width: 720px) {
  .availability-head {
    margin-bottom: 14px;
  }
}

/* v6 final premium polish */
:root {
  --aqua: #0c9fbd;
  --mint: #7bd8be;
  --gold: #d2a05e;
  --glass: color-mix(in srgb, var(--paper) 82%, transparent);
  --soft-border: color-mix(in srgb, var(--line) 76%, transparent);
}
:root[data-theme="dark"] {
  --aqua: #8deeff;
  --mint: #a9ead1;
  --gold: #ffd08a;
  --glass: color-mix(in srgb, var(--paper) 76%, transparent);
  --soft-border: color-mix(in srgb, var(--line) 86%, transparent);
}
body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 9% 8%, color-mix(in srgb, var(--mint) 20%, transparent), transparent 25rem),
    radial-gradient(circle at 91% 18%, color-mix(in srgb, var(--aqua) 18%, transparent), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 86%, var(--sand)) 52%, var(--bg) 100%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, color-mix(in srgb, var(--green) 10%, transparent), transparent 16rem),
    radial-gradient(circle at 78% 62%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 18rem);
  opacity: .75;
  filter: blur(1px);
  animation: ambienceDrift 18s ease-in-out infinite alternate;
}
main, footer { position: relative; z-index: 1; }
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--green), var(--aqua), var(--gold));
  box-shadow: 0 0 18px color-mix(in srgb, var(--aqua) 40%, transparent);
  pointer-events: none;
}
.site-header {
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  box-shadow: 0 10px 34px color-mix(in srgb, var(--ink) 8%, transparent);
}
.brand-mark {
  position: relative;
  background: radial-gradient(circle at 30% 24%, color-mix(in srgb, #ffffff 30%, transparent), transparent 34%), linear-gradient(135deg, var(--green), var(--aqua));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--green) 28%, transparent);
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--green) 25%, transparent);
  opacity: .35;
  animation: logoPulse 3.8s ease-in-out infinite;
}
.nav-links a,
.utility-btn,
.menu-toggle,
.btn,
.booking-field,
.calendar-day,
.gallery-item,
.detail-card,
.nearby-list span {
  -webkit-tap-highlight-color: transparent;
}
.nav-links a:hover,
.utility-btn:hover,
.menu-toggle:hover { transform: translateY(-1px); }
.lang-menu { animation: menuPop .18s cubic-bezier(.16, 1, .3, 1) both; }
.hero-content,
.hero-visual,
.booking-widget,
.calendar-panel,
.detail-card,
.nearby-list span,
.map-card { border-color: var(--soft-border); }
.hero-content {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 6%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 15rem),
    linear-gradient(145deg, color-mix(in srgb, var(--paper) 96%, #fff), color-mix(in srgb, var(--paper) 88%, var(--sand)));
}
.hero-content::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -120px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--mint) 26%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-content > * { position: relative; z-index: 1; }
.hero h1 {
  background: linear-gradient(135deg, var(--ink) 0%, color-mix(in srgb, var(--green-dark) 72%, var(--ink)) 55%, var(--aqua) 135%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme="dark"] .hero h1 {
  background: linear-gradient(135deg, var(--ink), var(--mint) 105%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 48%, transparent 61%);
  transform: translateX(-42%) rotate(8deg);
  animation: imageSheen 8s ease-in-out infinite;
}
.hero-visual::after {
  z-index: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 34%),
    linear-gradient(180deg, transparent 46%, rgba(4, 20, 18, 0.32));
}
.floating-card { box-shadow: 0 22px 50px rgba(0, 0, 0, .18); }
.quick-info span { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.quick-info span:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
  box-shadow: 0 16px 32px color-mix(in srgb, var(--green) 12%, transparent);
}
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  opacity: 0;
}
.btn:hover::after { animation: buttonShine .8s ease forwards; }
.btn.primary {
  background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 70%, var(--aqua)));
  box-shadow: 0 18px 40px color-mix(in srgb, var(--green) 28%, transparent);
}
.btn.secondary:hover {
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 28%, var(--line)), 0 14px 30px color-mix(in srgb, var(--green) 11%, transparent);
}
.section-label { display: inline-flex; align-items: center; gap: 9px; }
.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 12%, transparent);
}
.gallery-item { isolation: isolate; }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.26));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.gallery-item:hover::after { opacity: 1; }
.zoom-indicator { z-index: 2; }
.feature-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(123, 216, 190, .18), transparent 22rem),
    radial-gradient(circle at 86% 70%, rgba(255, 255, 255, .11), transparent 20rem),
    linear-gradient(135deg, #10342d, #15523f 58%, #10342d);
}
.feature-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  pointer-events: none;
}
.feature-section .container { position: relative; }
.feature-grid article { backdrop-filter: blur(12px); }
.detail-card,
.nearby-list span,
.booking-widget,
.calendar-panel { transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease; }
.detail-card:hover,
.nearby-list span:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--green) 24%, var(--line));
  box-shadow: 0 24px 48px color-mix(in srgb, var(--ink) 11%, transparent);
}
.availability-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--mint) 14%, transparent), transparent 24rem),
    radial-gradient(circle at 84% 42%, color-mix(in srgb, var(--aqua) 12%, transparent), transparent 24rem),
    var(--bg);
}
.availability-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, #fff 10%, transparent), transparent);
  opacity: .28;
  pointer-events: none;
}
.availability-section > .container { position: relative; }
.booking-widget,
.calendar-panel {
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 70px color-mix(in srgb, var(--ink) 14%, transparent);
}
.booking-widget:hover,
.calendar-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 34px 86px color-mix(in srgb, var(--ink) 16%, transparent);
}
.booking-price strong {
  background: linear-gradient(135deg, var(--ink), var(--calendar-link));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.booking-warning { min-height: 24px; }
.booking-summary { position: relative; overflow: hidden; }
.booking-summary::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--calendar-link), var(--mint));
}
.booking-field {
  margin-bottom: 0;
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
}
.booking-field:hover,
.booking-field:focus-visible { transform: translateY(-1px); }
.booking-submit {
  min-height: 56px;
  margin-top: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 58%, var(--aqua)));
  border: 0;
  box-shadow: 0 20px 42px color-mix(in srgb, var(--green) 25%, transparent);
}
.booking-submit:hover {
  color: #fff;
  box-shadow: 0 24px 50px color-mix(in srgb, var(--green) 31%, transparent);
}
:root[data-theme="dark"] .booking-submit.btn.primary {
  color: #081112;
  background: linear-gradient(135deg, #a9ead1, #8deeff);
}
.calendar-panel { position: relative; overflow: hidden; }
.calendar-panel::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--aqua) 46%, transparent), transparent);
}
.calendar-nav { transition: background .2s ease, color .2s ease, transform .2s ease; }
.calendar-nav:hover:not(:disabled) { transform: translateY(-1px); }
.calendar-day { position: relative; overflow: hidden; border: 1px solid transparent; }
.calendar-day:not(:disabled)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,.38), transparent 58%);
  opacity: .55;
  pointer-events: none;
}
.calendar-day.is-selected,
.calendar-day.is-range {
  animation: selectedPulse 1.8s ease-in-out infinite;
  border-color: color-mix(in srgb, var(--calendar-selected-ring) 70%, transparent);
}
.calendar-clear {
  border-radius: 999px;
  padding: 8px 10px;
  transition: background .18s ease, transform .18s ease;
}
.calendar-clear:hover {
  transform: translateY(-1px);
  background: color-mix(in srgb, var(--calendar-link) 10%, transparent);
}
.location-section { background: linear-gradient(180deg, color-mix(in srgb, var(--sand) 92%, var(--bg)), var(--sand)); }
.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid color-mix(in srgb, #fff 32%, var(--line));
  border-radius: inherit;
  pointer-events: none;
}
.map-link { transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.map-link:hover {
  transform: translateY(-2px);
  background: var(--green);
  box-shadow: 0 18px 36px rgba(20,35,36,.26);
}
.footer { background: linear-gradient(135deg, #0d1919, #143d34); }
@keyframes ambienceDrift {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  100% { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}
@keyframes logoPulse {
  0%, 100% { transform: scale(.92); opacity: .28; }
  50% { transform: scale(1.12); opacity: .52; }
}
@keyframes menuPop {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes imageSheen {
  0%, 62% { transform: translateX(-48%) rotate(8deg); opacity: 0; }
  72% { opacity: .92; }
  100% { transform: translateX(48%) rotate(8deg); opacity: 0; }
}
@keyframes buttonShine {
  from { left: -45%; opacity: 0; }
  20% { opacity: .8; }
  to { left: 120%; opacity: 0; }
}
@keyframes selectedPulse {
  0%, 100% { box-shadow: inset 0 0 0 2px var(--calendar-selected-ring), 0 0 0 0 color-mix(in srgb, var(--calendar-selected-ring) 0%, transparent); }
  50% { box-shadow: inset 0 0 0 2px var(--calendar-selected-ring), 0 0 0 4px color-mix(in srgb, var(--calendar-selected-ring) 14%, transparent); }
}
@media (max-width: 720px) {
  .scroll-progress { height: 2px; }
  .hero-content::before { width: 180px; height: 180px; right: -90px; top: -70px; }
  .booking-submit { min-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before,
  .brand-mark::after,
  .hero-visual::before,
  .calendar-day.is-selected,
  .calendar-day.is-range { animation: none !important; }
}


/* v10 turquoise villa refresh */
:root {
  --bg: #eef9fb;
  --paper: #ffffff;
  --ink: #0e2e33;
  --text: #244a50;
  --muted: #5a7c82;
  --line: rgba(14, 46, 51, 0.12);
  --green: #19bdd1;
  --green-dark: #0b8ea2;
  --sand: #d9f5f8;
  --shadow: 0 28px 70px rgba(14, 46, 51, 0.14);
}

:root[data-theme="dark"] {
  --bg: #07171b;
  --paper: #0d2328;
  --ink: #eefcff;
  --text: #d7f4f7;
  --muted: #9fc9cf;
  --line: rgba(220, 247, 250, 0.12);
  --green: #59def0;
  --green-dark: #aef5ff;
  --sand: #0e3138;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.brand-mark {
  background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 65%, #0a90a6 35%));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--green) 28%, transparent);
}

.nav-links .nav-cta,
.btn.primary,
.booking-submit {
  background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 68%, #0a8fa3 32%)) !important;
}

.hero.hero-banner {
  position: relative;
  display: block;
  width: min(1240px, calc(100% - 32px));
  min-height: 76vh;
  margin: 18px auto 70px;
  padding: 24px;
  border-radius: 36px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(8, 24, 28, 0.72) 0%, rgba(8, 24, 28, 0.46) 35%, rgba(8, 24, 28, 0.18) 62%, rgba(8, 24, 28, 0.30) 100%),
    linear-gradient(180deg, rgba(6, 28, 32, 0.15), rgba(6, 28, 32, 0.55)),
    url('images/hero.webp') center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(7, 20, 24, 0.16) 100%);
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  min-height: calc(76vh - 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.hero-panel {
  width: min(560px, 100%);
  margin-top: auto;
  padding: 34px;
  border-radius: 30px;
  background: color-mix(in srgb, rgba(8, 24, 28, 0.72) 84%, transparent);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.hero .eyebrow,
.hero .lead,
.hero h1,
.hero h1 span,
.hero .quick-info span,
.hero .btn.secondary {
  color: #ffffff !important;
}

.hero .eyebrow {
  opacity: .88;
}

.hero .lead {
  max-width: 48ch;
  opacity: .94;
}

.hero h1 {
  font-size: clamp(60px, 9vw, 112px);
  line-height: .90;
  margin: 8px 0 18px;
  color: #111 !important;
}

.hero h1 span:last-child::after {
  background: color-mix(in srgb, var(--green) 35%, transparent);
}

.hero .quick-info span {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.14);
}

.hero .btn.secondary {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
}

.hero-floating-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.floating-card {
  min-width: 190px;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  transform: none !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16);
}

.floating-card strong,
.floating-card span {
  color: var(--ink);
}

.gallery-showcase {
  display: grid;
  gap: 20px;
  padding: 26px;
  border-radius: 32px;
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.gallery-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-filter,
.gallery-stage-nav {
  appearance: none;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 96%, transparent);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.gallery-filter:hover,
.gallery-filter.is-active,
.gallery-stage-nav:hover {
  color: #fff;
  background: var(--green);
  border-color: transparent;
}

.gallery-stage-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-stage-count {
  min-width: 72px;
  text-align: center;
  font-weight: 800;
  color: var(--muted);
}

.gallery-stage {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  cursor: zoom-in;
  background: #cceef3;
  box-shadow: 0 18px 42px rgba(14, 46, 51, 0.12);
}

.gallery-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 24, 28, 0.04) 35%, rgba(6, 24, 28, 0.74) 100%);
}

.gallery-stage-meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  color: #fff;
  z-index: 1;
}

.gallery-stage-category {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-stage-title {
  font-size: clamp(20px, 3vw, 30px);
}

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(120px, 148px);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}

.gallery-item {
  display: block;
  border: 0;
  padding: 0;
  border-radius: 18px !important;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  box-shadow: none;
  opacity: .86;
  transform: none !important;
  border: 2px solid transparent;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-item.is-active {
  opacity: 1;
  border-color: var(--green);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--green) 24%, transparent);
}

.gallery-item[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .hero.hero-banner {
    min-height: auto;
    padding: 16px;
    border-radius: 28px;
  }

  .hero-shell {
    min-height: 0;
  }

  .hero-panel {
    width: 100%;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 66px);
  }

  .hero-floating-wrap {
    justify-content: flex-start;
  }

  .gallery-showcase {
    padding: 18px;
    border-radius: 24px;
  }

  .gallery-stage img {
    aspect-ratio: 4 / 3;
  }

  .gallery-strip {
    grid-auto-columns: 108px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 14px;
  }

  .hero.hero-banner {
    width: min(1240px, calc(100% - 18px));
    margin-bottom: 54px;
  }

  .hero-panel {
    padding: 20px 18px;
  }

  .gallery-topbar {
    align-items: stretch;
  }

  .gallery-stage-tools {
    justify-content: space-between;
    width: 100%;
  }

  .gallery-filter {
    padding: 9px 12px;
    font-size: 13px;
  }

  .gallery-stage-meta {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}


/* v11 full-bleed turquoise polish */
:root {
  --bg: #eefbfc;
  --paper: #ffffff;
  --ink: #12323a;
  --text: #284e56;
  --muted: #61818a;
  --line: rgba(18, 50, 58, 0.12);
  --green: #20c7da;
  --green-dark: #0da6b8;
  --sand: #def7fa;
}

:root[data-theme="dark"] {
  --bg: #07161a;
  --paper: #0d2328;
  --ink: #effcff;
  --text: #d6f3f7;
  --muted: #98c8cf;
  --line: rgba(220, 247, 250, 0.12);
  --green: #4fe0ef;
  --green-dark: #b2f5fc;
  --sand: #0d2e35;
}

.brand-mark,
.nav-links .nav-cta,
.btn.primary,
.booking-submit,
.map-link:hover,
.calendar-day.is-selected,
.calendar-day.is-range {
  background-image: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 70%, #0aa1b5 30%)) !important;
}

.feature-section {
  background: linear-gradient(180deg, #0c7f90 0%, #0b6f7e 100%) !important;
}

.feature-section .section-label {
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.18) !important;
  color: #ffffff !important;
}

.feature-section h2,
.feature-grid h3,
.feature-grid p,
.feature-card span,
.feature-number {
  color: #ffffff !important;
}

.footer {
  background: linear-gradient(180deg, #0d7c8d 0%, #0a6471 100%) !important;
}

.hero.hero-banner {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 72px !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  min-height: 84vh;
  padding: max(108px, calc(var(--header-offset) + 32px)) max(24px, calc((100vw - 1160px) / 2 + 20px)) 40px !important;
  border-radius: 0 0 40px 40px !important;
  background:
    linear-gradient(100deg, rgba(8, 30, 34, 0.42) 0%, rgba(8, 30, 34, 0.18) 45%, rgba(8, 30, 34, 0.08) 70%, rgba(8, 30, 34, 0.24) 100%),
    linear-gradient(180deg, rgba(8, 30, 34, 0.12), rgba(8, 30, 34, 0.28)),
    url('images/hero.webp') center center / cover no-repeat !important;
}

.hero.hero-banner::after {
  background: linear-gradient(180deg, transparent 35%, rgba(8, 30, 34, 0.12) 100%) !important;
}

.hero-shell {
  min-height: calc(84vh - 140px);
  width: min(1160px, 100%);
  margin-inline: auto;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(7, 27, 31, 0.42), rgba(7, 27, 31, 0.32)) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.hero .lead { color: rgba(255,255,255,.94) !important; }
.hero .quick-info span { background: rgba(255,255,255,.14) !important; }
.hero .btn.secondary { background: rgba(255,255,255,.14) !important; }

.gallery-showcase {
  padding: 28px;
}

.gallery-stage {
  box-shadow: 0 18px 42px rgba(14, 46, 51, 0.10);
}

.gallery-stage-overlay {
  background: linear-gradient(180deg, rgba(6, 24, 28, 0.02) 46%, rgba(6, 24, 28, 0.42) 100%) !important;
}

.gallery-stage-meta {
  text-shadow: 0 2px 14px rgba(0,0,0,.18);
}

.gallery-filter:hover,
.gallery-filter.is-active,
.gallery-stage-nav:hover {
  color: #fff;
}

.gallery-item.is-active {
  border-color: var(--green) !important;
}

@media (max-width: 900px) {
  .hero.hero-banner {
    min-height: 72vh;
    padding: max(94px, calc(var(--header-offset) + 18px)) 16px 22px !important;
    border-radius: 0 0 28px 28px !important;
    margin-bottom: 52px !important;
  }

  .hero-shell {
    min-height: calc(72vh - 116px);
  }

  .gallery-showcase {
    padding: 18px;
  }
}


/* v12 requested fixes: favicon/logo match, remove hero pool card, full gallery */
:root {
  --bg: #eefbfc;
  --paper: #ffffff;
  --ink: #12323a;
  --text: #284e56;
  --muted: #61818a;
  --line: rgba(18, 50, 58, 0.12);
  --green: #20c7da;
  --green-dark: #0da6b8;
  --sand: #def7fa;
}
:root[data-theme="dark"] {
  --bg: #07161a;
  --paper: #0d2328;
  --ink: #effcff;
  --text: #d6f3f7;
  --muted: #98c8cf;
  --line: rgba(220, 247, 250, 0.12);
  --green: #4fe0ef;
  --green-dark: #b2f5fc;
  --sand: #0d2e35;
}
.brand-mark {
  border-radius: 50% !important;
  background: linear-gradient(135deg, #4fe0ef, #0da6b8) !important;
}
.brand-letters {
  display: grid !important;
  place-items: center !important;
  width: 100%;
  height: 100%;
  transform: none !important;
  line-height: 1 !important;
}
.hero-floating-wrap,
.floating-card {
  display: none !important;
}
.hero.hero-banner {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 72px !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border-radius: 0 0 38px 38px !important;
  min-height: 84vh;
  padding: max(108px, calc(var(--header-offset) + 32px)) max(24px, calc((100vw - 1160px) / 2 + 20px)) 42px !important;
  background:
    linear-gradient(100deg, rgba(7, 27, 31, 0.34) 0%, rgba(7, 27, 31, 0.12) 45%, rgba(7, 27, 31, 0.04) 72%, rgba(7, 27, 31, 0.16) 100%),
    url('images/hero.webp') center center / cover no-repeat !important;
}
.hero.hero-banner::after {
  background: linear-gradient(180deg, transparent 42%, rgba(7, 27, 31, 0.08) 100%) !important;
}
.hero-panel {
  background: rgba(7, 27, 31, 0.26) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12) !important;
}
.feature-section,
.footer {
  background: linear-gradient(180deg, #0c8ea2 0%, #086d7d 100%) !important;
}
.feature-section h2,
.feature-section .section-label,
.feature-grid h3,
.feature-grid p,
.feature-number {
  color: #fff !important;
}
.gallery-stage-wrap {
  position: relative;
}
.gallery-stage-overlay {
  background: linear-gradient(180deg, rgba(6, 24, 28, 0) 58%, rgba(6, 24, 28, 0.28) 100%) !important;
}
.gallery-stage-meta {
  text-shadow: 0 2px 10px rgba(0,0,0,.16);
}
.gallery-edge-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: #0e2e33;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.gallery-edge-nav:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}
.gallery-edge-prev { left: 18px; }
.gallery-edge-next { right: 18px; }
.gallery-edge-nav svg,
.gallery-stage-nav svg {
  width: 24px;
  height: 24px;
}
.gallery-stage-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
}
.gallery-filter.is-active,
.gallery-filter:hover,
.gallery-stage-nav:hover {
  background: var(--green) !important;
  color: #fff !important;
}
.gallery-item.is-active {
  border-color: var(--green) !important;
}
.gallery-item[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .hero.hero-banner {
    min-height: 72vh;
    padding: max(94px, calc(var(--header-offset) + 18px)) 16px 24px !important;
    border-radius: 0 0 28px 28px !important;
    margin-bottom: 52px !important;
  }
  .gallery-edge-nav {
    width: 44px;
    height: 44px;
  }
  .gallery-edge-prev { left: 10px; }
  .gallery-edge-next { right: 10px; }
}


/* v13 fixes */
.calendar-day {
  min-height: 56px !important;
  padding: 5px 2px 4px !important;
  gap: 2px !important;
}
.calendar-day-number {
  font-size: 15px !important;
  line-height: 1 !important;
}
.calendar-day-price {
  font-size: 10px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  white-space: nowrap !important;
  transform: scale(0.96);
  transform-origin: center top;
}
.gallery-stage-title {
  display: none !important;
}
.gallery-stage-meta {
  gap: 0 !important;
}
.footer-wrap {
  justify-content: center !important;
  text-align: center !important;
}
.footer-brandline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
}
.footer-year {
  opacity: .78;
  font-weight: 700;
  letter-spacing: .08em;
}
.footer a {
  display: none !important;
}
@media (max-width: 768px) {
  .footer-wrap {
    align-items: center !important;
  }
  .footer-brandline {
    flex-wrap: wrap;
  }
}


/* v15 hero preload + sharper favicon related tweaks */
.hero.hero-banner {
  background:
    linear-gradient(100deg, rgba(8, 30, 34, 0.34) 0%, rgba(8, 30, 34, 0.14) 45%, rgba(8, 30, 34, 0.06) 70%, rgba(8, 30, 34, 0.20) 100%),
    linear-gradient(180deg, rgba(8, 30, 34, 0.10), rgba(8, 30, 34, 0.22)) !important;
}

.hero.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/hero.webp') center center / cover no-repeat;
  opacity: 0;
  transform: scale(1.025);
  filter: saturate(1.02);
  transition: opacity .7s ease, transform 1.2s ease;
  will-change: opacity, transform;
}

.hero.hero-banner.is-loaded::before {
  opacity: 1;
  transform: scale(1);
}

.hero.hero-banner > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero-banner::before {
    transition: opacity .01s linear, transform .01s linear;
  }
}


/* v16 gallery entrance animation */
.gallery-showcase {
  --gallery-ease: cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

.gallery-showcase .gallery-topbar,
.gallery-showcase .gallery-stage,
.gallery-showcase .gallery-strip {
  opacity: 0;
  transform: translateY(22px) scale(.985);
}

.gallery-showcase .gallery-stage {
  transform: translateY(26px) scale(.975);
  transform-origin: center;
}

.gallery-showcase .gallery-item {
  opacity: 0;
  transform: translateY(18px) scale(.94);
  transform-origin: center;
}

.gallery-showcase.is-visible .gallery-topbar {
  animation: galleryPanelEnter .72s var(--gallery-ease) .05s both;
}

.gallery-showcase.is-visible .gallery-stage {
  animation: galleryHeroPhotoEnter .86s var(--gallery-ease) .16s both;
}

.gallery-showcase.is-visible .gallery-strip {
  animation: galleryPanelEnter .72s var(--gallery-ease) .34s both;
}

.gallery-showcase.is-visible .gallery-item:not([hidden]),
.gallery-showcase.is-filter-animating .gallery-item:not([hidden]) {
  animation: galleryThumbEnter .54s var(--gallery-ease) both;
}

.gallery-showcase.is-visible .gallery-item:nth-child(1) { animation-delay: .42s; }
.gallery-showcase.is-visible .gallery-item:nth-child(2) { animation-delay: .47s; }
.gallery-showcase.is-visible .gallery-item:nth-child(3) { animation-delay: .52s; }
.gallery-showcase.is-visible .gallery-item:nth-child(4) { animation-delay: .57s; }
.gallery-showcase.is-visible .gallery-item:nth-child(5) { animation-delay: .62s; }
.gallery-showcase.is-visible .gallery-item:nth-child(6) { animation-delay: .67s; }
.gallery-showcase.is-visible .gallery-item:nth-child(7) { animation-delay: .72s; }
.gallery-showcase.is-visible .gallery-item:nth-child(8) { animation-delay: .77s; }
.gallery-showcase.is-visible .gallery-item:nth-child(n + 9) { animation-delay: .82s; }

.gallery-showcase.is-filter-animating .gallery-item:not([hidden]) {
  animation-delay: calc(var(--thumb-index, 0) * 38ms);
}

.gallery-stage img {
  transform-origin: center;
}

.gallery-stage.is-swapping img {
  animation: galleryImageSwap .36s var(--gallery-ease) both;
}

@keyframes galleryPanelEnter {
  from { opacity: 0; transform: translateY(24px) scale(.985); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes galleryHeroPhotoEnter {
  0% { opacity: 0; transform: translateY(34px) scale(.965); filter: blur(10px); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes galleryThumbEnter {
  from { opacity: 0; transform: translateY(18px) scale(.92); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes galleryImageSwap {
  0% { opacity: .62; transform: scale(1.018); filter: blur(4px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-showcase .gallery-topbar,
  .gallery-showcase .gallery-stage,
  .gallery-showcase .gallery-strip,
  .gallery-showcase .gallery-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    filter: none !important;
  }

  .gallery-stage.is-swapping img {
    animation: none !important;
  }
}


/* v17 active section navigation + mobile responsiveness */
.nav-links a.is-active,
.nav-links a[aria-current="page"] {
  color: #fff !important;
  background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 70%, #0792a5 30%)) !important;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--green) 34%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .18);
  transform: translateY(-1px);
}

:root[data-theme="dark"] .nav-links a.is-active,
:root[data-theme="dark"] .nav-links a[aria-current="page"] {
  color: #062026 !important;
  box-shadow: 0 12px 30px color-mix(in srgb, var(--green) 24%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .22);
}

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

.site-header,
.nav-links,
.hero.hero-banner,
.gallery-showcase,
.booking-widget,
.calendar-panel,
.map-card {
  max-width: 100%;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  :root { --header-offset: 78px; }

  body {
    min-width: 320px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 12px;
  }

  .header-actions {
    min-width: 0;
  }

  .language-toggle {
    min-width: 66px;
    padding-inline: 9px;
  }

  .lang-globe {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .theme-toggle,
  .menu-toggle {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .nav-links {
    inset: 72px 10px auto 10px;
    gap: 8px;
    padding: 12px;
    border-radius: 20px;
  }

  .nav-links a {
    font-size: 15px;
    min-height: 46px;
  }

  .container {
    width: min(100% - 24px, 1160px);
  }

  .hero.hero-banner {
    min-height: auto !important;
    padding: max(84px, calc(var(--header-offset) + 16px)) 12px 24px !important;
    margin-bottom: 44px !important;
    border-radius: 0 0 24px 24px !important;
  }

  .hero-shell {
    min-height: auto !important;
  }

  .hero-panel {
    padding: 20px 16px !important;
    border-radius: 22px !important;
  }

  .hero h1 {
    font-size: clamp(40px, 16vw, 58px) !important;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-info span {
    min-width: 0;
    flex: unset;
  }

  .section-head,
  .availability-head {
    margin-bottom: 16px;
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px) !important;
    line-height: 1.04;
  }

  .gallery-showcase {
    padding: 14px !important;
    border-radius: 20px !important;
  }

  .gallery-topbar {
    gap: 12px;
  }

  .gallery-filters,
  .gallery-strip {
    margin-inline: -2px;
    padding-bottom: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .gallery-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .gallery-stage img {
    aspect-ratio: 4 / 3;
  }

  .gallery-edge-nav {
    width: 40px !important;
    height: 40px !important;
  }

  .gallery-edge-prev { left: 8px !important; }
  .gallery-edge-next { right: 8px !important; }

  .gallery-strip {
    grid-auto-columns: 92px !important;
    gap: 8px !important;
  }

  .feature-section,
  .details-section,
  .availability-section,
  .location-section {
    padding-top: 48px !important;
    padding-bottom: 54px !important;
  }

  .feature-grid article,
  .detail-card,
  .booking-widget,
  .calendar-panel,
  .map-card {
    border-radius: 20px !important;
  }

  .booking-widget,
  .calendar-panel {
    padding: 18px !important;
  }

  .booking-price strong {
    font-size: clamp(24px, 8vw, 34px) !important;
  }

  .booking-field,
  .booking-submit {
    min-height: 52px;
  }

  .booking-contact-line {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .booking-contact-line strong {
    text-align: left;
    font-size: 14px;
    line-height: 1.35;
  }

  html[dir="rtl"] .booking-contact-line strong {
    text-align: right;
  }

  .booking-contact-icons,
  .booking-contact-icon-wrap {
    min-width: 50px;
  }

  .calendar-toolbar {
    grid-template-columns: 38px 1fr 38px;
    gap: 6px;
  }

  .calendar-month-title {
    font-size: 18px;
    text-align: center;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 2px !important;
  }

  .calendar-weekdays {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .calendar-day {
    min-height: 48px !important;
    padding: 4px 1px 3px !important;
    border-radius: 10px !important;
  }

  .calendar-day-number {
    font-size: 14px !important;
  }

  .calendar-day-price {
    max-width: 100%;
    font-size: 9px !important;
    letter-spacing: -0.055em !important;
    transform: scale(.9) !important;
  }

  .availability-legend {
    gap: 10px;
  }

  .availability-legend span {
    font-size: 13px;
  }

  .availability-legend i {
    width: 16px;
    height: 16px;
    border-radius: 5px;
  }

  .calendar-clear {
    width: 100%;
    justify-content: center;
  }

  .guest-popover {
    min-width: 0;
    width: 100%;
    left: 0;
    right: 0;
  }

  .location-wrap {
    gap: 18px;
  }

  .map-card,
  .villa-map {
    min-height: 300px !important;
    height: 300px !important;
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 36px !important;
    height: 36px !important;
    flex-basis: 36px !important;
  }

  .header-actions {
    gap: 5px;
  }

  .utility-btn {
    padding-inline: 8px;
  }

  .lang-current {
    min-width: 18px;
    font-size: 12px;
  }

  .hero-panel {
    padding-inline: 14px !important;
  }

  .quick-info {
    grid-template-columns: 1fr;
  }

  .gallery-stage-tools {
    gap: 8px;
  }

  .calendar-panel {
    padding-inline: 12px !important;
  }

  .calendar-day {
    min-height: 44px !important;
    border-radius: 9px !important;
  }

  .calendar-day-number {
    font-size: 13px !important;
  }

  .calendar-day-price {
    font-size: 8px !important;
    transform: scale(.86) !important;
  }

  .booking-contact-line {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-contact-icons,
  .booking-contact-icon-wrap {
    min-width: 0;
  }
}

@media (hover: none) and (pointer: coarse) {
  .detail-card:hover,
  .nearby-list span:hover,
  .booking-widget:hover,
  .calendar-panel:hover {
    transform: none !important;
  }
}

/* v18 persistent top navigation fix */
.site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: 100% !important;
  z-index: 1200 !important;
  transform: translateZ(0);
  will-change: transform;
}

.scroll-progress {
  z-index: 1300 !important;
}

.lang-menu,
.nav-links {
  z-index: 1201;
}

@media (max-width: 1060px) {
  .nav-links {
    position: fixed !important;
    top: calc(var(--header-offset) - 8px) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    left: max(14px, env(safe-area-inset-left)) !important;
    bottom: auto !important;
  }
}

@media (max-width: 720px) {
  .nav-links {
    top: calc(var(--header-offset) - 6px) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    left: max(10px, env(safe-area-inset-left)) !important;
  }
}


/* v19 premium interaction polish: glass header, animated active nav, price info action bar, back-to-top, feature motion */
.site-header {
  transition: min-height .28s ease, padding .28s ease, background .28s ease, box-shadow .28s ease, border-color .28s ease, backdrop-filter .28s ease;
}

.site-header .brand-mark,
.nav-links a,
.utility-btn,
.menu-toggle {
  transition: transform .24s ease, width .24s ease, height .24s ease, min-height .24s ease, padding .24s ease, background .24s ease, color .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
  background: color-mix(in srgb, var(--paper) 58%, transparent) !important;
  border-bottom-color: color-mix(in srgb, var(--green) 18%, var(--line));
  box-shadow: 0 14px 42px color-mix(in srgb, var(--ink) 13%, transparent);
  backdrop-filter: blur(24px) saturate(1.28);
  -webkit-backdrop-filter: blur(24px) saturate(1.28);
}

.site-header.is-scrolled .brand-mark {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  box-shadow: 0 9px 22px color-mix(in srgb, var(--green) 24%, transparent);
}

.site-header.is-scrolled .nav-links a,
.site-header.is-scrolled .utility-btn {
  min-height: 38px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.site-header.is-scrolled .menu-toggle {
  min-height: 38px;
}

.nav-links {
  position: relative;
}

.nav-links::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  top: 0;
  width: var(--nav-active-w, 0px);
  height: var(--nav-active-h, 0px);
  border-radius: 999px;
  opacity: 0;
  transform: translate3d(var(--nav-active-x, 0px), var(--nav-active-y, 0px), 0) scale(.92);
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.65), transparent 32%),
    linear-gradient(135deg, #80ffe9, #18c6d2 48%, #78e2c0);
  box-shadow: 0 13px 32px rgba(24, 198, 210, .30), inset 0 0 0 1px rgba(255,255,255,.36);
  pointer-events: none;
  transition: transform .36s cubic-bezier(.2,.8,.2,1), width .36s cubic-bezier(.2,.8,.2,1), height .36s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}

.nav-links.has-active::before {
  opacity: 1;
  transform: translate3d(var(--nav-active-x, 0px), var(--nav-active-y, 0px), 0) scale(1);
}

.nav-links > a {
  position: relative;
  z-index: 1;
}

.nav-links.has-active > a.is-active,
.nav-links.has-active > a[aria-current="page"] {
  color: #073239 !important;
  background: transparent !important;
  box-shadow: none !important;
}

:root[data-theme="dark"] .site-header.is-scrolled {
  background: color-mix(in srgb, #101e1f 70%, transparent) !important;
}

:root[data-theme="dark"] .nav-links.has-active > a.is-active,
:root[data-theme="dark"] .nav-links.has-active > a[aria-current="page"] {
  color: #052328 !important;
}

.mobile-action-bar {
  position: fixed;
  left: max(14px, env(safe-area-inset-left));
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 1180;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--paper) 76%, transparent);
  box-shadow: 0 18px 54px color-mix(in srgb, var(--ink) 20%, transparent);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.mobile-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 18px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.mobile-action:active {
  transform: scale(.98);
}

.mobile-action-info {
  color: #fff;
  background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 60%, var(--aqua)));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--green) 28%, transparent);
}

.mobile-action-info::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid currentColor;
  box-shadow: inset 0 6px 0 -4px currentColor;
}

.back-to-top {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1170;
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 62%, var(--aqua)));
  box-shadow: 0 16px 38px color-mix(in srgb, var(--green) 32%, transparent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.92);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease, box-shadow .22s ease;
}

.back-to-top svg {
  width: 21px;
  height: 21px;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 20px 44px color-mix(in srgb, var(--green) 42%, transparent);
}

.feature-grid article {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform .34s cubic-bezier(.2,.8,.2,1), background .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.feature-grid article::before,
.feature-grid article::after {
  content: "";
  position: absolute;
  pointer-events: none;
  transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .28s ease;
}

.feature-grid article::before {
  right: 18px;
  top: 18px;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  opacity: .56;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.84), transparent 29%),
    linear-gradient(135deg, rgba(128,255,233,.48), rgba(255,255,255,.1));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 12px 30px rgba(0,0,0,.12);
}

.feature-grid article::after {
  inset: auto -48px -58px auto;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  opacity: .18;
  background: radial-gradient(circle, rgba(128,255,233,.72), transparent 68%);
}

.feature-grid article:hover {
  transform: translateY(-10px) rotateX(1deg) rotateY(-1deg) !important;
  border-color: rgba(128,255,233,.38);
  background: rgba(255,255,255,.16) !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(255,255,255,.08) !important;
}

.feature-grid article:hover::before {
  opacity: .95;
  transform: translateY(-4px) rotate(8deg) scale(1.1);
}

.feature-grid article:hover::after {
  opacity: .32;
  transform: translate(-10px, -8px) scale(1.15);
}

.feature-number {
  position: relative;
  z-index: 1;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: auto !important;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  transition: transform .28s ease, background .28s ease, color .28s ease;
}

.feature-number::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #80ffe9;
  box-shadow: 0 0 16px #80ffe9;
}

.feature-grid article:hover .feature-number {
  color: #fff;
  background: rgba(128,255,233,.18);
  transform: translateY(-2px) scale(1.04);
}

.feature-grid article > div {
  position: relative;
  z-index: 1;
}

@media (max-width: 1060px) {
  .nav-links::before {
    display: none;
  }

  .nav-links.has-active > a.is-active,
  .nav-links.has-active > a[aria-current="page"] {
    color: #fff !important;
    background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 70%, #0792a5 30%)) !important;
    box-shadow: 0 12px 28px color-mix(in srgb, var(--green) 30%, transparent) !important;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .site-header.is-scrolled {
    min-height: 58px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .mobile-action-bar {
    display: grid;
  }

  .back-to-top {
    right: max(18px, env(safe-area-inset-right));
    bottom: calc(92px + env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .feature-grid article:hover {
    transform: none !important;
  }

  .feature-grid article:hover::before,
  .feature-grid article:hover::after,
  .feature-grid article:hover .feature-number {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header *,
  .nav-links::before,
  .mobile-action,
  .back-to-top,
  .feature-grid article,
  .feature-grid article::before,
  .feature-grid article::after,
  .feature-number {
    transition: none !important;
    animation: none !important;
  }
}


/* v20 smoother menu transition: prevents active indicator stutter during section changes */
@media (min-width: 1061px) {
  .nav-links {
    contain: layout paint;
  }

  .nav-links::before {
    will-change: transform, opacity;
    transition:
      transform .22s cubic-bezier(.22, .61, .36, 1),
      opacity .14s ease,
      width .16s ease,
      height .16s ease !important;
  }

  .nav-links.has-active > a.is-active,
  .nav-links.has-active > a[aria-current="page"] {
    transform: translateZ(0) !important;
  }

  .site-header.is-scrolled .nav-links::before {
    transition-duration: .18s, .12s, .12s, .12s !important;
  }
}

/* v21 floating price info bar: visible on mobile and desktop */
@media (min-width: 721px) {
  .mobile-action-bar {
    display: grid;
    left: auto;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    width: min(250px, calc(100vw - 48px));
    grid-template-columns: 1fr;
    gap: 0;
    padding: 9px;
    border-radius: 26px;
    background: color-mix(in srgb, var(--paper) 80%, transparent);
    box-shadow: 0 20px 60px color-mix(in srgb, var(--ink) 18%, transparent);
  }

  .mobile-action {
    min-height: 50px;
    padding-inline: 18px;
    white-space: nowrap;
  }

  .mobile-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px color-mix(in srgb, var(--green) 26%, transparent);
  }

  .back-to-top {
    right: max(28px, env(safe-area-inset-right));
    bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 1180px) {
  .mobile-action-bar {
    width: 270px;
  }
}

/* v23 price info floating bar: prevent long translations from overflowing */
.mobile-action-bar {
  box-sizing: border-box;
  max-width: calc(100vw - 28px - env(safe-area-inset-left) - env(safe-area-inset-right));
}

.mobile-action {
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
  overflow-wrap: normal;
}

@media (min-width: 721px) {
  .mobile-action-bar {
    width: fit-content;
    min-width: 248px;
    max-width: min(390px, calc(100vw - 48px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  }

  .mobile-action {
    padding-inline: 16px;
  }
}

@media (min-width: 1180px) {
  .mobile-action-bar {
    width: fit-content;
    min-width: 270px;
  }
}

/* v28 readability polish: stronger contrast for the floating price info button */
.mobile-action-bar {
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(11, 168, 154, .28) !important;
  box-shadow:
    0 20px 54px rgba(5, 34, 38, .24),
    inset 0 1px 0 rgba(255, 255, 255, .92) !important;
}

:root[data-theme="dark"] .mobile-action-bar {
  background: rgba(7, 23, 27, .92) !important;
  border-color: rgba(128, 255, 233, .32) !important;
  box-shadow:
    0 20px 54px rgba(0, 0, 0, .44),
    inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.mobile-action-info {
  color: #fff !important;
  background:
    linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 62%, var(--aqua))) !important;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent) !important;
  box-shadow:
    0 16px 38px color-mix(in srgb, var(--green) 32%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, .16) !important;
  font-size: clamp(15px, 1.45vw, 16px) !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  text-shadow: none !important;
}

.mobile-action-info::before {
  width: 19px !important;
  height: 19px !important;
  border-width: 2.5px !important;
  flex: 0 0 auto !important;
}

.mobile-action-info:hover {
  filter: saturate(1.06) contrast(1.03);
}

@media (max-width: 720px) {
  .mobile-action-bar {
    padding: 7px !important;
    border-radius: 22px !important;
  }

  .mobile-action-info {
    min-height: 52px !important;
    padding-inline: 14px !important;
    font-size: 15px !important;
  }
}


/* Local gallery images: keep mixed photo ratios clean in fixed site frames. */
.gallery-stage img,
.gallery-item img {
  object-fit: cover;
  object-position: center center;
}
.gallery-modal img {
  object-fit: contain;
}

/* v21 centered contact actions */
.booking-contact-line {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 14px;
}

.booking-contact-icons,
.booking-contact-icon-wrap {
  margin-inline: auto;
}

.booking-contact-body,
.booking-contact-whatsapp .booking-contact-body {
  width: 100%;
  flex: 0 1 auto;
  justify-items: center;
  text-align: center;
}

.booking-contact-line strong,
html[dir="rtl"] .booking-contact-line strong,
html[dir="rtl"] .booking-contact-label {
  text-align: center;
}

.booking-contact-whatsapp .booking-contact-cta,
html[dir="rtl"] .booking-contact-whatsapp .booking-contact-cta {
  align-self: center;
  justify-content: center;
  margin-inline-start: 0;
  margin-inline-end: 0;
}


/* Compact guest reviews */
.reviews-section {
  padding: 58px 0 64px;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--green) 10%, transparent), transparent 28%),
    var(--bg);
}
.reviews-compact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.reviews-summary-block { min-width: 0; }
.reviews-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
}
.reviews-title-row h2,
.reviews-modal-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.055em;
  line-height: 1;
}
.reviews-intro {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}
.reviews-score-line,
.reviews-modal-score {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 850;
  white-space: nowrap;
}
.reviews-score-line strong,
.reviews-modal-score strong { font-size: clamp(22px, 3vw, 31px); }
.reviews-modal-score strong { font-size: 22px; }
.reviews-score-star { color: #ff9d3f; }
.reviews-score-line span:last-child,
.reviews-modal-score span:last-child {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.reviews-all-button,
.review-sort-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid color-mix(in srgb, var(--green) 26%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 92%, #ffffff);
  color: var(--green-dark, var(--green));
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(20, 35, 36, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.reviews-all-button { padding: 0 22px; flex: 0 0 auto; }
.reviews-all-button svg,
.review-sort-toggle svg { width: 18px; height: 18px; }
.reviews-all-button:hover,
.review-sort-toggle:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--green) 46%, var(--line));
  box-shadow: 0 18px 42px rgba(20, 35, 36, 0.1);
}
.reviews-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.review-card {
  padding: 18px 20px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--paper) 88%, #ffffff);
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(20, 35, 36, 0.07);
}
.review-card--preview { min-height: 154px; }
.review-card-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: var(--ink);
  background: color-mix(in srgb, #e9fbff 88%, var(--paper));
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.02em;
}
.review-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}
.review-rating span { color: #ff9d3f; }
.review-meta { min-width: 0; }
.review-meta h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-meta time {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 750;
}
.review-text {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.58;
}
.review-card--preview .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reviews-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 750;
}
.reviews-note::before {
  content: "i";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}
.reviews-modal[hidden] { display: none; }
.reviews-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 28px;
}
.reviews-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 22, 0.48);
  backdrop-filter: blur(6px);
}
.reviews-modal-panel {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 44px));
  max-height: min(86vh, 820px);
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--paper) 96%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  box-shadow: 0 34px 100px rgba(10, 24, 29, 0.28);
  outline: none;
}
.reviews-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.reviews-modal-score { margin-top: 12px; }
.reviews-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.reviews-modal-close:hover { background: color-mix(in srgb, var(--line) 54%, transparent); }
.reviews-modal-close svg { width: 24px; height: 24px; }
.reviews-modal-toolbar {
  position: sticky;
  top: -28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0 14px;
  background: color-mix(in srgb, var(--paper) 96%, #ffffff);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.reviews-modal-count {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.review-sort { position: relative; flex: 0 0 auto; }
.review-sort-toggle {
  min-height: 42px;
  padding: 0 16px;
  box-shadow: none;
  font-size: 14px;
}
.review-sort-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  min-width: 210px;
  padding: 8px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--paper) 98%, #ffffff);
  border: 1px solid var(--line);
  box-shadow: 0 22px 56px rgba(10, 24, 29, 0.16);
}
.review-sort-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: start;
  cursor: pointer;
}
.review-sort-menu button:hover,
.review-sort-menu button[aria-current="true"] {
  color: var(--green-dark, var(--green));
  background: color-mix(in srgb, #e9fbff 80%, transparent);
}
.reviews-modal-list {
  display: grid;
  gap: 12px;
  padding-top: 14px;
}
body.reviews-modal-open { overflow: hidden; }
:root[data-theme="dark"] .reviews-all-button,
:root[data-theme="dark"] .review-sort-toggle,
:root[data-theme="dark"] .review-card,
:root[data-theme="dark"] .reviews-modal-panel,
:root[data-theme="dark"] .reviews-modal-toolbar,
:root[data-theme="dark"] .review-sort-menu {
  background: color-mix(in srgb, var(--paper) 88%, #142326);
}
:root[data-theme="dark"] .review-avatar {
  background: color-mix(in srgb, var(--paper) 82%, #254245);
}
html[dir="rtl"] .reviews-compact,
html[dir="rtl"] .reviews-title-row,
html[dir="rtl"] .review-card-top,
html[dir="rtl"] .reviews-modal-header,
html[dir="rtl"] .reviews-modal-toolbar { direction: rtl; }
@media (max-width: 900px) {
  .reviews-compact {
    align-items: stretch;
    flex-direction: column;
  }
  .reviews-all-button { width: 100%; }
  .reviews-preview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .reviews-section { padding: 42px 0 50px; }
  .reviews-title-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .reviews-score-line strong { font-size: 26px; }
  .review-card { padding: 16px; border-radius: 20px; }
  .review-card--preview { min-height: 0; }
  .review-card-top { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .review-avatar { width: 40px; height: 40px; border-radius: 14px; }
  .reviews-modal {
    align-items: end;
    padding: 0;
  }
  .reviews-modal-panel {
    width: 100%;
    max-height: 88svh;
    padding: 22px 16px 18px;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
  }
  .reviews-modal-toolbar {
    top: -22px;
    flex-direction: column;
    align-items: stretch;
  }
  .review-sort-toggle { width: 100%; justify-content: space-between; }
  .review-sort-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: 0 12px 30px rgba(10, 24, 29, 0.12);
  }
  .reviews-modal-list { gap: 10px; }
}
