/* Sithonia Elite Properties
   Palette sampled from the brand logo + Panos's reference design:
   navy #0a2a3f · gold #c2a97a · olive #8a7f52 · sand #efe7db */

:root {
  --navy: #0a2a3f;
  --navy-deep: #071f30;
  --navy-600: #10405c;
  --navy-400: #4a6a7a;
  --gold: #c2a97a;
  --gold-deep: #a88f5f;
  --gold-100: #f4efe3;
  --olive: #8a7f52;
  --olive-deep: #75693f;
  --sand: #efe7db;
  --cream: #f7f4ee;
  --sand-200: #e6dccd;
  --ink: #12222c;
  --muted: #6b7c86;
  --line: #e4ddd2;
  --white: #fff;
  --ok: #2f6f4f;
  --warn: #a8641f;
  --err: #a3352c;
  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(10, 42, 63, .06), 0 8px 24px rgba(10, 42, 63, .07);
  --shadow-lg: 0 18px 50px rgba(10, 42, 63, .16);
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -.005em; margin: 0 0 .45em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 860px; }
.section { padding: 78px 0; }
section[id] { scroll-margin-top: 96px; }
.section.tight { padding: 46px 0; }
/* The header is fixed, so the first section of any page that does not open with a full-bleed
   hero has to clear it. Property and listing pages were sliding under the navbar. */
#app > section:first-child:not(.hero) { padding-top: calc(var(--header-h) + 34px); }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; font-weight: 600; color: var(--gold-deep); margin-bottom: .7em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.lead { font-size: 1.03rem; color: var(--muted); max-width: 62ch; margin: 0 auto 1.6em; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: transform .12s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.gold { background: var(--gold); color: #3a2f16; }
.btn.gold:hover { background: var(--gold-deep); color: #fff; }
.btn.olive { background: var(--olive); color: #fff; }
.btn.olive:hover { background: var(--olive-deep); }
.btn.dark { background: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-deep); }
.btn.ghost { background: transparent; border-color: currentColor; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.light { background: rgba(255,255,255,.94); color: var(--navy); }
.btn.light:hover { background: #fff; }
.btn.outline-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn.outline-light:hover { background: rgba(255,255,255,.14); }
.btn.sm { padding: 8px 16px; font-size: .82rem; }
.btn.wide { width: 100%; }
.btn.xl { padding: 15px 42px; font-size: .95rem; }

/* ------------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  background: linear-gradient(180deg, rgba(8,30,45,.72) 0%, rgba(8,30,45,0) 100%);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.solid {
  background: rgba(10, 42, 63, .97);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
/* Three zones so the logo sits dead centre of the bar: nav left, brand middle, actions right.
   Explicit grid columns keep the placement independent of DOM order. */
.site-header .bar {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px; height: var(--header-h);
}
.site-header .bar > .nav { grid-column: 1; grid-row: 1; justify-self: start; }
.site-header .header-actions { grid-column: 3; grid-row: 1; justify-self: end; }
/* No card behind the logo: the header uses the light variant (gold mark, white wordmark),
   generated from the supplied artwork, so it reads directly on the dark bar. */
.site-header .brand {
  grid-column: 2; grid-row: 1; justify-self: center;
  display: inline-flex; align-items: center; text-decoration: none;
}
.site-header .brand img { height: 48px; width: auto; display: block; }
.site-header .spacer { flex: 1; }

.nav { display: flex; gap: 26px; align-items: center; }
/* Desktop hides the panel-only CTA; the bar already carries its own Book now button. */
.nav > a.nav-cta { display: none; }
.nav > a, .nav .drop-toggle {
  color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: none; border: 0; cursor: pointer; padding: 6px 0;
  display: inline-flex; align-items: center; gap: 6px; font-family: inherit;
}
.nav > a:hover, .nav .drop-toggle:hover { color: var(--gold); text-decoration: none; }
.nav > a.active { color: var(--gold); }
.nav .caret { font-size: .55rem; opacity: .8; }

.dropdown { position: relative; }
.dropdown.open .drop-toggle { color: var(--gold); }
.drop-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  min-width: 190px; padding: 10px; opacity: 0; visibility: hidden; translate: 0 -6px;
  transition: opacity .16s ease, translate .16s ease, visibility .16s;
}
.dropdown.open .drop-menu { opacity: 1; visibility: visible; translate: 0 0; }
.drop-menu a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: .88rem; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 500;
}
.drop-menu a:hover { background: var(--gold-100); color: var(--navy); text-decoration: none; }
.drop-menu .drop-head { font-size: .64rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); padding: 6px 14px 4px; font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }.lang-switch { display: flex; align-items: center; gap: 4px; margin-right: 6px; }
.lang-switch a {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
  font-size: 1.05rem; line-height: 1; opacity: .58; filter: grayscale(.45);
  transition: opacity .16s ease, filter .16s ease, background .16s ease;
}
.lang-switch a:hover { opacity: 1; filter: none; background: rgba(255, 255, 255, .14); text-decoration: none; }
.lang-switch a.active { display: none; }
.lang-switch .flag { pointer-events: none; display: block; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff; border: 0; cursor: pointer;
  transition: background .18s ease;
}
.icon-btn:hover { background: rgba(255,255,255,.26); }
.icon-btn svg { width: 17px; height: 17px; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: #2a2320; color: #fff; text-align: center; }
.hero video, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,20,26,.62) 0%, rgba(20,18,16,.30) 45%, rgba(20,16,14,.66) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 70px; }
.hero h1 { color: #fff; max-width: 20ch; margin: 0 auto .5em; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero .btn { margin-bottom: 22px; }
.stars { color: var(--gold); letter-spacing: .28em; font-size: .95rem; }
.hero .tagline { max-width: 46ch; margin: 14px auto 0; color: rgba(255,255,255,.94); font-size: 1rem; }
.hero .kicker { margin-top: 26px; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.hero .scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.6); font-size: 1.4rem; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { translate: 0 0 } 50% { translate: 0 8px } }

