/* VillaSpot — one stylesheet for the whole site. */
:root {
  --ink: #1b1916;
  --ink-2: #3a352e;
  --muted: #776f65;
  --line: #e9e2d7;
  --sand: #f6f1ea;
  --paper: #fffdf9;
  --gold: #b0844f;
  --gold-dark: #8f6a3c;
  --gold-soft: #f1e6d6;
  --wa: #1fb855;
  --wa-dark: #179a46;
  --danger: #b3261e;
  --ok: #1f7a46;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(27, 25, 22, .05), 0 8px 24px rgba(27, 25, 22, .07);
  --shadow-lg: 0 18px 50px rgba(27, 25, 22, .16);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px;
  --pre-h: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.sr-only, .hp { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; left: 0; top: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(640px, 100% - 40px); }
.center { text-align: center; justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 .6em; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.eyebrow-light { color: #f3e3c9; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; }
.rounded { border-radius: var(--radius); }
.nowrap { white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-size: .95rem; font-weight: 500; line-height: 1; cursor: pointer; text-decoration: none; transition: background .18s, color .18s, border-color .18s, transform .18s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .88rem; }
.btn-xs { min-height: 30px; padding: 0 12px; font-size: .8rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--ink); }
.link-arrow:hover { color: var(--gold-dark); }

/* Header */
/* No border here: a transparent border lets the overlay gradient repeat into it as a dark 1px line. */
.site-header { position: sticky; top: calc(-1 * var(--pre-h)); z-index: 50; background: rgba(255, 253, 249, .96); box-shadow: 0 1px 0 var(--line); transition: background .25s, box-shadow .25s, top .25s; }
.site-header.is-overlay { position: fixed; inset: 0 0 auto 0; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); box-shadow: none; }
.site-header.is-overlay.is-scrolled { top: calc(-1 * var(--pre-h)); }
.site-header.is-overlay:not(.is-scrolled) { color: #fff; }
.site-header.is-scrolled { background: rgba(255, 253, 249, .97); box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(0, 0, 0, .06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

/* Preheader: phone · WhatsApp · e-mail · language (like flyturtles.com) */
.preheader { height: var(--pre-h); font-size: .76rem; letter-spacing: .01em; background: rgba(38, 50, 56, .04); color: rgba(38, 50, 56, .75); box-shadow: inset 0 -1px 0 rgba(38, 50, 56, .06); }
.preheader-inner { height: 100%; display: flex; align-items: center; gap: 18px; }
.preheader a { display: inline-flex; align-items: center; gap: 6px; color: inherit; white-space: nowrap; }
.preheader a:hover { color: var(--gold-dark); }
.preheader .icon { width: 13px; height: 13px; opacity: .8; }
.preheader .pre-wa { padding: 2px 10px 2px 7px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 500; }
.preheader .pre-wa:hover { background: var(--wa-dark); color: #fff; }
.preheader .pre-wa .icon { opacity: 1; }
.preheader .pre-lang { margin-left: auto; }
.site-header.is-overlay:not(.is-scrolled) .preheader { background: rgba(0, 0, 0, .28); color: rgba(255, 255, 255, .88); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08); }
.site-header.is-overlay:not(.is-scrolled) .preheader a:not(.pre-wa):hover { color: #fff; }
.brand { display: block; flex: none; }
.brand img { width: 124px; height: auto; }
.brand-dark { display: none !important; }
.site-header:not(.is-overlay) .brand-light, .site-header.is-scrolled .brand-light { display: none; }
.site-header:not(.is-overlay) .brand-dark, .site-header.is-scrolled .brand-dark { display: block !important; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.main-nav > a, .nav-extra > a { position: relative; color: inherit; font-weight: 500; font-size: .95rem; }
.main-nav > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.main-nav > a:hover::after, .main-nav > a[aria-current]::after { transform: scaleX(1); }
.main-nav a:hover { color: inherit; }
.nav-extra { display: flex; align-items: center; gap: 18px; padding-left: 22px; border-left: 1px solid currentColor; border-color: rgba(127, 127, 127, .35); }
.nav-extra > a { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; opacity: .9; }
.lang-switch { display: inline-flex; gap: 2px; font-size: .74rem; font-weight: 600; }
.lang-switch a { color: inherit; opacity: .55; padding: 4px 6px; border-radius: 6px; }
.lang-switch a[aria-current] { opacity: 1; background: rgba(127, 127, 127, .16); }
.header-wa { flex: none; }
.nav-lang { display: none; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle .icon { width: 26px; height: 26px; }
.menu-toggle .icon-close { display: none; }
body.nav-open .menu-toggle .icon-open { display: none; }
body.nav-open .menu-toggle .icon-close { display: block; }
body:not(.page-home):not(.page-villa):not(.page-villas):not(.page-about) main { min-height: 50vh; }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero-home { min-height: min(92svh, 860px); padding: calc(var(--pre-h) + var(--header-h) + 40px) 0 56px; }
.hero-page { min-height: 46svh; padding: calc(var(--pre-h) + var(--header-h) + 40px) 0 48px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .55) 100%); }
.hero-content { position: relative; }
.hero h1 { max-width: 15ch; margin-bottom: .3em; }
.hero .lead { color: rgba(255, 255, 255, .92); max-width: 52ch; }

/* Search */
.search-form { display: grid; grid-template-columns: 1fr 1fr .7fr auto; gap: 8px; align-items: end; margin-top: 28px; padding: 10px; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); max-width: 860px; }
.search-form.is-compact { margin-top: 0; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: none; }
.search-form .field { margin: 0; padding: 6px 14px; border-radius: 12px; transition: background .15s; min-width: 0; }
.search-form .field:hover { background: var(--sand); }
.search-form .field span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.search-form input, .search-form select { border: 0; padding: 2px 0; background: transparent; min-height: 30px; font-weight: 500; min-width: 0; width: 100%; -webkit-appearance: none; appearance: none; }
.search-form input:focus, .search-form select:focus { box-shadow: none; }
.search-form .btn { min-height: 56px; border-radius: 14px; padding: 0 28px; }
.search-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; color: var(--ink-2); }
.search-summary a { margin-left: auto; font-weight: 500; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: 28px 0; }
.section-flush { padding-top: 0; }
.section-sand { background: var(--sand); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.page-head { padding: calc(var(--header-h) * .2 + 48px) 0 32px; }
.page-head-sm { padding: 32px 0 8px; }
.page-head h1 { margin-bottom: .25em; }

/* Villa cards */
.villa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.villa-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.villa-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.villa-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.villa-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.villa-card:hover .villa-card-media img { transform: scale(1.04); }
.villa-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.villa-card h3 { font-size: 1.45rem; margin-bottom: .25em; }
.villa-card h3 a { color: var(--ink); }
.villa-card-text { color: var(--muted); font-size: .95rem; }
.villa-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.price strong { font-size: 1.25rem; font-weight: 600; }
.price span { color: var(--muted); font-size: .85rem; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 16px; color: var(--ink-2); font-size: .92rem; }
.stats li { display: inline-flex; align-items: center; gap: 6px; }
.stats .icon { color: var(--gold); }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 36px; }
.feature { padding: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); }
.feature-icon .icon { width: 24px; height: 24px; }
.feature p { color: var(--muted); margin: 0; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.mosaic { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }
.mosaic img:last-child { aspect-ratio: 3 / 4; }
.split-text p { color: var(--ink-2); }

/* CTA */
.cta-band { background: var(--ink); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .75); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.site-footer { background: #13110e; color: rgba(255, 255, 255, .72); padding: 56px 0 24px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
@media (min-width: 901px) { .footer-grid.has-legal { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 28px; } }
.footer-brand img { width: 140px; margin-bottom: 14px; }
.site-footer h3 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .82); display: inline-flex; align-items: center; gap: 8px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: rgba(255, 255, 255, .5); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .icon { width: 30px; height: 30px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: .8rem; font-weight: 500; color: var(--ink-2); }
input:not([type=checkbox]):not([type=file]), select, textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 0; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 132, 79, .18); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .95rem; }
.alert-success { background: #e8f5ec; color: var(--ok); }
.alert-error, .alert-danger { background: #fbeaea; color: var(--danger); }
.alert-info { background: #eef3fb; color: #1f4b7a; }
.flash-stack { padding-top: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); }
.contact-card:hover { color: var(--ink); box-shadow: var(--shadow-lg); }
.contact-card strong { display: block; }
.contact-card small { color: var(--muted); }
.contact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-dark); flex: none; }
.contact-icon.wa { background: #dcf6e5; color: var(--wa-dark); }

/* Auth */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--header-h) - var(--pre-h)); }
.auth-media img { width: 100%; height: 100%; object-fit: cover; }
.auth-panel { display: grid; place-items: center; padding: 40px 20px; background: var(--sand); }
.auth-panel .card { width: min(440px, 100%); }
.auth-panel h1 { font-size: 2rem; }

