/*
 * Gala Guests booking site.
 * The tokens below are the main site's own (galaguests.com, :root), so the two read as one website.
 * Served as is from public/assets, no build step (as galacrm).
 */

:root {
  --background: 210 20% 98%;
  --foreground: 205 83% 12%;
  --card: 0 0% 100%;
  --primary: 14 100% 54%;
  --primary-foreground: 0 0% 100%;
  --primary-hover: 14 95% 46%;
  --secondary: 205 83% 12%;
  --secondary-foreground: 0 0% 100%;
  --secondary-light: 207 50% 20%;
  --muted: 210 15% 95%;
  --muted-foreground: 210 10% 46%;
  --border: 210 15% 91%;
  --destructive: 0 84% 60%;
  --success: 142 71% 36%;
  --whatsapp: 142 70% 49%;
  --navy: 205 83% 12%;
  --navy-deep: 207 90% 8%;
  --radius: .875rem;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-card: 0 2px 20px -4px hsl(205 83% 12% / .06);
  --shadow-card-hover: 0 16px 48px -12px hsl(205 83% 12% / .12);
  --shadow-orange: 0 8px 30px -6px hsl(14 100% 54% / .3);
  --nav-solid: rgba(13, 27, 42, .92);
  --hero: linear-gradient(180deg, #0a1a2a 0%, #0f2336 100%);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid hsl(var(--border)); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; background: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: hsl(var(--primary)); color: #fff; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { flex-shrink: 0; }

.container { width: 100%; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1400px) { .container { max-width: 1400px; } }
.container-narrow { max-width: 1120px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 8px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap;
  transition: all .3s ease; cursor: pointer; text-align: center;
}
.btn .icon { width: 16px; height: 16px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn-primary { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: hsl(var(--primary-hover)); transform: scale(1.05); }
.btn-primary .icon-arrow { transition: transform .3s ease; }
.btn-primary:hover .icon-arrow { transform: translateX(4px); }
.btn-outline-light { border: 2px solid #fff; color: #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: #fff; }
.btn-outline { border: 2px solid hsl(var(--secondary)); color: hsl(var(--secondary)); background: hsl(var(--background)); }
.btn-outline:hover { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: #fff; }
.btn-ghost { color: hsl(var(--secondary)); border: 1px solid hsl(var(--border)); background: hsl(var(--card)); }
.btn-ghost:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.btn-whatsapp { background: hsl(var(--whatsapp)); color: #fff; }
.btn-whatsapp:hover { filter: brightness(.95); transform: scale(1.05); }
.btn-lg { height: 52px; padding: 0 40px; font-size: 16px; font-weight: 600; line-height: 24px; }
.btn-md { height: 48px; padding: 0 24px; font-size: 15px; font-weight: 600; }
.btn-block { width: 100%; }
.btn-link { color: hsl(var(--primary)); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Navigation (copy of the main site's) ---------- */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all .5s ease; background: transparent; }
.site-nav.is-solid, .site-nav.is-scrolled, .site-nav.is-open { background: var(--nav-solid); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--shadow-card); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
.nav-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); transition: all .5s ease; }
.site-nav.is-scrolled .nav-logo img, .site-nav.is-solid .nav-logo img { height: 28px; }
.nav-links { display: none; align-items: center; gap: 32px; white-space: nowrap; }
.nav-link { position: relative; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); transition: all .3s ease; }
.nav-link:hover { color: #fff; }
.nav-link.is-active { color: hsl(var(--primary)); }
.nav-link.is-active::after { content: ""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 6px; height: 6px; border-radius: 999px; background: hsl(var(--primary)); }
.nav-actions { display: none; align-items: center; gap: 12px; }
.nav-toggle { color: #fff; display: inline-flex; padding: 0; }
.nav-toggle .icon { width: 24px; height: 24px; }
.mobile-menu { background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); padding: 0 24px 24px; animation: fade-in .3s ease-out; }
.mobile-menu a.m-link { display: block; padding: 12px 0; font-size: 14px; font-weight: 500; color: hsl(var(--secondary)); }
.mobile-menu a.m-link:hover, .mobile-menu a.m-link.is-active { color: hsl(var(--primary)); }
.mobile-menu .m-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
@media (min-width: 1024px) {
  .nav-links, .nav-actions { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (the navy band of the main site's collection page) ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero); color: #fff; padding: calc(var(--nav-h) + 56px) 0 56px; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; }
.hero-glow::before { content: ""; position: absolute; top: 50%; left: 50%; width: 700px; height: 700px; transform: translate(-50%, -50%); border-radius: 999px; background: hsl(var(--primary) / .15); filter: blur(160px); }
.hero-glow::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 256px; background: linear-gradient(to top, rgba(0,0,0,.4), transparent); }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 8px 20px; margin-bottom: 28px; }
.pill .dot { width: 8px; height: 8px; border-radius: 999px; background: hsl(var(--primary)); animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
.pill span:last-child { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9); letter-spacing: .025em; }
@keyframes pulse { 50% { opacity: .5; } }
.hero-title { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 20px; }
.hero-title .accent, .accent { color: hsl(var(--primary)); }
.hero-sub { color: #d1d5db; font-size: 18px; line-height: 1.6; max-width: 600px; margin: 0 auto 24px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 36px; }
.trust-row span + span::before { content: "·"; color: rgba(255,255,255,.3); margin-right: 16px; }
.hero-compact { padding: calc(var(--nav-h) + 28px) 0 28px; }

/* ---------- Search ---------- */
.search { position: relative; max-width: 960px; margin: 0 auto; background: hsl(var(--card)); color: hsl(var(--foreground)); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); padding: 8px; display: grid; grid-template-columns: 1fr; gap: 4px; text-align: left; }
.search-field { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; cursor: pointer; transition: background .2s; min-width: 0; }
.search-field:hover, .search-field.is-open { background: hsl(var(--muted)); }
.search-field .icon { color: hsl(var(--primary)); width: 20px; height: 20px; }
.search-field label, .search-field .sf-label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: hsl(var(--muted-foreground)); line-height: 1.2; }
.search-field select, .search-field .sf-value { display: block; width: 100%; border: 0; background: transparent; font-size: 15px; font-weight: 600; color: hsl(var(--foreground)); padding: 2px 0 0; appearance: none; -webkit-appearance: none; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.search-field select:focus { outline: none; }
.sf-value.is-placeholder { color: hsl(var(--muted-foreground)); font-weight: 500; }
.search-btn { height: 56px; border-radius: 14px; }
.search-divider { display: none; }
@media (min-width: 900px) {
  .search { grid-template-columns: 1.2fr 1.5fr 1fr auto; border-radius: 999px; padding: 8px 8px 8px 12px; gap: 0; align-items: center; }
  .search-field { border-radius: 999px; padding: 10px 20px; }
  .search-btn { height: 56px; border-radius: 999px; padding: 0 28px; }
}

/* Pop-overs (dates, guests) */
.popover { position: absolute; z-index: 40; top: calc(100% + 10px); left: 0; background: hsl(var(--card)); color: hsl(var(--foreground)); border: 1px solid hsl(var(--border)); border-radius: 20px; box-shadow: var(--shadow-card-hover); padding: 20px; cursor: default; }
.popover-guests { width: 300px; }
.popover-dates { width: min(720px, calc(100vw - 48px)); }
@media (max-width: 899px) { .popover { left: 0; right: 0; width: auto; } }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper + .stepper { margin-top: 16px; padding-top: 16px; border-top: 1px solid hsl(var(--border)); }
.stepper strong { display: block; font-size: 15px; }
.stepper small { color: hsl(var(--muted-foreground)); font-size: 13px; }
.stepper-ctrl { display: flex; align-items: center; gap: 12px; }
.stepper-ctrl button { width: 34px; height: 34px; border-radius: 999px; border: 1px solid hsl(var(--border)); display: inline-flex; align-items: center; justify-content: center; color: hsl(var(--secondary)); transition: all .2s; }
.stepper-ctrl button:hover:not(:disabled) { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.stepper-ctrl button:disabled { opacity: .35; cursor: not-allowed; }
.stepper-ctrl output { min-width: 20px; text-align: center; font-weight: 700; }
.popover-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid hsl(var(--border)); font-size: 14px; }
.popover-foot .hint { color: hsl(var(--muted-foreground)); }

/* ---------- Calendar (search, property page) ---------- */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-nav { width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid hsl(var(--border)); color: hsl(var(--secondary)); background: hsl(var(--card)); transition: all .2s; }
.cal-nav:hover:not(:disabled) { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-months { display: grid; grid-template-columns: 1fr; gap: 28px; }
.cal[data-months="2"] .cal-months { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 699px) { .cal[data-months="2"] .cal-months { grid-template-columns: 1fr; } .cal[data-months="2"] .cal-month:nth-child(2) { display: none; } }
.cal-title { text-align: center; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.cal-dow { text-align: center; font-size: 12px; font-weight: 600; color: hsl(var(--muted-foreground)); padding-bottom: 6px; }
.cal-day { position: relative; aspect-ratio: 1 / 1; min-height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; font-size: 14px; font-weight: 600; color: hsl(var(--foreground)); transition: background .15s, color .15s; line-height: 1.1; }
.cal-day small { font-size: 10px; font-weight: 500; color: hsl(var(--muted-foreground)); margin-top: 2px; }
.cal-day.is-empty { pointer-events: none; }
.cal-day:not(:disabled):not(.is-empty):hover { background: hsl(var(--muted)); }
.cal-day:disabled, .cal-day.is-blocked { color: hsl(var(--muted-foreground) / .55); cursor: not-allowed; }
.cal-day.is-blocked span { text-decoration: line-through; }
.cal-day.is-blocked small { visibility: hidden; }
.cal-day.is-checkout-only { cursor: pointer; color: hsl(var(--foreground)); }
.cal-day.is-checkout-only span { text-decoration: none; }
.cal-day.is-today span { box-shadow: inset 0 -2px 0 hsl(var(--primary)); }
.cal-day.in-range { background: hsl(var(--primary) / .1); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: hsl(var(--primary)) !important; color: #fff; border-radius: 12px; }
.cal-day.is-start small, .cal-day.is-end small { color: rgba(255,255,255,.85); }
.cal-day.is-hover-range { background: hsl(var(--primary) / .07); border-radius: 0; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: 12px; color: hsl(var(--muted-foreground)); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.cal-legend .lg-free { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); }
.cal-legend .lg-sel { background: hsl(var(--primary)); }
.cal-legend .lg-off { background: hsl(var(--muted)); position: relative; }
.cal-legend .lg-off::after { content: ""; position: absolute; left: 1px; right: 1px; top: 50%; height: 1px; background: hsl(var(--muted-foreground)); }
.cal-msg { min-height: 20px; margin-top: 10px; font-size: 13px; color: hsl(var(--muted-foreground)); }
.cal-msg.is-error { color: hsl(var(--destructive)); }
.cal-loading { opacity: .5; pointer-events: none; }

/* ---------- Sections ---------- */
.section { padding: 56px 0 96px; }
.section-label { color: hsl(var(--primary)); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.section-title { font-size: 30px; letter-spacing: -.01em; color: hsl(var(--secondary)); }
@media (min-width: 768px) { .section-title { font-size: 40px; } }
.muted { color: hsl(var(--muted-foreground)); }

/* Results toolbar */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.toolbar h2 { font-size: 24px; }
.toolbar .count { font-size: 15px; color: hsl(var(--muted-foreground)); margin-top: 4px; }
.toolbar-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.select-pill { position: relative; }
.select-pill select { appearance: none; -webkit-appearance: none; height: 40px; border-radius: 999px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); padding: 0 38px 0 16px; font-size: 14px; font-weight: 500; color: hsl(var(--secondary)); cursor: pointer; }
.select-pill select:hover { border-color: hsl(var(--primary) / .5); }
.select-pill .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: hsl(var(--muted-foreground)); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 28px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 38px; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border-radius: 999px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); font-size: 14px; font-weight: 500; color: hsl(var(--secondary)); transition: all .2s; }
.chip:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.chip.is-active { background: hsl(var(--secondary)); border-color: hsl(var(--secondary)); color: #fff; }
.chip small { font-size: 12px; opacity: .6; }

/* ---------- Property cards ---------- */
.grid-cards { display: grid; grid-template-columns: 1fr; gap: 28px 24px; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1360px) { .grid-cards { grid-template-columns: repeat(4, 1fr); } }
.pcard { display: flex; flex-direction: column; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow .3s ease, transform .3s ease; }
.pcard:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: hsl(var(--muted)); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, hsl(var(--navy) / .45), transparent 45%); pointer-events: none; }
.pcard-badge { position: absolute; z-index: 1; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.95); color: hsl(var(--secondary)); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.pcard-badge .icon { color: hsl(var(--primary)); width: 13px; height: 13px; }
.pcard-free { position: absolute; z-index: 1; bottom: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; background: hsl(var(--success)); color: #fff; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 600; }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard-title { font-size: 17px; font-weight: 700; line-height: 1.3; color: hsl(var(--secondary)); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: hsl(var(--muted-foreground)); }
.pcard-specs span { display: inline-flex; align-items: center; gap: 6px; }
.pcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid hsl(var(--border)); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price-from { font-size: 13px; color: hsl(var(--muted-foreground)); }
.price-from strong { font-size: 18px; color: hsl(var(--secondary)); font-weight: 800; }
.pcard-cta { font-size: 13px; font-weight: 600; color: hsl(var(--primary)); display: inline-flex; align-items: center; gap: 4px; }

.empty { text-align: center; padding: 64px 24px; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 20px; }
.empty .icon-wrap { width: 64px; height: 64px; border-radius: 999px; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.empty h3 { font-size: 22px; margin-bottom: 8px; }
.empty p { color: hsl(var(--muted-foreground)); max-width: 480px; margin: 0 auto 20px; }
.empty .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid hsl(var(--border)); background: hsl(var(--card)); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: hsl(var(--secondary)); }
.pager a:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.pager .is-current { background: hsl(var(--secondary)); border-color: hsl(var(--secondary)); color: #fff; }
.pager .is-disabled { opacity: .4; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5; border: 1px solid; }
.alert .icon { width: 18px; height: 18px; margin-top: 1px; }
.alert-error { background: hsl(var(--destructive) / .06); border-color: hsl(var(--destructive) / .25); color: hsl(0 70% 38%); }
.alert-info { background: hsl(var(--primary) / .06); border-color: hsl(var(--primary) / .2); color: hsl(var(--secondary)); }
.alert-info .icon { color: hsl(var(--primary)); }
.alert-success { background: hsl(var(--success) / .08); border-color: hsl(var(--success) / .25); color: hsl(142 70% 22%); }

/* ---------- Property page ---------- */
.page-top { padding-top: calc(var(--nav-h) + 28px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: hsl(var(--muted-foreground)); margin-bottom: 16px; }
.crumbs a:hover { color: hsl(var(--primary)); }
.crumbs .icon { width: 14px; height: 14px; opacity: .6; }
.prop-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.prop-title { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; color: hsl(var(--secondary)); }
.prop-where { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: hsl(var(--muted-foreground)); font-size: 15px; }
.prop-where .icon { color: hsl(var(--primary)); }

.gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 1fr; border-radius: 20px; overflow: hidden; }
.gallery button { position: relative; display: block; overflow: hidden; background: hsl(var(--muted)); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.gallery button:hover img { transform: scale(1.03); filter: brightness(.92); }
.gallery .g-main { aspect-ratio: 4 / 3; }
.gallery .g-side { display: none; }
.gallery .gallery-all { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: inline-flex; overflow: visible; background: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / .18); }
.gallery .gallery-all:hover { background: #fff; color: hsl(var(--primary)); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; }
  .gallery .g-main { grid-row: span 2; aspect-ratio: auto; }
  .gallery .g-side { display: block; }
  .gallery.has-1 { grid-template-columns: 1fr; }
  .gallery.has-2 { grid-template-columns: 2fr 1fr; }
  .gallery.has-2 .g-side { grid-row: span 2; }
  .gallery.has-3 { grid-template-columns: 2fr 1fr; }
}
@media (min-width: 1200px) { .gallery { grid-template-rows: 250px 250px; } }

.prop-layout { display: grid; grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
@media (min-width: 1024px) { .prop-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 14px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.fact .icon-wrap { width: 40px; height: 40px; border-radius: 12px; background: hsl(var(--primary) / .1); color: hsl(var(--primary)); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fact strong { display: block; font-size: 16px; line-height: 1.2; }
.fact small { font-size: 12px; color: hsl(var(--muted-foreground)); }
.block { padding: 36px 0; border-bottom: 1px solid hsl(var(--border)); }
.block:last-child { border-bottom: 0; }
.block h2 { font-size: 22px; color: hsl(var(--secondary)); margin-bottom: 16px; }
.block-sub { color: hsl(var(--muted-foreground)); font-size: 14px; margin: -8px 0 18px; }
.prose { color: hsl(var(--foreground) / .85); font-size: 15.5px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose.is-clamped { max-height: 11.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.amenities { display: grid; grid-template-columns: 1fr; gap: 12px 24px; }
@media (min-width: 560px) { .amenities { grid-template-columns: repeat(2, 1fr); } }
.amenities li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.amenities li .icon { color: hsl(var(--primary)); width: 18px; height: 18px; }
.rules { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rule { display: flex; gap: 12px; align-items: flex-start; }
.rule .icon { color: hsl(var(--primary)); width: 20px; height: 20px; margin-top: 2px; }
.rule strong { display: block; font-size: 14px; }
.rule span { font-size: 14px; color: hsl(var(--muted-foreground)); }
.map { height: 360px; border-radius: 20px; overflow: hidden; border: 1px solid hsl(var(--border)); background: hsl(var(--muted)); z-index: 0; }

/* Booking card */
.book-card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 20px; box-shadow: var(--shadow-card-hover); padding: 24px; position: relative; }
@media (min-width: 1024px) { .book-aside { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; } }
.book-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.book-price strong { font-size: 26px; font-weight: 800; color: hsl(var(--secondary)); letter-spacing: -.01em; }
.book-price span { color: hsl(var(--muted-foreground)); font-size: 14px; }
.book-fields { border: 1px solid hsl(var(--border)); border-radius: 14px; position: relative; }
.book-dates { display: grid; grid-template-columns: 1fr 1fr; }
.book-field { display: block; width: 100%; text-align: left; padding: 10px 14px; transition: background .2s; }
.book-field:hover { background: hsl(var(--muted) / .6); }
.book-dates .book-field:first-child { border-right: 1px solid hsl(var(--border)); }
.book-guests { border-top: 1px solid hsl(var(--border)); }
.book-field .bf-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.book-field .bf-value { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }
.book-field .bf-value.is-placeholder { color: hsl(var(--muted-foreground)); font-weight: 500; }
.book-fields .popover { left: -1px; right: -1px; width: auto; }
.book-fields .popover-dates { left: auto; right: -1px; width: min(680px, calc(100vw - 48px)); }
@media (max-width: 1023px) { .book-fields .popover-dates { left: -1px; right: -1px; width: auto; } }
.quote { margin-top: 18px; }
.quote-lines { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.quote-lines li { display: flex; justify-content: space-between; gap: 16px; }
.quote-lines li span:first-child { color: hsl(var(--foreground) / .8); }
.quote-lines li.is-discount span:last-child { color: hsl(var(--success)); }
.quote-total { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid hsl(var(--border)); font-size: 17px; font-weight: 800; color: hsl(var(--secondary)); }
.quote-note { margin-top: 14px; font-size: 13px; color: hsl(var(--muted-foreground)); text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; }
.quote-note .icon { color: hsl(var(--primary)); }
.book-cta { margin-top: 18px; }
.skeleton { background: linear-gradient(90deg, hsl(var(--muted)) 0%, hsl(var(--border)) 50%, hsl(var(--muted)) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 8px; height: 14px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.book-help { margin-top: 16px; text-align: center; font-size: 13px; color: hsl(var(--muted-foreground)); }
.book-help a { color: hsl(var(--success)); font-weight: 600; }

/* Mobile bottom bar on the property page */
.book-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: hsl(var(--card)); border-top: 1px solid hsl(var(--border)); box-shadow: 0 -8px 30px -10px hsl(var(--navy) / .2); padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.book-bar strong { display: block; font-size: 17px; font-weight: 800; }
.book-bar small { color: hsl(var(--muted-foreground)); font-size: 12px; }
@media (min-width: 1024px) { .book-bar { display: none; } }
body.has-book-bar .wa-float { bottom: 96px; }
body.has-book-bar .to-top { bottom: 96px; }
@media (min-width: 1024px) { body.has-book-bar .wa-float, body.has-book-bar .to-top { bottom: 24px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5, 14, 24, .96); display: flex; flex-direction: column; }
.lightbox-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; color: #fff; font-size: 14px; }
.lightbox-top button { color: #fff; width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); }
.lightbox-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 64px 24px; min-height: 0; }
.lightbox-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lightbox-stage .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.lightbox-stage .lb-nav:hover { background: hsl(var(--primary)); }
.lightbox-stage .lb-prev { left: 12px; }
.lightbox-stage .lb-next { right: 12px; }
.lightbox-caption { text-align: center; color: rgba(255,255,255,.7); font-size: 14px; padding: 0 24px 20px; min-height: 40px; }
@media (max-width: 640px) { .lightbox-stage { padding: 0 8px 16px; } .lightbox-stage .lb-nav { width: 40px; height: 40px; } }

/* ---------- Booking steps (details, payment) ---------- */
.steps { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.6); }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps .n { width: 26px; height: 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.steps li.is-done .n { background: hsl(var(--success)); border-color: hsl(var(--success)); color: #fff; }
.steps li.is-current { color: #fff; font-weight: 600; }
.steps li.is-current .n { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: #fff; }
.steps .sep { width: 28px; height: 1px; background: rgba(255,255,255,.2); }
.flow { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .flow { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; } .flow .summary { position: sticky; top: calc(var(--nav-h) + 24px); } }
.panel { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 20px; box-shadow: var(--shadow-card); padding: 28px; }
@media (max-width: 640px) { .panel { padding: 20px; } }
.panel h2 { font-size: 22px; color: hsl(var(--secondary)); margin-bottom: 6px; }
.panel .lead { color: hsl(var(--muted-foreground)); font-size: 15px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: span 2; } }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: hsl(var(--secondary)); }
.field label .opt { font-weight: 400; color: hsl(var(--muted-foreground)); }
.input, .select, .textarea { display: block; width: 100%; height: 48px; padding: 0 16px; border: 1px solid hsl(var(--border)); border-radius: 12px; background: hsl(var(--card)); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a7581' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / .15); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: hsl(var(--destructive)); }
.field .err { display: block; margin-top: 6px; font-size: 13px; color: hsl(var(--destructive)); }
.field .help { display: block; margin-top: 6px; font-size: 13px; color: hsl(var(--muted-foreground)); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: hsl(var(--primary)); flex-shrink: 0; }
.check a { color: hsl(var(--primary)); font-weight: 600; }
.form-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.secure-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; font-size: 12px; color: hsl(var(--muted-foreground)); }
.secure-row span { display: inline-flex; align-items: center; gap: 6px; }
.secure-row .icon { color: hsl(var(--primary)); width: 13px; height: 13px; }

.summary .s-media { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid hsl(var(--border)); margin-bottom: 18px; }
.summary .s-media img { width: 96px; height: 76px; object-fit: cover; border-radius: 12px; flex-shrink: 0; background: hsl(var(--muted)); }
.summary .s-media strong { display: block; font-size: 16px; line-height: 1.3; color: hsl(var(--secondary)); }
.summary .s-media span { font-size: 13px; color: hsl(var(--muted-foreground)); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid hsl(var(--border)); }
.summary dt { color: hsl(var(--muted-foreground)); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .change { display: inline-flex; margin-top: 14px; }

#payment-element { min-height: 220px; }
.pay-error { margin-top: 16px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; }

/* ---------- Booking status page ---------- */
.status-card { text-align: center; padding: 40px 28px; }
.status-icon { width: 76px; height: 76px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.status-icon .icon { width: 36px; height: 36px; }
.status-icon.ok { background: hsl(var(--success) / .12); color: hsl(var(--success)); }
.status-icon.wait { background: hsl(var(--primary) / .12); color: hsl(var(--primary)); }
.status-icon.bad { background: hsl(var(--destructive) / .1); color: hsl(var(--destructive)); }
.status-card h1 { font-size: clamp(26px, 4vw, 36px); color: hsl(var(--secondary)); letter-spacing: -.02em; margin-bottom: 10px; }
.status-card p.lead { color: hsl(var(--muted-foreground)); font-size: 16px; max-width: 560px; margin: 0 auto 22px; }
.ref { display: inline-flex; align-items: center; gap: 10px; background: hsl(var(--muted)); border-radius: 999px; padding: 8px 18px; font-size: 14px; }
.ref strong { font-size: 16px; letter-spacing: .06em; }
.spinner { width: 36px; height: 36px; border-radius: 999px; border: 3px solid hsl(var(--primary) / .2); border-top-color: hsl(var(--primary)); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.next-steps { display: grid; grid-template-columns: 1fr; gap: 14px; text-align: left; margin-top: 8px; }
@media (min-width: 640px) { .next-steps { grid-template-columns: repeat(3, 1fr); } }
.next-steps li { background: hsl(var(--background)); border: 1px solid hsl(var(--border)); border-radius: 14px; padding: 16px; font-size: 14px; }
.next-steps li .icon { color: hsl(var(--primary)); width: 20px; height: 20px; margin-bottom: 8px; }
.next-steps li strong { display: block; margin-bottom: 4px; color: hsl(var(--secondary)); }
.next-steps li span { color: hsl(var(--muted-foreground)); }

/* ---------- Footer (copy of the main site's) ---------- */
.site-footer { background: hsl(var(--navy-deep)); color: #fff; padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer p.about { color: rgba(255,255,255,.45); font-size: 14px; line-height: 1.625; }
.site-footer p.about a { color: rgba(255,255,255,.6); }
.site-footer p.about a:hover { color: hsl(var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
.site-footer h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.f-links { display: flex; flex-direction: column; gap: 10px; }
.f-links a { font-size: 14px; color: rgba(255,255,255,.45); transition: color .2s; }
.f-links a:hover { color: hsl(var(--primary)); }
.f-contact { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: rgba(255,255,255,.45); }
.f-contact > * { display: flex; align-items: flex-start; gap: 8px; }
.f-contact a:hover { color: hsl(var(--primary)); }
.f-contact .icon { color: hsl(var(--primary)); margin-top: 3px; }
.f-contact .wa { color: rgba(255,255,255,.9); }
.f-contact .wa .icon { color: #22c55e; }
.f-contact .wa small { display: block; font-size: 12px; color: rgba(255,255,255,.6); }
.f-social { display: flex; gap: 12px; margin-bottom: 24px; }
.f-social a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); display: inline-flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: all .3s; }
.f-social a:hover { color: rgba(255,255,255,.9); border-color: hsl(var(--primary)); }
.f-social .icon { width: 20px; height: 20px; }
.f-wa { display: inline-flex; align-items: center; gap: 8px; background: hsl(var(--primary)); color: #fff; border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-orange); transition: all .3s; }
.f-wa:hover { background: hsl(var(--primary-hover)); transform: scale(1.05); }
.f-trust { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; font-size: 12px; color: rgba(255,255,255,.4); }
.f-trust span { display: inline-flex; align-items: center; gap: 6px; }
.f-trust .icon { color: hsl(var(--primary)); width: 12px; height: 12px; }
.f-bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: rgba(255,255,255,.3); }
.f-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.f-bottom a:hover { color: hsl(var(--primary)); }
@media (min-width: 640px) { .f-bottom { flex-direction: row; } }

/* Floating WhatsApp and back to top, as on the main site */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 46; width: 56px; height: 56px; border-radius: 999px; background: #22c55e; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px -8px rgba(34,197,94,.6); transition: transform .3s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 26px; height: 26px; fill: #fff; stroke: #fff; }
.to-top { position: fixed; right: 92px; bottom: 30px; z-index: 46; width: 44px; height: 44px; border-radius: 999px; background: hsl(var(--secondary)); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card-hover); opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { background: hsl(var(--primary)); }

/* Leaflet's own layers stay inside the map, under the fixed nav */
.leaflet-container { font-family: var(--font); }
.map { position: relative; isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