/* ---------------------------------------------------------------- about band */
.about-band { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.about-copy p { font-size: .95rem; color: #3f4d57; }
.about-copy .gr { color: #55646e; }
.about-figure img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; }
.stat-row { display: flex; gap: 54px; margin-top: 30px; }
.stat .n { font-family: var(--serif); font-size: 2.4rem; color: var(--navy); line-height: 1; }
.stat .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: 8px; }
.stat .stars { font-size: .78rem; letter-spacing: .12em; display: block; margin-top: 6px; }

/* ------------------------------------------------------------ explore cards */
.explore-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.explore-card {
  position: relative; aspect-ratio: 5/6; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 26px; color: #fff; isolation: isolate;
}
.explore-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.explore-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,25,35,.30) 0%, rgba(10,25,35,.66) 100%); }
.explore-card:hover { text-decoration: none; }
.explore-card:hover img { transform: scale(1.06); }
.explore-card h3 { color: #fff; font-size: 1.35rem; margin: 0 0 .3em; }
.explore-card p { font-size: .84rem; color: rgba(255,255,255,.9); max-width: 26ch; margin: 0 0 18px; }
.explore-card .see {
  background: rgba(12,26,36,.62); color: #fff; border: 1px solid rgba(255,255,255,.28);
  padding: 9px 24px; border-radius: 999px; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; backdrop-filter: blur(3px); transition: background .18s ease;
}
.explore-card:hover .see { background: var(--gold); color: #3a2f16; border-color: var(--gold); }

/* ----------------------------------------------------------------- dark band */
.band-dark { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.band-dark .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.band-dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,32,47,.86), rgba(9,32,47,.92)); }
.band-dark .wrap { position: relative; z-index: 2; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead { color: rgba(255,255,255,.78); }

.host-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.host-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); color: var(--ink); }
.host-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.host-card .body { padding: 22px 24px 26px; text-align: center; }
.host-card h3 { margin: 0 0 .4em; color: var(--navy); }
.host-card p { margin: 0; font-size: .88rem; color: var(--muted); }