.page-404 .big-num { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: var(--gold); margin: 0; }
.empty-state { text-align: center; padding: 48px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty-state p { color: var(--muted); }

/* Villa page */
.villa-hero { padding-top: calc(var(--pre-h) + var(--header-h)); background: var(--ink); }
.mosaic-hero { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; height: min(70svh, 620px); }
.mosaic-item { padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #2a2622; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.mosaic-item:hover img { transform: scale(1.03); opacity: .92; }
.mosaic-item.is-main { grid-row: span 2; }
.mosaic-all { position: absolute; right: 20px; bottom: 20px; }
.share { position: absolute; top: 20px; right: 20px; z-index: 3; display: flex; gap: 8px; }
.card-actions { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 8px; }
.card-act { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.card-act:hover { background: #fff; transform: scale(1.06); }
.card-act:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.card-act .icon { width: 19px; height: 19px; vertical-align: 0; }
.login-pop { position: absolute; z-index: 120; width: 280px; max-width: calc(100vw - 24px); padding: 18px 18px 16px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: pop-in .16s ease-out; }
.login-pop::before { content: ''; position: absolute; top: -6px; right: var(--arrow-r, 18px); width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 2px; }
.login-pop-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.login-pop-x:hover { background: var(--sand); color: var(--ink); }
.login-pop-title { display: flex; align-items: center; gap: 8px; margin: 0 28px 6px 0; font: 600 1.02rem var(--sans); }
.login-pop-title .icon { color: #e0245e; fill: #e0245e; }
.login-pop-text { margin: 0 0 14px; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.login-pop-actions { display: flex; gap: 8px; }
.login-pop-actions .btn { flex: 1; justify-content: center; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.vs-toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.vs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.save-btn .icon { fill: none; transition: fill .2s, color .2s, transform .2s; }
.save-btn.is-saved .icon { fill: #e0245e; color: #e0245e; }
.save-btn.pop .icon { transform: scale(1.25); }
.profile-head { display: flex; align-items: center; gap: 18px; }
.avatar { display: grid; place-items: center; width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--gold); color: #fff; font: 600 1.6rem var(--serif); }
.profile-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.profile-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-size: .92rem; }
.profile-tabs a:hover { background: var(--gold-soft); }
.profile-tabs span { min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--sand); font-size: .8rem; text-align: center; }
.profile-stack { display: grid; gap: 44px; padding-bottom: 20px; }
.profile-block { scroll-margin-top: calc(var(--header-h) + 20px); }
.profile-block h2 { font-size: 1.5rem; margin-bottom: 16px; }
.profile-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.req { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 22px; }
.req-title { margin: 0 0 4px; font-weight: 600; font-size: 1.05rem; }
.req-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: .9rem; }
.req-meta span { display: inline-flex; align-items: center; gap: 6px; }
.req-meta .icon { color: var(--gold); }
.req-msg { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.pill { flex: none; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; background: var(--sand); color: var(--muted); }
.pill-new { background: var(--gold-soft); color: var(--gold-dark); }
.pill-answered { background: #e8f5ec; color: var(--ok); }
.pill-booked { background: #e8f5ec; color: var(--ok); font-weight: 600; }
.req-loc { margin-top: .5rem; }
.empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.empty p { margin: 0; color: var(--muted); }
.hint { margin: 0; color: var(--muted); font-size: .88rem; }
.profile-foot { margin: 0; text-align: right; }
.profile-foot a { color: var(--muted); }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--ink); font: 500 .9rem var(--sans); box-shadow: var(--shadow); cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.share-btn:hover { background: #fff; transform: translateY(-1px); }
.share-btn:focus-visible, .share-menu a:focus-visible, .share-menu button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.share-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; padding: 6px; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.share-menu[hidden] { display: none; }
.share-menu a, .share-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: 400 .92rem var(--sans); text-align: left; text-decoration: none; cursor: pointer; }
.share-menu a:hover, .share-menu button:hover { background: var(--sand); }
.share-menu [data-share-to=wa] .icon { color: var(--wa); }
.share-menu [data-share-to=fb] .icon { color: #1877f2; }
.villa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding: 40px 0 72px; }
.villa-title h1 { margin-bottom: .15em; }
.villa-title .lead { margin-bottom: .6em; }
.villa-tabs { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 24px; margin: 16px 0 8px; padding: 14px 0; background: var(--paper); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.villa-tabs a { color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.villa-tabs a:hover { color: var(--gold-dark); }
.villa-section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.villa-section:last-child { border-bottom: 0; }
.villa-section > h2 { font-size: 1.6rem; }
.villa-section h3 { margin-top: 1.4em; }
.villa-section p { color: var(--ink-2); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; }
.check-grid li, .check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-grid .icon, .check-list .icon { color: var(--gold); margin-top: .2em; }
.check-list li { margin-bottom: 8px; }
.dot-list li { position: relative; padding-left: 18px; margin-bottom: 8px; color: var(--ink-2); }
.dot-list li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.room { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.room h3 { margin: 0 0 6px; font-family: var(--sans); font-size: 1rem; font-weight: 600; }
.room p { margin: 0; font-size: .93rem; color: var(--muted); }
.room-pool .icon { color: var(--gold); width: 26px; height: 26px; margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.price-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.price-table td { padding: 12px; border-bottom: 1px solid var(--line); }
.price-table tr:last-child td { border-bottom: 0; }
.fee-list { margin-top: 20px; display: grid; gap: 2px; }
.fee-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.fee-list small { color: var(--muted); }
.map-facade { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--sand); cursor: pointer; }
.map-facade .map-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.75); }
.map-facade .btn { position: relative; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Booking card */
.villa-main, .villa-aside { min-width: 0; }
.villa-aside { position: relative; }
.book-card { position: sticky; top: calc(var(--header-h) + 16px); padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.book-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.book-price strong { font-size: 1.6rem; font-weight: 600; }
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-weight: 600; }
.cal-head button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .88rem; }
.cal-dow { font-size: .7rem; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.cal-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 0; background: transparent; border-radius: 8px; cursor: pointer; font-variant-numeric: tabular-nums; }
.cal-day:hover:not(:disabled) { background: var(--sand); }
.cal-day:disabled { color: #c9c1b6; cursor: default; }
.cal-day.is-booked { color: #c2b9ad; text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 4px, #f3eee7 4px 6px); }
/* availability colours: free / booked / half days (check-in afternoon, check-out morning) */
:root { --cal-free: #e7f3ea; --cal-free-ink: #1f5f37; --cal-booked: #f6dedb; --cal-booked-ink: #a8352c; }
.cal-day.is-free { background: var(--cal-free); color: var(--cal-free-ink); }
.cal-day.is-booked { background: var(--cal-booked); color: var(--cal-booked-ink); text-decoration: line-through; text-decoration-color: rgba(168, 53, 44, .45); }
.cal-day.is-in { background: linear-gradient(135deg, var(--cal-free) 0 50%, var(--cal-booked) 50% 100%); color: var(--ink); }
.cal-day.is-out { background: linear-gradient(135deg, var(--cal-booked) 0 50%, var(--cal-free) 50% 100%); color: var(--ink); }
.cal-day.is-past { background: transparent; color: #cfc8be; }
.cal-day.is-closed { background: #f1eeea; color: #b3aba0; }
.cal-season { margin: 0 0 12px; padding: 10px 14px; border: 1px solid #ecdcb8; border-radius: 10px; background: #fbf5e8; color: #6b5220; font-size: .88rem; line-height: 1.45; }
.cal-day.is-free:hover:not(:disabled) { background: #d3ebda; }
.cal-day.is-checkout-only { color: var(--ink); text-decoration: none; }
.cal-day.is-start, .cal-day.is-end { background: var(--ink) !important; color: #fff; }
.cal-day.in-range { background: var(--gold-soft); border-radius: 0; }
.cal-day.is-checkout-only { color: var(--ink); text-decoration: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .75rem; color: var(--muted); }
.cal-legend .lg-free { background: var(--cal-free); border: 1px solid #b9dcc3; }
.cal-legend .lg-booked { background: var(--cal-booked); border: 1px solid #e8b9b3; }
.cal-legend .lg-half { background: linear-gradient(135deg, var(--cal-free) 0 50%, var(--cal-booked) 50% 100%); border: 1px solid #ddd2c4; }
.cal-legend .lg-sel { background: var(--ink); }
/* big availability calendar (villa page) */
.section-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.section-head-row h2 { margin: 0; }
.section-head-row p { margin: 0; }
.bigcal { position: relative; padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.bigcal-nav { position: absolute; top: 16px; left: 14px; right: 14px; display: flex; justify-content: space-between; pointer-events: none; }
.bigcal-nav button { pointer-events: auto; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.bigcal-nav button:hover:not(:disabled) { background: var(--sand); }
.bigcal-nav button:disabled { opacity: .3; cursor: default; }
.bigcal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bigcal-title { margin: 6px 0 12px; text-align: center; font: 600 1.15rem var(--serif); }
.bigcal .cal-grid { gap: 4px; }
.bigcal .cal-day { aspect-ratio: auto; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 8px; font-size: .95rem; font-weight: 500; }
.bigcal .cal-day small { font-size: .66rem; font-weight: 500; opacity: .8; letter-spacing: .01em; }
.bigcal .cal-day.is-start small, .bigcal .cal-day.is-end small { opacity: .85; }
.cal-day.is-start, .cal-day.is-end { box-shadow: 0 4px 12px rgba(27, 25, 22, .18); }
.cal-legend-big { margin-top: 14px; font-size: .82rem; }
.cal-legend-big i { width: 14px; height: 14px; }
.bigcal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--gold-soft); font-weight: 500; }
.bigcal-bar[hidden] { display: none; }
.bigcal-bar > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.bigcal-bar .icon { color: var(--gold-dark); }
.bigcal-bar-actions { display: flex; gap: 8px; }
@media (max-width: 700px) {
  .bigcal { padding: 16px 10px 12px; }
  .bigcal-months { grid-template-columns: 1fr; }
  .bigcal-month + .bigcal-month { display: none; }
  .bigcal .cal-day { min-height: 46px; font-size: .9rem; }
  .bigcal .cal-grid { gap: 3px; }
}
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.lg-free { border: 1px solid var(--line); } .lg-booked { background: repeating-linear-gradient(135deg, #fff 0 2px, #d9d0c4 2px 4px); } .lg-sel { background: var(--ink); }
.quote { font-size: .93rem; background: var(--sand); border-radius: 12px; padding: 14px; }
.quote-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.quote-total { font-weight: 600; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.quote-warn { color: var(--danger); margin: 0; }
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.request-form .field { margin-bottom: 10px; }
.request-form .field-full, .request-form .btn, .request-form p { grid-column: 1 / -1; }
.request-form input, .request-form select, .request-form textarea { min-height: 42px; padding: 8px 12px; }
.mobile-book-bar { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-rows: 1fr auto; background: rgba(12, 11, 9, .96); color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; place-items: center; padding: 60px 70px 10px; min-height: 0; }
.lightbox figure img { max-width: 100%; max-height: calc(100svh - 170px); object-fit: contain; border-radius: 6px; }
.lightbox figcaption { margin-top: 10px; font-size: .9rem; color: rgba(255, 255, 255, .8); min-height: 1.4em; }
.lb-close, .lb-nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 45%; }
.lb-next { right: 14px; top: 45%; }
.lb-thumbs { display: flex; gap: 6px; padding: 10px 14px 16px; overflow-x: auto; scrollbar-width: thin; }
.lb-thumbs button { flex: none; width: 74px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; opacity: .5; cursor: pointer; background: none; }
.lb-thumbs button.is-active { opacity: 1; border-color: #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.no-scroll { overflow: hidden; }

/* Admin */
.admin { padding-bottom: 72px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 20px; }
.admin-tabs a { padding: 8px 16px; border-radius: 999px; color: var(--ink-2); background: var(--sand); font-weight: 500; font-size: .92rem; }
.admin-tabs a[aria-current] { background: var(--ink); color: #fff; }
.admin-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-bottom: 20px; }
.admin-card h2 { font-size: 1.3rem; }
.admin-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.data-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table select { min-height: 32px; padding: 4px 8px; width: auto; }
.row-muted td { opacity: .5; }
.row-new td { background: #fffaf1; }
.msg-cell { max-width: 340px; color: var(--ink-2); font-size: .84rem; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.actions form, form.inline { display: inline; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--sand); color: var(--ink-2); }
.badge-ok { background: #e3f4e9; color: var(--ok); }
.badge-warn { background: #fdf0d9; color: #8a5a00; }
.badge-off { background: #eee; color: #888; }
.form-inline { display: flex; flex-wrap: wrap; gap: 0 12px; align-items: flex-end; }
.form-inline h2 { flex-basis: 100%; }
.form-inline .field { flex: 1 1 150px; }
.form-inline .btn, .form-inline .check { margin-bottom: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 14px; }
.admin-villa { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.admin-villa img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; }
.thumb-strip { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; }
.thumb-strip figure { margin: 0; flex: none; width: 96px; font-size: .62rem; color: var(--muted); }
.thumb-strip img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; }
.admin-save { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, var(--paper) 30%); text-align: right; }
code { background: var(--sand); padding: 1px 6px; border-radius: 4px; font-size: .85em; }

/* Responsive */
@media (max-width: 1100px) {
  .header-wa span { display: none; }
  .header-wa { width: 42px; padding: 0; }
  .villa-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { width: 108px; }
  .menu-toggle { display: inline-flex; margin-left: auto; margin-right: -8px; }
  .header-wa { display: none; }
  .main-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 20px 20px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-height: calc(100svh - var(--nav-top, var(--header-h))); overflow-y: auto; }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  body.nav-open .site-header { background: var(--paper); color: var(--ink); }
  body.nav-open .site-header .brand-light { display: none; }
  body.nav-open .site-header .brand-dark { display: block !important; }
  .main-nav > a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .main-nav > a::after { display: none; }
  .nav-extra { flex-wrap: wrap; padding: 14px 4px 0; border: 0; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .split, .contact-grid, .auth { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .auth-media { height: 28svh; }
  .villa-layout { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 24px; }
  .book-card { position: static; }
  .mosaic-hero { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .mosaic-item { display: none; }
  .mosaic-item.is-main { display: block; aspect-ratio: 4 / 3; grid-row: auto; }
  .mosaic-all { right: 14px; bottom: 14px; }
  .share { top: 14px; right: 14px; }
  .share-btn { width: 42px; height: 42px; min-height: 0; padding: 0; justify-content: center; }
  .share-btn span { display: none; }
  .profile-forms { grid-template-columns: 1fr; }
  .req { flex-direction: column; gap: 10px; padding: 16px 18px; }
  .avatar { width: 52px; height: 52px; font-size: 1.3rem; }
  .preheader-inner { gap: 14px; }
  .preheader .pre-lang { display: none; }
  .preheader .pre-mail { margin-left: auto; }
  .nav-lang { display: inline-flex; margin-left: auto; font-size: .85rem; }
  .mobile-book-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 84px 10px 18px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
  .mobile-book-bar p { margin: 0; display: flex; gap: 4px; align-items: baseline; flex-wrap: wrap; }
  .mobile-book-bar span { color: var(--muted); font-size: .85rem; }
  .page-villa .site-footer { padding-bottom: 90px; }
  .page-villa .wa-float { bottom: 76px; }
  .two-col { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 32px); }
  .preheader-inner { gap: 12px; }
  .preheader .pre-wa { padding: 3px 7px; }
  .preheader .pre-wa span { display: none; }
  .search-form { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .search-form .field-guests { grid-column: 1 / -1; }
  .search-form .btn { grid-column: 1 / -1; min-height: 50px; }
  .hero-home { min-height: 92svh; padding-bottom: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .lightbox figure { padding: 60px 8px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 86px; }
  .search-summary a { margin-left: 0; }
  .admin-villa { grid-template-columns: 80px 1fr; }
  .admin-villa img { width: 80px; height: 56px; }
  .admin-villa .actions { grid-column: 1 / -1; }
  .request-form { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .preheader { font-size: .7rem; }
  .preheader-inner { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Home availability box (the original VillaSpot design) ---------- */
.avail { max-width: 800px; margin-top: 28px; padding: 20px; background: #333; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); color: #333; }
.avail-row { display: flex; gap: 10px; margin-bottom: 10px; }
.avail-cell { position: relative; flex: 1; min-width: 0; height: 70px; padding: 10px 15px; display: flex; flex-direction: column; justify-content: center; background: #fff; border: 1px solid #ccc; border-radius: 2px; }
.avail-label { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #b99470; }
.avail-value { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1.1; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 30px; }
.avail-value.is-set { color: #333; }
.avail-date { cursor: pointer; }
.avail-date input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.avail-icon { position: absolute; right: 20px; bottom: 20px; width: 24px; height: 24px; color: #b99470; opacity: .8; pointer-events: none; }
.avail-step { align-items: stretch; text-align: center; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stepper button { flex: none; width: 30px; height: 30px; display: grid; place-items: center; padding: 0; background: #f9f9f9; border: 1px solid #ddd; border-radius: 4px; font-family: var(--serif); font-size: 16px; color: #555; cursor: pointer; user-select: none; }
.stepper button:hover { background: #eee; }
.avail .stepper input { width: 100%; min-width: 0; min-height: 0; height: 36px; padding: 0; border: 0; background: transparent; box-shadow: none; font-family: var(--serif); font-size: 32px; line-height: 1; text-align: center; color: #333; -moz-appearance: textfield; }
.avail .stepper input::-webkit-outer-spin-button, .avail .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.avail-btn { width: 100%; height: 70px; display: flex; align-items: center; justify-content: center; padding: 0 20px; background: #fff; color: #b99470; border: 0; font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.avail-btn:hover { background: #b99470; color: #fff; }
.avail-error { margin: -2px 0 10px; padding: 8px 12px; border-radius: 3px; background: #fdecea; color: #a8352c; font-family: var(--sans); font-size: .9rem; font-weight: 600; }
@media (max-width: 768px) {
  .avail { padding: 10px; }
  .avail-row { gap: 5px; margin-bottom: 5px; }
  .avail-cell { height: 60px; padding: 10px 8px; }
  .avail-label { font-size: 9px; }
  .avail-value { font-size: 16px; padding-right: 20px; }
  .avail .stepper input { font-size: 20px; height: 28px; }
  .stepper button { width: 26px; height: 26px; }
  .avail-icon { width: 16px; height: 16px; right: 6px; bottom: 10px; }
  .avail-btn { height: 60px; font-size: 12px; }
}

/* Owners: list your villa */
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-owner { min-height: 58svh; }
.hero-owner h1 { max-width: 18ch; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: none; }
.steps li { position: relative; padding: 26px 24px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.steps p { margin: 0; color: var(--muted); }
.step-n { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.owner-form-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.owner-form-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.owner-form-intro .check-list { list-style: none; padding: 0; margin: 18px 0 22px; }
.owner-form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.owner-form legend { padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 1.3rem; }
.owner-form fieldset + fieldset { padding-top: 22px; border-top: 1px solid var(--line); }
.form-row-3 { grid-template-columns: repeat(3, 1fr); }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .88rem; transition: background .15s, border-color .15s, color .15s; }
.chip input:checked + span { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 16px; border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--sand); text-align: center; cursor: pointer; transition: border-color .15s; }
.drop:hover, .drop:focus-within { border-color: var(--gold); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .icon { width: 28px; height: 28px; color: var(--gold-dark); }
.drop small { color: var(--muted); max-width: 42ch; }
.photo-previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.photo-previews img, .photo-file { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); background: var(--sand); }
.photo-file { display: grid; place-items: center; padding: 6px; font-size: .7rem; color: var(--muted); overflow: hidden; word-break: break-all; }
.photo-previews p { grid-column: 1 / -1; margin: 0; }
.owner-done { text-align: center; }
.owner-done .cta-actions { justify-content: center; margin-top: 18px; }
.faq { max-width: 780px; }
.faq h2 { margin-bottom: 24px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 500; cursor: pointer; list-style-position: inside; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }
.owner-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(24px, 4vw, 40px); background: var(--gold-soft); border-radius: var(--radius); }
.owner-band h2 { margin: 0 0 .2em; }
.owner-band p { margin: 0; color: var(--ink-2); max-width: 56ch; }
.listing-thumbs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.listing-thumbs img { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; }
@media (max-width: 900px) {
  .owner-form-wrap { grid-template-columns: 1fr; }
  .owner-form-intro { position: static; }
}
@media (max-width: 520px) {
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .form-row-3 .field:last-child { grid-column: 1 / -1; }
}
@media (min-width: 901px) { .features-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Villa list hero: photo slider + framed title ---------- */
.hero-slides { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hero-slides .hero-img { opacity: 0; animation: hero-fade 30s linear infinite; will-change: opacity, transform; }
.hero-slides .hero-img:nth-child(1) { opacity: 1; animation-name: hero-fade-first; }
.hero-slides .hero-img:nth-child(2) { animation-delay: 6s; }
.hero-slides .hero-img:nth-child(3) { animation-delay: 12s; }
.hero-slides .hero-img:nth-child(4) { animation-delay: 18s; }
.hero-slides .hero-img:nth-child(5) { animation-delay: 24s; }
@keyframes hero-fade { 0% { opacity: 0; transform: scale(1.03); } 5% { opacity: 1; } 20% { opacity: 1; } 26% { opacity: 0; transform: scale(1.09); } 100% { opacity: 0; transform: scale(1.09); } }
@keyframes hero-fade-first { 0% { opacity: 1; transform: scale(1.03); } 20% { opacity: 1; } 26% { opacity: 0; transform: scale(1.09); } 100% { opacity: 0; transform: scale(1.09); } }
.hero-slides::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 13, 9, .72) 0%, rgba(18, 13, 9, .45) 38%, rgba(18, 13, 9, .08) 70%, rgba(18, 13, 9, 0) 100%); pointer-events: none; }
.hero h1.hero-title { text-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 6px 30px rgba(0, 0, 0, .45); padding-bottom: .28em; margin-bottom: .45em; position: relative; }
.hero h1.hero-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 2px; background: linear-gradient(90deg, #d6b284, rgba(214, 178, 132, 0)); }
.hero-title + .lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
@media (max-width: 700px) { .hero-slides::after { background: linear-gradient(180deg, rgba(18, 13, 9, .55) 0%, rgba(18, 13, 9, .35) 45%, rgba(18, 13, 9, .15) 100%); } }
@media (prefers-reduced-motion: reduce) { .hero-slides .hero-img:not(:first-child) { display: none; } .hero-slides .hero-img:first-child { opacity: 1; } }

/* --- Guides (/guides) ------------------------------------------------------- */
.guide-head { padding: clamp(40px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); background: var(--sand); }
.guide-head h1 { margin-bottom: .3em; max-width: 22ch; }
.guide-narrow { max-width: 760px; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-dark); }
.guide-meta { font-size: .82rem; letter-spacing: .04em; color: var(--muted); margin-top: 14px; }
.guide-body { padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
.guide-body h2 { margin-top: 1.9em; }
.guide-body h3 { margin-top: 1.6em; font-size: 1.12rem; }
.guide-body p, .guide-body li { font-size: 1.04rem; line-height: 1.72; color: var(--ink-2); }
.guide-body ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1.2em; }
.guide-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.guide-body li { margin-bottom: .45em; }
.guide-body blockquote { margin: 1.8em 0; padding: .2em 0 .2em 1.1em; border-left: 2px solid var(--gold); font-family: var(--serif); font-size: 1.16rem; color: var(--ink); }
.guide-body .table-wrap { overflow-x: auto; margin: 1.8em 0; }
.guide-body table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.guide-body th, .guide-body td { padding: .6em .7em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide-body th { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.guide-body code { background: var(--sand); padding: .1em .35em; border-radius: 4px; font-size: .92em; }
.trust-box { margin: 2.4em 0 1.6em; padding: 22px 24px; background: var(--sand); border-radius: var(--radius); }
.trust-box h2 { margin: 0 0 .5em; font-size: 1.15rem; }
.trust-box p { font-size: .95rem; margin-bottom: .7em; }
.guide-cta { margin: 1.6em 0 2em; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-cta h2 { margin: 0 0 .4em; font-size: 1.3rem; }
.guide-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.guide-card, .guide-feature { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: inherit; transition: box-shadow .2s, transform .2s; }
.guide-card:hover, .guide-feature:hover { color: inherit; box-shadow: var(--shadow); transform: translateY(-2px); }
.guide-feature { margin-bottom: 24px; }
.guide-feature strong { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; }
.guide-card strong { font-family: var(--serif); font-size: 1.14rem; line-height: 1.25; }
.guide-card-kicker { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.guide-card-desc { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.guide-card-meta { font-size: .78rem; color: var(--muted); margin-top: auto; padding-top: 6px; }

/* tours & excursions (FlySpot) */
.tours-intro { margin: .4em 0 0; color: var(--muted); max-width: 60ch; }
.tour-by { font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* calendar: nights before the minimum stay can't be chosen as check-out */
.cal-day.is-short { opacity: .35; cursor: not-allowed; }
/* quote breakdown */
.quote-part { font-size: .9em; color: var(--muted, #6b665e); padding-left: .75rem; }
.quote-sub span:last-child { display: none; }
.quote-note { font-size: .9em; color: var(--muted, #6b665e); border-top: 1px dashed rgba(0,0,0,.1); padding-top: .4rem; margin-top: .2rem; }
.quote-hint { font-size: .85em; color: var(--ok, #2e7d4f); margin: .4rem 0 0; }

.nearby-title { margin: 22px 0 10px; font-size: 1.05rem; }
.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 28px; list-style: none; padding: 0; margin: 0; }
.nearby li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line, rgba(0,0,0,.08)); }
.nearby strong { white-space: nowrap; }

/* legal pages */
.legal-wrap { padding-top: 28px; padding-bottom: 64px; }
.legal-draft { background: #fff4d6; border: 1px solid #e8c766; color: #5a4300; border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: .95rem; }
.legal-crumbs { font-size: .9rem; color: var(--muted, #6b6b6b); margin-bottom: 18px; }
.legal-crumbs a { color: inherit; }
.legal-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 260px minmax(0, 72ch); justify-content: center; } }
.legal-toc { font-size: .92rem; }
@media (min-width: 1000px) { .legal-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; } }
@media (max-width: 999px) { .legal-toc ol { columns: 2; column-gap: 24px; } }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }
.legal-toc-title { font-weight: 600; margin: 0 0 8px; }
.legal-toc ol { list-style: none; padding: 0; margin: 0; }
.legal-toc li { margin: 0 0 6px; break-inside: avoid; }
.legal-toc a { color: inherit; text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-other { margin-top: 18px; display: grid; gap: 6px; }
.legal-doc { font-size: 17px; line-height: 1.65; max-width: 72ch; min-width: 0; }
.legal-doc h1 { margin: 0 0 8px; }
.legal-doc h2 { font-size: 1.25rem; margin: 36px 0 12px; scroll-margin-top: 90px; }
.legal-doc h2 .num { color: var(--gold); }
.legal-doc p { margin: 0 0 14px; }
.legal-meta { color: var(--muted, #6b6b6b); font-size: .9rem; }
.legal-note { background: var(--sand); border-radius: 10px; padding: 10px 14px; font-size: .95rem; }
.legal-doc .clause .num { font-weight: 600; margin-right: 4px; }
.legal-list { margin: 0 0 14px; padding-left: 1.2em; }
.legal-list li { margin-bottom: 6px; }
.legal-list.is-letters { list-style: none; padding-left: .4em; }
.legal-list .lbl { font-weight: 600; }
.legal-table { overflow-x: auto; margin: 6px 0 18px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--sand); }
mark.ph { background: #ffe58a; color: #3d2f00; padding: 0 3px; border-radius: 3px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.policy-link { margin: 10px 0 0; font-size: .95rem; }
.precontract { grid-column: 1 / -1; background: var(--sand); border-radius: 10px; padding: 10px 12px; font-size: .85rem; line-height: 1.45; }
.precontract-title { font-weight: 600; margin: 0 0 4px; }
.precontract ul { margin: 0 0 8px; padding-left: 1.1em; }
.precontract li { margin-bottom: 3px; }
.precontract .check { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; }
.precontract .check input { margin-top: 3px; flex: none; }
@media print {
  .site-header, .site-footer, .wa-float, .legal-toc, .legal-crumbs, .legal-draft, .linklike { display: none !important; }
  .legal-layout { display: block; }
  .legal-doc { max-width: none; font-size: 11pt; }
  .legal-doc a { color: inherit; text-decoration: none; }
  mark.ph { background: none; border-bottom: 1px dashed #000; }
}
.legal-doc a { overflow-wrap: anywhere; }

/* ---- booking card: prices in the small calendar, hints, add-a-night suggestion ---- */
.book-card .cal-day { aspect-ratio: auto; min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; line-height: 1.1; }
.book-card .cal-day small { font-size: .6rem; opacity: .75; letter-spacing: -.01em; }
.cal-day.in-hover { background: var(--gold-soft); border-radius: 0; }
.cal-hint { margin: 0; font-size: .88rem; color: var(--muted, #6b665e); min-height: 1.3em; }
.quote { transition: opacity .15s; }
.quote.is-loading { opacity: .55; }
.quote-upsell { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #eaf6ee; color: #1f5a37; font-size: .88rem; }
.quote-upsell p { margin: 0 0 8px; }
.quote-upsell .btn { width: 100%; justify-content: center; }
/* desktop: the card scrolls inside itself only when it is taller than the window; the page scrolls everywhere else */
@media (min-width: 901px) {
  .book-card { max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; }
}

/* ---- reservation sheet ---- */
.rsheet { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.rsheet[hidden] { display: none; }
.rsheet-backdrop { position: absolute; inset: 0; background: rgba(20, 17, 13, .45); opacity: 0; transition: opacity .2s ease; touch-action: none; }
.rsheet-panel { position: relative; display: flex; flex-direction: column; width: min(580px, calc(100vw - 32px)); max-height: min(90vh, 900px); max-height: min(90dvh, 900px);
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); outline: none;
  transform: translateY(16px) scale(.98); opacity: 0; transition: transform .22s ease, opacity .22s ease; will-change: transform; }
.rsheet.is-open .rsheet-backdrop { opacity: 1; }
.rsheet.is-open .rsheet-panel { transform: none; opacity: 1; }
.rsheet-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; border-bottom: 1px solid var(--line); flex: none; }
.rsheet-head h2 { margin: 0; font-size: 1.25rem; }
.rsheet-grip { display: none; }
.rsheet-x { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--sand); cursor: pointer; color: var(--ink); }
/* only this part scrolls; overscroll-behavior stops the scroll from leaking to the page behind */
.rsheet-body, .rsheet-done { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 20px 20px; display: grid; gap: 18px; align-content: start; }
.rsheet-body[hidden], .rsheet-done[hidden], .rsheet-foot[hidden] { display: none; }
.rsheet-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px; padding-bottom: max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; border-radius: 0 0 18px 18px; }
.rsheet-total { display: grid; line-height: 1.25; }
.rsheet-total strong { font-size: 1.15rem; }
.rsheet-total small { font-size: .78rem; }
.rs-trip { display: flex; gap: 14px; align-items: center; }
.rs-trip .rs-thumb { width: 84px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.rs-trip > div { display: grid; gap: 2px; font-size: .95rem; }
.rs-trip .linklike { justify-self: start; font-size: .88rem; color: var(--gold-dark, #8a6a35); }
.rs-block h3 { margin: 0 0 10px; font-size: 1rem; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.stepper > div:first-child { display: grid; }
.stepper small { font-size: .8rem; }
.stepper-ctl { display: flex; align-items: center; gap: 8px; }
.stepper-ctl button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--ink); touch-action: manipulation; }
.stepper-ctl button:hover { background: var(--sand); }
.stepper-ctl input { width: 2.4em; text-align: center; border: 0; background: transparent; font-weight: 600; font-size: 1rem; padding: 0; -moz-appearance: textfield; }
.stepper-ctl input::-webkit-inner-spin-button, .stepper-ctl input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
[data-rs-max] { margin: 8px 0 0; }
[data-rs-max].is-warn { color: var(--danger); }
.rs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.rs-fields h3, .rs-fields .field-full { grid-column: 1 / -1; }
.rs-fields .field { margin-bottom: 10px; }
.rs-fields input, .rs-fields textarea { min-height: 44px; padding: 9px 12px; font-size: 16px; } /* 16px: no iOS zoom on focus */
.rsheet .precontract { grid-column: auto; }
.rsheet-done { text-align: center; justify-items: center; padding: 32px 24px; }
.rs-done-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #e3f3e8; color: #1f7a45; font-size: 1.6rem; font-weight: 700; }
.rsheet-done h3 { margin: 0; font-size: 1.3rem; }
.rsheet-done p { margin: 0; max-width: 42ch; }
html.rsheet-open, html.rsheet-open body { overscroll-behavior: none; }
@media (max-width: 700px) {
  /* phones: a bottom sheet that slides up */
  .rsheet { align-items: flex-end; }
  .rsheet-panel { width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 18px 18px 0 0; transform: translateY(100%); opacity: 1; }
  .rsheet.is-open .rsheet-panel { transform: none; }
  .rsheet-grip { display: block; position: absolute; top: 6px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #d8d1c6; }
  .rsheet-head { padding-top: 20px; touch-action: none; }
  .rsheet-foot { border-radius: 0; }
  .rs-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .rsheet-panel, .rsheet-backdrop { transition: none; } }
.rsheet .stepper-ctl input[type=number] { width: 2.6em; min-height: 0; height: 36px; padding: 0; border: 0; box-shadow: none; background: transparent; border-radius: 0; text-align: center; }
/* currency switch (next to EN / TR) */
.cur-switch { display: inline-flex; gap: 2px; margin-right: 10px; }
.cur-switch button { border: 0; background: transparent; color: inherit; font: inherit; font-weight: 600; font-size: .85rem; min-width: 26px; height: 26px; padding: 0 5px; border-radius: 6px; cursor: pointer; opacity: .6; }
.cur-switch button:hover { opacity: 1; }
.cur-switch button[aria-current] { opacity: 1; background: rgba(0, 0, 0, .08); }
.site-header.is-overlay .cur-switch button[aria-current] { background: rgba(255, 255, 255, .18); }
/* One visible currency switcher: header nav on desktop, preheader strip on phones (nav copy lives in the drawer). */
@media (min-width: 901px) { .preheader .cur-switch { display: none; } }
@media (max-width: 900px) { .nav-extra .cur-switch { display: none; } }
.quote-fx { font-size: .78rem; color: var(--muted, #6b665e); margin: 8px 0 0; line-height: 1.4; }
/* photo viewer: fixed frame so the quick small preview and the sharp photo occupy the same box (no jump) */
.lightbox figure { width: 100%; }
.lightbox figure img { width: 100%; height: calc(100vh - 170px); height: calc(100svh - 170px); max-width: 1400px; object-fit: contain; transition: filter .25s ease; }
.lightbox figure img.is-soft { filter: blur(6px); }
.lb-thumbs img { content-visibility: auto; }

/* room cards with a photo box */
.room.has-img { padding: 10px 10px 16px; }
.room.has-img h3, .room.has-img p { padding: 0 8px; }
.room-img { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; margin: 0 0 12px; padding: 0; border: 0; border-radius: calc(var(--radius-sm) - 4px); overflow: hidden; cursor: zoom-in; background: var(--sand); }
.room-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.room-img:hover img, .room-img:focus-visible img { transform: scale(1.04); }
.room-img:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.room-zoom { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
@media (prefers-reduced-motion: reduce) { .room-img img, .lightbox figure img { transition: none; } }
@media (max-width: 559px) {
  /* phones: a small square photo beside the text instead of a full-width image */
  .room.has-img { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto 1fr; column-gap: 12px; padding: 10px; align-items: start; }
  .room.has-img .room-img { grid-row: 1 / span 2; width: 96px; aspect-ratio: 1; margin: 0; }
  .room.has-img h3, .room.has-img p { padding: 0; }
  .room.has-img h3 { margin-top: 2px; }
  .room-zoom { width: 24px; height: 24px; right: 5px; bottom: 5px; }
  .room-zoom svg { width: 12px; height: 12px; }
}
/* header: "Blog" menu holding Guides + Journal */
.nav-drop { position: relative; }
.nav-drop-btn { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 500; font-size: .95rem; cursor: pointer; }
.nav-drop-btn::after { content: ''; position: absolute; left: 0; right: 17px; bottom: -6px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav-drop.is-current .nav-drop-btn::after, .nav-drop-btn:hover::after { transform: scaleX(1); }
.nav-chev { transition: transform .2s; }
.nav-drop.is-open .nav-chev { transform: rotate(180deg); }
.nav-drop-menu { display: grid; gap: 2px; }
@media (min-width: 901px) {
  .nav-drop-menu { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 60; width: 280px; padding: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .15s, transform .15s, visibility .15s; }
  .nav-drop-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.is-open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav-drop:hover .nav-chev { transform: rotate(180deg); }
  .nav-drop-menu a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
  .nav-drop-menu a:hover, .nav-drop-menu a[aria-current] { background: var(--sand); }
}
.nav-drop-menu strong { font-weight: 600; font-size: .95rem; }
.nav-drop-menu small { font-size: .8rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) {
  /* phone menu: "Blog" row expands in place */
  .nav-drop { border-bottom: 1px solid var(--line); }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.1rem; }
  .nav-drop-btn::after { display: none; }
  .nav-drop-menu { display: none; padding: 0 0 10px 12px; }
  .nav-drop.is-open .nav-drop-menu { display: grid; }
  .nav-drop-menu a { display: grid; padding: 10px 4px; color: inherit; }
}
/* Tours menu: two columns on desktop, a compact list on phones */
@media (min-width: 901px) {
  .nav-drop-menu.nav-drop-wide { width: 520px; grid-template-columns: 1fr 1fr; }
  .nav-drop-wide .nav-drop-all { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; margin-bottom: 4px; }
  .nav-drop-wide a { padding: 8px 12px; }
}
@media (max-width: 900px) {
  .nav-drop-wide a { padding: 9px 4px; min-height: 44px; align-content: center; }
  .nav-drop-wide a + a { border-top: 1px solid rgba(0, 0, 0, .05); }
  .nav-drop-wide small { font-size: .78rem; }
}
/* arriving on /tours#tour-x from the menu: bring the card into view and mark it */
.tour-card:target { outline: 2px solid var(--gold); outline-offset: 4px; animation: tourflash 1.6s ease 1; }
@keyframes tourflash { 0% { box-shadow: 0 0 0 0 rgba(176, 141, 87, .55); } 100% { box-shadow: 0 0 0 18px rgba(176, 141, 87, 0); } }
@media (min-width: 901px) { .nav-drop-wide { align-items: start; } .nav-drop-wide a { align-content: start; } }
@media (max-width: 900px) {
  body.nav-open .wa-float { display: none; }   /* the floating WhatsApp button would cover menu items */
  .nav-drop-wide a { padding: 7px 4px; min-height: 44px; }
}