/* ------------------------------------------------------------- contact band */
.contact-band { position: relative; overflow: hidden; background: var(--navy-deep); color: #fff; }
.contact-band .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.contact-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(8,28,42,.94) 0%, rgba(11,38,54,.82) 55%, rgba(20,30,30,.86) 100%); }
.contact-band .wrap { position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; align-items: stretch; margin-top: 36px; }
.contact-panel {
  background: var(--olive); border-radius: 18px; padding: 32px 34px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
}
.contact-panel h3 { color: #fff; margin-bottom: 14px; }
.contact-panel label.fl { color: rgba(255,255,255,.88); }
.contact-photo { border-radius: 18px; overflow: hidden; margin-left: -46px; box-shadow: var(--shadow-lg); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.contact-note { margin: 14px 0 0; font-size: .78rem; color: rgba(255,255,255,.75); }

/* -------------------------------------------------------------- newsletter */
.newsletter { background: var(--cream); text-align: center; }
.newsletter img.logo { height: 74px; margin: 0 auto 20px; }
.newsletter form { display: flex; gap: 10px; max-width: 460px; margin: 22px auto 0; }
.newsletter input { flex: 1; }
.newsletter .btn { background: var(--gold); color: #3a2f16; }
.newsletter .btn:hover { background: var(--gold-deep); color: #fff; }

/* --------------------------------------------------------------- categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.cat { display: block; padding: 24px 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); color: inherit; transition: transform .16s ease, box-shadow .16s ease, border-color .16s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); text-decoration: none; }
.cat h3 { margin-bottom: .25em; color: var(--navy); }
.cat p { margin: 0; font-size: .9rem; color: var(--muted); }
.cat .count { display: inline-block; margin-top: 14px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

/* -------------------------------------------------------------------- cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--sand-200); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94); color: var(--navy); padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.card-price { position: absolute; bottom: 12px; right: 12px; background: rgba(10,42,63,.86); color: #fff; padding: 6px 13px; border-radius: 999px; font-size: .84rem; font-weight: 600; }
.card-price small { font-weight: 400; opacity: .75; font-size: .72rem; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin: 0 0 .2em; font-size: 1.2rem; }
.card-loc { font-size: .78rem; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; font-weight: 600; }
.card-desc { font-size: .89rem; color: var(--muted); flex: 1; margin: 0 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }

/* ------------------------------------------------------------------ filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .85rem; cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-right: 4px; }

/* ---------------------------------------------------------------- property */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.gallery .main { aspect-ratio: 3/2; background: var(--sand-200); cursor: zoom-in; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; cursor: pointer; opacity: .93; transition: opacity .15s; }
.gallery .thumbs img:hover { opacity: 1; }
.gallery .more { position: relative; }
.gallery .more span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10,42,63,.58); color: #fff; font-weight: 600; font-size: .9rem; }
.prop-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: start; margin-top: 38px; }
.specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.spec { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: .84rem; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.amenities li { font-size: .9rem; padding-left: 22px; position: relative; }
.amenities li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }
.bookbox { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); background: #fff; }
.bookbox .price { font-family: var(--serif); font-size: 2rem; color: var(--navy); }
.bookbox .price small { font-family: var(--sans); font-size: .82rem; color: var(--muted); font-weight: 400; }
.range-summary { margin: 14px 0 4px; padding: 10px 12px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .86rem; color: #3f4d57; }
.range-summary .range-total { float: right; font-weight: 700; color: var(--navy); }
.min-stay-note { margin-top: 4px; font-size: .78rem; font-weight: 600; color: var(--gold-deep); }
.day.in-range { background: var(--gold-100); border-color: #e2d3ac; border-radius: 0; }
.day.range-start { border-radius: 8px 0 0 8px; }
.day.range-end { border-radius: 0 8px 8px 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label.fl { display: block; font-size: .74rem; font-weight: 700; color: var(--muted); margin: 14px 0 5px; text-transform: uppercase; letter-spacing: .09em; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=password], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .94rem; background: #fff; color: var(--ink);
}
input::placeholder, textarea::placeholder { color: #9aa7ae; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.quote-box { background: var(--cream); border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px 0; font-size: .9rem; }
.quote-box .row { display: flex; justify-content: space-between; padding: 3px 0; }
.quote-box .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 9px; font-weight: 700; }

/* ------------------------------------------------------------------- table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--cream); white-space: nowrap; }
td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .73rem; font-weight: 600; text-transform: capitalize; }
/* Listing cover thumbnail. Sized here rather than inline so the mobile card can override it. */
.cover-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; display: block; }
.pill.pending { background: #fdf3e3; color: var(--warn); }
.pill.confirmed { background: #e8f4ec; color: var(--ok); }
.pill.declined, .pill.expired, .pill.cancelled { background: #f6eceb; color: var(--err); }
.pill.published { background: #e8f4ec; color: var(--ok); }
.pill.draft { background: #eef1f3; color: var(--muted); }

/* --------------------------------------------------------------- calendar */
.cal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.cal-head h3 { margin: 0; font-size: 1.15rem; min-width: 180px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal .dow { font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: center; padding-bottom: 4px; font-weight: 700; }
.day { position: relative; min-height: 62px; border: 1px solid var(--line); border-radius: 8px; padding: 6px; font-size: .78rem; background: #fff; cursor: pointer; text-align: left; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .12s, background .12s; }
.day:hover { border-color: var(--gold); }
.day.blank { border: 0; background: none; cursor: default; }
.day .p { font-size: .7rem; font-weight: 600; color: var(--navy-400); }
.day.booked { background: #f6eceb; border-color: #e6cfcc; }
.day.booked .p { color: var(--err); }
.day.blocked { background: #eef1f3; }
.day.past { opacity: .45; }
.day.today { outline: 2px solid var(--gold); }
.day.sel { background: var(--gold-100); border-color: var(--gold); }

/* ------------------------------------------------------------------- modal */
.modal-back { position: fixed; inset: 0; background: rgba(10,42,63,.62); z-index: 200; display: grid; place-items: center; padding: 20px; }
.modal { background: #fff; border-radius: var(--radius); max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 26px; box-shadow: var(--shadow-lg); }
.modal h3 { margin-top: 0; }
.lightbox { position: fixed; inset: 0; background: rgba(6,20,30,.95); z-index: 300; display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 8px; }
.lightbox .close, .lightbox .prev, .lightbox .next { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 999px; width: 46px; height: 46px; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; }
.lightbox .close { top: 22px; right: 22px; }
.lightbox .prev { left: 22px; top: 50%; }
.lightbox .next { right: 22px; top: 50%; }
.lightbox .cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: .85rem; opacity: .85; }

/* ------------------------------------------------------------------ admin */
body.admin-mode .site-header, body.admin-mode .site-footer { display: none; }
/* the WhatsApp bubble is a public-site affordance, not part of the dashboard */
body.admin-mode .wa-float { display: none; }
body.admin-mode #app { background: var(--cream); }
.admin-shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; background: var(--cream); }
.admin-side { background: var(--navy); color: #fff; padding: 24px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .brand { padding: 0 20px 22px; }
.admin-side .brand img { height: 40px; filter: brightness(0) invert(1); }
.admin-side nav { display: flex; flex-direction: column; }
.admin-side nav button { background: none; border: 0; color: rgba(255,255,255,.7); text-align: left; padding: 12px 22px; font: inherit; font-size: .9rem; cursor: pointer; border-left: 3px solid transparent; }
.admin-side nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side nav button.active { background: rgba(255,255,255,.1); color: #fff; border-left-color: var(--gold); font-weight: 600; }
.admin-side nav.side-secondary { margin-top: 16px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 10px; }
.admin-main { padding: 34px 36px 70px; }
.admin-main h2 { margin-bottom: 4px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-bottom: 28px; }
.kpi .box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.kpi .box .n { font-family: var(--serif); font-size: 2rem; color: var(--navy); line-height: 1.2; }
.kpi .box .l { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 8px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.login-wrap { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 60%, #123244 100%); padding: 20px; }
.login-card { background: #fff; border-radius: var(--radius); padding: 36px; width: 100%; max-width: 410px; box-shadow: var(--shadow-lg); }
.login-card img { height: 60px; margin: 0 auto 20px; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.76); padding: 58px 0 26px; font-size: .89rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 14px; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: var(--gold); }
.site-footer .fb { display: inline-flex; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.12); align-items: center; justify-content: center; margin-top: 4px; }
.site-footer .fb:hover { background: var(--gold); color: #3a2f16; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

/* ------------------------------------------------------------------ toasts */
.toast-host { position: fixed; right: 20px; bottom: 20px; z-index: 400; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); font-size: .9rem; max-width: 340px; }
.toast.ok { background: var(--ok); }
.toast.err { background: var(--err); }
.notice { border-radius: var(--radius-sm); padding: 12px 15px; font-size: .88rem; margin: 12px 0; }
.notice.warn { background: #fdf3e3; color: var(--warn); border: 1px solid #f0dcbb; }
.notice.info { background: var(--gold-100); color: var(--navy); border: 1px solid #e6d9bd; }
.notice.err { background: #f6eceb; color: var(--err); border: 1px solid #e8d2cf; }
.skeleton { background: linear-gradient(90deg, var(--cream) 25%, var(--sand-200) 37%, var(--cream) 63%); background-size: 400% 100%; animation: sk 1.3s infinite; border-radius: var(--radius); }
@keyframes sk { 0% { background-position: 100% 0 } 100% { background-position: 0 0 } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .about-grid, .host-grid, .contact-grid, .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  /* The centred logo eats middle width, so tighten the left nav before the 780px breakpoint. */
  .nav { gap: 16px; }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-photo { margin-left: 0; }
  .contact-photo img { min-height: 300px; }
  .bookbox { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .thumbs { grid-template-columns: repeat(4, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  /* Phone/tablet: the vertical sidebar becomes one sticky, horizontally scrolling row of pills.
     Both nav groups share that single row (separated by a rule) so the bar stays ~60px tall
     instead of eating two rows of a phone screen. */
  .admin-side {
    position: sticky; top: 0; z-index: 45; height: auto;
    display: flex; flex-direction: row; align-items: center; gap: 8px;
    padding: 10px 12px; overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .admin-side::-webkit-scrollbar { display: none; }
  .admin-side .brand { display: none; }
  .admin-side nav { flex-direction: row; gap: 6px; flex: 0 0 auto; }
  .admin-side nav.side-secondary {
    margin: 0 0 0 6px; border-top: 0; padding: 0 0 0 12px;
    border-left: 1px solid rgba(255,255,255,.16);
  }
  .admin-side nav button {
    white-space: nowrap; border-left: 0; border-bottom: 0; border-radius: 999px;
    padding: 11px 16px; min-height: 44px; font-size: .85rem;
    background: rgba(255,255,255,.07); flex: 0 0 auto;
  }
  .admin-side nav button.active { background: var(--gold); color: #2a2411; }
}
@media (max-width: 780px) {
  /* The mobile bar previously carried the language switch, two icon buttons, a Book now pill and
     the burger in one row, which is what made it look cramped. It now holds logo + language +
     menu, and Book now returns as a proper CTA inside the panel. */
  .site-header .bar { gap: 10px; }
  .site-header .brand img { height: 36px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn, .header-actions .btn { display: none; }
  .lang-switch { margin-right: 2px; }
  .nav {
    display: none; position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: 10px 22px calc(24px + env(safe-area-inset-bottom, 0px));
    gap: 0; box-shadow: var(--shadow-lg);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open { display: flex; }
  .nav > a, .nav .drop-toggle {
    padding: 15px 2px; width: 100%; justify-content: space-between;
    font-size: .82rem; letter-spacing: .12em; min-height: 50px;
    border-bottom: 1px solid rgba(255,255,255,.09);
  }
  .nav > a.nav-cta {
    display: inline-flex; justify-content: center; align-items: center;
    margin-top: 16px; border: 0; border-radius: 999px; min-height: 0;
    background: var(--olive); color: #fff; padding: 15px 20px; font-weight: 600;
  }
  .drop-menu { position: static; transform: none; opacity: 1; visibility: visible; translate: 0; background: rgba(255,255,255,.06); box-shadow: none; min-width: 0; display: none; padding: 4px 6px; border-radius: 10px; }
  .dropdown.open .drop-menu { display: block; }
  .drop-menu a { color: rgba(255,255,255,.85); padding: 13px 12px; border-radius: 8px; }
  .drop-menu a:hover { background: rgba(255,255,255,.12); color: #fff; }
  .drop-head { padding: 10px 12px 4px; }
  .burger {
    display: block; width: 42px; height: 42px; line-height: 1; padding: 0;
    font-size: 1.3rem; border-radius: 11px; background: rgba(255,255,255,.10);
  }
  .burger:hover { background: rgba(255,255,255,.18); }
  /* While the panel is open the bar must be opaque: the header is transparent over a hero, so
     otherwise the menu looks detached from a see-through strip. */
  body.nav-open .site-header { background: rgba(10, 42, 63, .98); backdrop-filter: saturate(160%) blur(10px); }
  body.nav-open { overflow: hidden; }
  .header-actions .btn { padding: 9px 16px; font-size: .78rem; }
  .section { padding: 54px 0; }
  .explore-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .gallery .thumbs { grid-template-columns: repeat(3, 1fr); }
  .admin-main { padding: 18px 14px 60px; }
  .card-panel { padding: 16px; }
  /* Headers and toolbars stack, and the primary action becomes a full-width tap target. */
  .admin-head { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 18px; }
  .admin-head .btn, .admin-head > *:last-child { width: 100%; }
  .toolbar { gap: 8px; }
  .toolbar .chip { min-height: 40px; padding: 9px 14px; }
  .kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
  .kpi .box { padding: 14px; }
  .kpi .box .n { font-size: 1.55rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  /* 16px keeps iOS Safari from zooming the whole page when a field is focused. */
  input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=password], select, textarea { font-size: 16px; padding: 13px 14px; }
  .btn { min-height: 44px; }
  /* Tables become stacked cards: each cell renders its own label from data-label. */
  .table-wrap { border: 0; background: none; border-radius: 0; overflow: visible; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap td { display: block; width: 100%; }
  .table-wrap thead { display: none; }
  .table-wrap tr {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 4px 14px 10px; margin-bottom: 12px; box-shadow: var(--shadow);
  }
  .table-wrap td { border: 0; border-bottom: 1px dashed var(--line); padding: 9px 0; }
  .table-wrap tr td:last-child { border-bottom: 0; }
  .table-wrap td::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-size: .66rem; text-transform: uppercase; letter-spacing: .09em;
    color: var(--muted); font-weight: 700;
  }
  .table-wrap td[data-label=""]::before { content: none; }
  .table-wrap td[data-label=""] { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; }
  .table-wrap td[data-label=""] .btn { flex: 1 1 auto; }
  .table-wrap td img { max-width: 100%; height: auto; }
  /* The listing cover becomes a card-style banner instead of a thumbnail. */
  .table-wrap td[data-label=""] .cover-thumb { width: 100%; height: 170px; border-radius: 10px; }
  .cell-text { max-width: none !important; white-space: pre-line; }
  /* Full-screen sheets read far better than a centred box on a phone. */
  .modal-back { padding: 0; align-items: stretch; }
  .modal { max-width: none; max-height: 100dvh; height: 100%; border-radius: 0; padding: 20px 16px 40px; }
  .cal { gap: 3px; }
  .cal-head { gap: 8px; }
  .cal-head h3 { min-width: 0; font-size: 1.05rem; }
  .day { min-height: 52px; padding: 4px; font-size: .72rem; border-radius: 6px; }
  .day .p { font-size: .64rem; }
  .quote-box { font-size: .86rem; }
  .newsletter form { flex-direction: column; }
  .stat-row { gap: 30px; }
}
/* Very narrow phones: tighten the bar and panel so nothing crowds. */
@media (max-width: 430px) {
  .wrap { padding: 0 16px; }
  .site-header .brand img { height: 32px; }
  .nav { padding-left: 16px; padding-right: 16px; }
  .lang-switch a { padding: 6px 7px; }
}
@media print { .site-header, .site-footer, .bookbox { display: none; } }

/* ---------------------------------------------------------------- WhatsApp */
/* Floating button: the channel this business actually answers on, always one tap away. */
.wa-float{position:fixed;right:18px;bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:70;
  display:inline-flex;align-items:center;gap:10px;background:#25D366;color:#fff;text-decoration:none;
  border-radius:999px;padding:12px 16px;box-shadow:0 8px 24px rgba(0,0,0,.25);
  font-weight:600;font-size:14px;line-height:1}
.wa-float:hover{filter:brightness(1.06)}
.wa-float svg{display:block}
.wa-float-label{white-space:nowrap}
.btn.wa{background:#25D366;border-color:#25D366;color:#fff}
.btn.wa:hover{filter:brightness(1.06)}
@media (max-width:640px){.wa-float{right:14px;padding:13px}.wa-float-label{display:none}}
