/* ==========================================================================
   Thassian Villas – public site
   Handwritten, no build step. Aegean palette: sea blue, olive, limestone, terracotta.
   ========================================================================== */

:root {
  --sea: #0f3d56;
  --sea-deep: #0a2a3c;
  --sea-mid: #1d5674;
  --sea-soft: #dce8ee;
  --olive: #66764a;
  --olive-soft: #e6e8d8;
  --sand: #f7f3ec;
  --sand-2: #efe7da;
  --stone: #ddd2c0;
  --terracotta: #b9583a;
  --terracotta-dark: #9c4529;
  --ink: #1b2830;
  --muted: #5e6a70;
  --line: rgba(15, 61, 86, .12);
  --white: #fff;
  --ok: #3f7a52;

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 42, 60, .06), 0 2px 8px rgba(10, 42, 60, .05);
  --shadow: 0 10px 30px -12px rgba(10, 42, 60, .25), 0 2px 6px rgba(10, 42, 60, .06);
  --shadow-lg: 0 30px 60px -20px rgba(10, 42, 60, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--sand); color: var(--ink);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terracotta); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sea); color: var(--sand); }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 880px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--sea); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

.display { font-family: var(--font-display); font-weight: 500; letter-spacing: -.01em; line-height: 1.05; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.display-md { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.h4 { font-size: 1.05rem; font-weight: 700; margin-top: 2rem; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.6; color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow-light { color: #f1dcc6; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; line-height: 1.1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sea); color: var(--sand); }
.btn-primary:hover { background: var(--terracotta); color: #fff; box-shadow: 0 10px 24px -10px rgba(185, 88, 58, .7); }
.btn-primary[disabled] { opacity: .45; pointer-events: none; }
.btn-sand { background: var(--sand); color: var(--sea); }
.btn-sand:hover { background: #fff; color: var(--terracotta); }
.btn-outline { border-color: var(--sea); color: var(--sea); background: transparent; }
.btn-outline:hover { background: var(--sea); color: var(--sand); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-light { background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { background: #fff; color: var(--sea); }
.btn-sm { padding: .7em 1.2em; font-size: .88rem; }
.btn-lg { padding: 1.15em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: inline-grid; place-items: center; cursor: pointer; color: var(--sea); transition: all .2s var(--ease);
}
.icon-btn:hover:not([disabled]) { background: var(--sea); color: #fff; border-color: var(--sea); }
.icon-btn[disabled] { opacity: .35; cursor: default; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header::before { /* soft shade so white nav stays legible on bright photos */
  content: ""; position: absolute; inset: 0 0 -40px 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(6, 26, 38, .45), rgba(6, 26, 38, 0)); transition: opacity .35s;
}
.site-header.is-solid {
  background: rgba(247, 243, 236, .92); color: var(--ink); --header-h: 66px;
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(10, 42, 60, .3);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.site-header.is-solid::before { opacity: 0; }
.header-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; opacity: .95; }
.brand-mark .icon { width: 22px; height: 22px; }
.brand-text { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.brand-text em { font-style: italic; font-weight: 400; margin-left: .2em; }
/* owner's olive-branch logo; a mask so it takes the header's text colour (white over photos, ink when solid) */
.brand-logo {
  display: block; height: 72px; aspect-ratio: 348 / 282; background-color: currentColor;
  -webkit-mask: url(/static/img/site/logo-mask.png) center / contain no-repeat; mask: url(/static/img/site/logo-mask.png) center / contain no-repeat;
  transition: height .35s var(--ease);
}
.site-header.is-solid .brand-logo { height: 60px; }
.footer-brand .brand-logo { height: 104px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; display: block; padding: .5rem .85rem; color: inherit; text-decoration: none;
  font-size: .93rem; font-weight: 600; letter-spacing: .02em;
}
.main-nav a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.site-header:not(.is-solid) .header-cta { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.site-header:not(.is-solid) .header-cta:hover { background: var(--terracotta); border-color: var(--terracotta); }

.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0; color: inherit; cursor: pointer;
  font-weight: 700; font-size: .85rem; letter-spacing: .08em; padding: .5rem .6rem; border-radius: 999px;
}
.lang-btn:hover { background: rgba(127, 127, 127, .14); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; list-style: none; margin: 0; padding: 6px;
  background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease);
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; gap: .6rem; padding: .55rem .75rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.lang-menu a b { width: 1.8em; color: var(--muted); font-size: .8rem; letter-spacing: .06em; padding-top: .1em; }
.lang-menu a:hover { background: var(--sand); }
.lang-menu a[aria-current="true"] { background: var(--sea-soft); color: var(--sea); font-weight: 600; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.nav-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
    background: var(--sand); color: var(--ink); display: flex; flex-direction: column; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-open .site-header { color: var(--ink); }
  .nav-open .site-header::before { opacity: 0; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { font-family: var(--font-display); font-size: 2rem; font-weight: 500; padding: .7rem 0; letter-spacing: 0; }
  .main-nav a::after { display: none; }
  .main-nav a[aria-current="page"] { color: var(--terracotta); }
  .nav-mobile-extra { display: block; margin-top: auto; padding-top: 2rem; }
  .nav-mobile-contact { margin-top: 1.25rem; color: var(--muted); font-size: .95rem; }
  .nav-mobile-contact a { color: var(--sea); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand-text { font-size: 1.3rem; } .brand-mark { width: 34px; height: 34px; } .site-header .brand-logo { height: 54px; } }

/* ------------------------------------------------------------------ hero (home) */
.hero { position: relative; min-height: max(640px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-media, .page-hero-media, .band-media { position: absolute; inset: -6% 0; z-index: -2; will-change: transform; }
.hero-media img, .page-hero-media img, .band-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: kenburns 26s ease-out both; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.0); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 26, 38, .35) 0%, rgba(6, 26, 38, 0) 28%),
    linear-gradient(0deg, rgba(6, 26, 38, .78) 0%, rgba(6, 26, 38, .35) 38%, rgba(6, 26, 38, 0) 65%);
}
.hero-content { padding-bottom: 2.2rem; }
.hero-title { font-size: clamp(2.6rem, 6.6vw, 5.4rem); max-width: 14ch; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-lead { color: rgba(255, 255, 255, .9); max-width: 44ch; }
.hero-bar { padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.hero-anim { animation: fadeUp 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; left: 50%; bottom: 14px; width: 26px; height: 40px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 2s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* ------------------------------------------------------------------ page hero */
.page-hero { position: relative; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; min-height: 440px; }
.page-hero-sm { height: 48vh; min-height: 380px; }
.page-hero-md { height: 62vh; }
.page-hero-lg { height: 76vh; min-height: 520px; }
.page-hero-media img { animation: kenburns 30s ease-out both; }
.page-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 26, 38, .75) 0%, rgba(6, 26, 38, .2) 55%, rgba(6, 26, 38, .35) 100%); }
.page-hero-content { padding-bottom: clamp(2rem, 6vh, 3.5rem); padding-top: calc(var(--header-h) + 2rem); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); margin-bottom: .2em; animation: fadeUp .9s var(--ease) both .1s; }
.page-hero .lead { color: rgba(255, 255, 255, .88); max-width: 52ch; animation: fadeUp .9s var(--ease) both .2s; }
.page-hero .eyebrow { animation: fadeUp .9s var(--ease) both; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.25rem 0 0; animation: fadeUp .9s var(--ease) both .3s; }
.hero-chips li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* ------------------------------------------------------------------ booking bar */
.booking-bar {
  display: grid; grid-template-columns: minmax(240px, 2.1fr) 1fr 1fr auto; gap: 0; align-items: stretch;
  background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg);
}
.booking-bar .field { padding: .55rem 1.1rem; border-right: 1px solid var(--line); margin: 0; min-width: 0; }
.booking-bar .field:nth-last-of-type(1) { border-right: 0; }
.booking-bar .field label { margin-bottom: .1rem; }
.booking-bar > * { min-width: 0; }
.booking-bar .field .date-input input, .booking-bar .field select { border: 0; border-radius: 0; padding: .15rem 0; background-color: transparent; font-weight: 600; font-size: 1rem; box-shadow: none; }
.booking-bar .field .date-input input::placeholder { color: var(--muted); font-weight: 500; }
.booking-bar .date-input .icon { display: none; }
.booking-bar .field-select select { padding-right: 1.5rem; background-position: right 0 center; }
.booking-bar .btn-search { border-radius: 16px; padding: 0 1.8rem; font-size: 1rem; }
.booking-bar .btn-search .icon { order: 2; }
.booking-bar-page { box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (max-width: 860px) {
  .booking-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 10px; gap: 4px; }
  .booking-bar .field-dates { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
  .booking-bar .field:nth-of-type(2) { border-right: 1px solid var(--line); }
  .booking-bar .btn-search { grid-column: 1 / -1; padding: 1rem; margin-top: 4px; }
}

/* ------------------------------------------------------------------ forms */
.field { display: block; margin-bottom: 1rem; }
.field label, .field > span {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem;
}
.field label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--stone); border-radius: var(--radius-sm); background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(15, 61, 86, .12); }
.field select {
  cursor: pointer; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230f3d56' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.date-input { position: relative; }
.date-input .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--sea); pointer-events: none; }
.date-input input { padding-left: 2.8rem; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: .75rem; align-items: flex-start; margin: .5rem 0 1.25rem; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--sea); flex: none; }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.form-errors, .quote-errors, .result-reasons {
  list-style: none; margin: 0 0 1.25rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm);
  background: #fbeee8; color: var(--terracotta-dark); font-size: .92rem; border: 1px solid #f1d2c4;
}
.form-errors li + li, .quote-errors li + li { margin-top: .25rem; }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-tight-top { padding-top: clamp(2rem, 4vw, 3rem); }
.section-sand { background: var(--sand-2); }
.section-sea { background: var(--sea-deep); color: #e9eef1; }
.section-sea .lead { color: rgba(233, 238, 241, .8); }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: .75rem; }

/* trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.trust-item { display: flex; gap: .85rem; align-items: center; }
.trust-item .icon { width: 30px; height: 30px; color: var(--olive); stroke-width: 1.3; }
.trust-item strong { display: block; font-size: .93rem; line-height: 1.3; }
.trust-item span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 1060px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } .trust-item:nth-child(n+4) { display: none; } }
@media (max-width: 640px) {
  .trust-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1.5rem; scrollbar-width: none; }
  .trust-grid::-webkit-scrollbar { display: none; }
  .trust-item, .trust-item:nth-child(n+4) { display: flex; flex: 0 0 auto; scroll-snap-align: start; }
}

/* intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.45rem; color: var(--sea); margin-top: 1.5rem; }
.signature small { display: block; font-family: var(--font-sans); font-style: normal; font-size: .78rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2.2rem 0 0; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.stats dt { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--sea); font-weight: 500; }
.stats dd { margin: .4rem 0 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.intro-collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 70px); gap: 14px; }
.intro-collage figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.intro-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro-collage figure:hover img { transform: scale(1.05); }
/* explicit stacking: the overlapping balcony photo always stays on top, also while a neighbour zooms */
.collage-a { grid-column: 1 / 6; grid-row: 1 / 5; z-index: 1; }
.collage-b { grid-column: 4 / 7; grid-row: 3 / 7; border: 6px solid var(--sand); z-index: 3; }
.collage-c { grid-column: 1 / 4; grid-row: 5 / 7; z-index: 2; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } .intro-collage { grid-template-rows: repeat(6, 52px); } }

/* villa cards */
.villa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); margin-bottom: 2.5rem; }
.villa-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.villa-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.villa-card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.villa-card-link:hover { color: inherit; }
.villa-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.villa-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.villa-card:hover .villa-card-media img { transform: scale(1.06); }
.villa-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.villa-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.villa-card h3 { font-family: var(--font-display); font-size: 1.85rem; font-weight: 600; margin: 0; }
.villa-card-tagline { color: var(--muted); font-size: .95rem; margin: .3rem 0 1rem; }
.price-from { margin: 0; white-space: nowrap; color: var(--ink); }
.price-from strong { font-size: 1.2rem; color: var(--terracotta); font-weight: 700; }
.price-from small { color: var(--muted); font-size: .8rem; }
.villa-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; padding: 1rem 0 0; margin: 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.villa-meta li { display: inline-flex; align-items: center; gap: .4rem; }
.villa-meta .icon { color: var(--olive); width: 1.1em; height: 1.1em; }

.badge {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem; padding: .38rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .02em; line-height: 1.2;
}
.badge-type { left: 14px; top: 14px; background: rgba(255, 255, 255, .92); color: var(--sea); }
.badge-free { left: 14px; bottom: 14px; background: rgba(15, 61, 86, .92); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.badge-free i { width: 7px; height: 7px; border-radius: 50%; background: #7fd39b; box-shadow: 0 0 0 0 rgba(127, 211, 155, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(127, 211, 155, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 211, 155, 0); } }
.badge-inline { position: static; }
.badge-free.badge-inline { background: #e7f2ea; color: var(--ok); }
.badge-free.badge-inline i { background: var(--ok); }
.badge-muted { background: #eceae6; color: var(--muted); }
.badge-pending { position: static; background: #fbf0dc; color: #8a5a12; margin-top: .4rem; }

/* band */
.band { position: relative; min-height: 70vh; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; }
.band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 26, 38, .72), rgba(6, 26, 38, .25)); }
.band-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.2; max-width: 22ch; margin: 0; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.feature { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.feature-media { aspect-ratio: 3 / 2; overflow: hidden; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.05); }
.feature-body { position: relative; padding: 2rem 1.6rem 1.6rem; }
.feature-icon { position: absolute; top: -26px; left: 1.6rem; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--terracotta); box-shadow: var(--shadow-sm); }
.feature h3 { font-family: var(--font-display); font-size: 1.55rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* island teaser */
.island-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.island-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.island-media img { width: 100%; height: 100%; object-fit: cover; }
.img-caption { position: absolute; left: 16px; bottom: 16px; padding: .35rem .8rem; border-radius: 999px; background: rgba(0, 0, 0, .45); color: #fff; font-size: .8rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.island-list { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; gap: 1.1rem; }
.island-list li { display: flex; gap: 1rem; align-items: flex-start; }
.island-list .icon { width: 26px; height: 26px; color: #e3b98f; margin-top: .15rem; }
.island-list strong { display: block; color: #fff; }
.island-list span { color: rgba(233, 238, 241, .75); font-size: .95rem; }
@media (max-width: 900px) { .island-grid { grid-template-columns: 1fr; } }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.review { margin: 0; background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border: 1px solid var(--line); }
.stars { display: flex; gap: 2px; color: #d39b4a; margin-bottom: 1rem; }
.stars .icon { width: 16px; height: 16px; }
.review blockquote { margin: 0 0 1.5rem; flex: 1; }
.review blockquote p { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.4; color: var(--ink); margin: 0; }
.review figcaption strong { display: block; }
.review figcaption span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* FAQ */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; color: var(--sea);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary i { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: background .25s, transform .35s var(--ease); }
.acc-item summary i::before, .acc-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .3s var(--ease); }
.acc-item summary i::after { transform: rotate(90deg); }
.acc-item[open] summary i { background: var(--sea); color: #fff; transform: rotate(180deg); }
.acc-item[open] summary i::after { transform: rotate(0); }
.acc-item summary:hover { color: var(--terracotta); }
.acc-body { padding: 0 3.5rem 1.4rem 0; color: var(--muted); }
.acc-item[open] .acc-body { animation: fadeUp .4s var(--ease); }

/* policy */
.policy-card { display: flex; gap: 1.5rem; padding: 1.8rem; border-radius: var(--radius); background: var(--olive-soft); border: 1px solid rgba(102, 118, 74, .2); margin-top: 1.5rem; }
.policy-icon { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--olive); }
.policy-icon .icon { width: 26px; height: 26px; }
.policy-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .6rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .icon { color: var(--olive); margin-top: .2rem; width: 1.05em; height: 1.05em; }
@media (max-width: 560px) { .policy-card { flex-direction: column; } }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--sea-deep); color: rgba(233, 238, 241, .78); font-size: .95rem; }
.footer-cta { background: linear-gradient(120deg, var(--sea) 0%, var(--sea-deep) 70%); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.footer-cta h2 { color: #fff; max-width: 20ch; margin: 0; }
.footer-cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-cta-inner { flex-direction: column; align-items: flex-start; } }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
.footer-grid-3 { grid-template-columns: 1.5fr 1fr 1.3fr; }
.footer-grid h3 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(233, 238, 241, .85); text-decoration: none; }
.site-footer a:hover { color: #f1c7a5; }
.site-footer .btn-sand, .site-footer .btn-sand:hover { color: var(--sea); }
.site-footer .btn-ghost-light:hover { color: #fff; }
.brand-light { color: #fff; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 36ch; }
.footer-host { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .icon { margin-top: .2rem; color: #e3b98f; width: 1.05em; height: 1.05em; }
.footer-contact small { opacity: .6; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-top: 1.4rem; padding-bottom: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; opacity: .7; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ villas overview */
.villa-group + .villa-group { margin-top: clamp(3rem, 6vw, 5rem); }
.group-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.group-head h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.group-head > p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .group-head { grid-template-columns: 1fr; gap: .8rem; } }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--sand); font-weight: 700; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: #fcfaf6; }
.compare td { color: var(--muted); }
.rates td, .rates th { white-space: nowrap; }
.season-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .6rem; vertical-align: 0; }
.season-off { background: #9fb4c0; }
.season-low { background: #9fb07a; }
.season-mid { background: #d8b36a; }
.season-high { background: #d48a5f; }
.season-peak { background: var(--terracotta); }

/* ------------------------------------------------------------------ villa detail */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }
.villa-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 10px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.vg-item { position: relative; overflow: hidden; border-radius: 6px; background: var(--stone); }
.vg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; }
.vg-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.vg-1 { grid-row: 1 / 3; border-radius: var(--radius) 6px 6px var(--radius); }
.vg-3 { border-top-right-radius: var(--radius); }
.vg-5 { border-bottom-right-radius: var(--radius); }
.vg-all { position: absolute; right: calc(var(--gutter) + 16px); bottom: 16px; }
@media (max-width: 760px) {
  .villa-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 120px; }
  .vg-1 { grid-column: 1 / -1; grid-row: auto; border-radius: var(--radius) var(--radius) 6px 6px; }
  .vg-4, .vg-5 { display: none; }
  .vg-2 { border-bottom-left-radius: var(--radius); }
  .vg-3 { border-radius: 6px 6px var(--radius) 6px; }
}
.villa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-bottom: clamp(3rem, 7vw, 6rem); }
.villa-main, .villa-aside, .checkout-main, .checkout-aside, .intro-text, .island-text, .location-grid > * , .contact-grid > * { min-width: 0; }
.villa-section { padding-bottom: 2.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.villa-section:last-child { border-bottom: 0; }
.facts { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.5rem; }
.facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.facts .icon { color: var(--terracotta); margin-top: .15rem; }
.amenities { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .8rem 1.5rem; }
.amenities li { display: flex; gap: .8rem; align-items: center; font-size: .95rem; }
.amenities .icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #fff; color: var(--sea); box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

.floorplan { display: grid; gap: 1rem; margin-top: 1.2rem; }
.floor { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.floor h3 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem .2rem; font-weight: 700; }
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rooms-ground { grid-template-columns: 1.4fr 1.2fr 1fr; }
.rooms-ground.rooms-3br { grid-template-columns: 1.3fr 1.1fr .9fr 1fr; }
.rooms-out { grid-template-columns: 1.4fr 1fr; }
.room {
  display: flex; flex-direction: column; gap: .2rem; padding: 1rem; min-height: 120px; border-radius: 10px;
  background: var(--sand); border: 1.5px dashed rgba(15, 61, 86, .18); font-size: .85rem;
}
.room .icon { color: var(--sea); width: 22px; height: 22px; margin-bottom: .3rem; }
.room strong { font-size: .92rem; }
.room span { color: var(--muted); line-height: 1.4; }
.room-bed { background: #eef3f5; }
.room-bath { background: #f2f0ea; }
.room-pool { background: linear-gradient(135deg, #d5ebf2, #b8dde9); border-style: solid; border-color: rgba(47, 126, 168, .25); }
.room-out { background: var(--olive-soft); }
@media (max-width: 700px) { .rooms, .rooms-ground, .rooms-ground.rooms-3br, .rooms-out { grid-template-columns: 1fr 1fr; } }

/* availability calendar */
.cal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.cal-nav { display: flex; gap: .5rem; flex: none; }
.avail-cal { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1.2rem; background: #fff; border-radius: var(--radius); padding: 1.4rem; border: 1px solid var(--line); min-height: 340px; }
.cal-loading { grid-column: 1 / -1; display: grid; place-items: center; color: var(--muted); }
.cal-month h4 { text-align: center; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; margin: 0 0 .8rem; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: .35rem; }
.cal-day {
  position: relative; aspect-ratio: 1 / 1.05; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; line-height: 1.1;
  font-size: .9rem; font-weight: 600; color: var(--ink); transition: background .15s, color .15s;
}
.cal-day small { font-size: .6rem; font-weight: 500; color: var(--muted); margin-top: 2px; }
.cal-day:hover:not(:disabled) { background: var(--sea-soft); }
.cal-day.is-past { color: #c4c4c4; cursor: default; }
.cal-day.is-past small { visibility: hidden; }
.cal-day.is-booked {
  color: #a7a7a7; cursor: not-allowed;
  background: repeating-linear-gradient(-45deg, #f1eee8, #f1eee8 4px, #e6e1d8 4px, #e6e1d8 8px);
}
.cal-day.is-booked small { text-decoration: line-through; color: #b3b3b3; }
.cal-day.is-closed { color: #9a9aa6; background: repeating-linear-gradient(-45deg, #ecebf1, #ecebf1 4px, #dcdbe5 4px, #dcdbe5 8px); }
/* night taken but the night before is free: another guest arrives that afternoon (15:00), so the day can still be a
   departure (check-out 11:00). Shade the afternoon (bottom-right) half only. */
.cal-day.is-checkout-only { cursor: pointer; background: linear-gradient(135deg, transparent 50%, #e6e1d8 50%); }
.cal-day.no-arrival:not(.is-booked):not(.is-past)::after { content: ""; position: absolute; top: 5px; right: 6px; width: 5px; height: 5px; border-radius: 50%; background: #d48a5f; opacity: .6; }
.cal-day.in-range { background: var(--sea-soft); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--sea); color: #fff; border-radius: 8px; }
.cal-day.is-start small, .cal-day.is-end small { color: rgba(255, 255, 255, .8); }
.cal-day.is-hover-range { background: #eaf1f4; border-radius: 0; }
.cal-blank { aspect-ratio: 1 / 1.05; }
.cal-legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.lg { width: 16px; height: 16px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }
.lg-free { background: #fff; }
.lg-booked { background: repeating-linear-gradient(-45deg, #f1eee8, #f1eee8 3px, #e0dad0 3px, #e0dad0 6px); }
.lg-closed { background: repeating-linear-gradient(-45deg, #ecebf1, #ecebf1 3px, #d6d5e0 3px, #d6d5e0 6px); }
.lg-noarrival { background: #fff; position: relative; }
.lg-noarrival::after { content: ""; position: absolute; top: 2px; right: 2px; width: 5px; height: 5px; border-radius: 50%; background: #d48a5f; }
.lg-sel { background: var(--sea); border-color: var(--sea); }
.cal-hint { margin: .8rem 0 0; padding: .75rem 1rem; border-radius: var(--radius-sm); background: var(--sea-soft); color: var(--sea); font-size: .9rem; font-weight: 500; }
.cal-hint.is-warn { background: #fbeee8; color: var(--terracotta-dark); }
@media (max-width: 700px) { .avail-cal { grid-template-columns: 1fr; padding: 1rem; } .cal-month + .cal-month { display: none; } }

/* booking card */
.villa-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.booking-card { background: #fff; border-radius: 24px; padding: 1.6rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.bc-head { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.bc-head .price-from strong { font-size: 1.7rem; font-family: var(--font-display); }
.bc-guests { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.quote { margin: .4rem 0 1rem; padding-top: 1rem; border-top: 1px dashed var(--stone); animation: fadeUp .35s var(--ease); }
.quote-lines { list-style: none; padding: 0; margin: 0 0 .7rem; display: grid; gap: .4rem; font-size: .92rem; color: var(--muted); }
.quote-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.quote-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: .7rem; border-top: 1px solid var(--line); font-weight: 700; }
.quote-total strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--sea); }
.quote-deposit { font-size: .82rem; color: var(--muted); margin: .3rem 0 0; }
.bc-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }
.bc-note .icon { color: var(--olive); flex: none; margin-top: .1rem; }
.bc-contact { font-size: .82rem; color: var(--muted); margin: .5rem 0 0; text-align: center; }
.mobile-book-bar { display: none; }
@media (max-width: 1000px) {
  .villa-layout { grid-template-columns: minmax(0, 1fr); }
  .villa-aside { position: static; max-width: 560px; }
  .mobile-book-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; justify-content: space-between; align-items: center; gap: 1rem;
    padding: .8rem var(--gutter) calc(.8rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 24px -12px rgba(10, 42, 60, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-book-bar.is-visible { transform: none; }
}

/* ------------------------------------------------------------------ gallery */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.2rem; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .6rem 1.1rem; cursor: pointer;
  font-weight: 600; font-size: .9rem; transition: all .2s var(--ease);
}
.chip small { color: var(--muted); font-weight: 500; margin-left: .2rem; }
.chip:hover { border-color: var(--sea); }
.chip.is-active { background: var(--sea); color: #fff; border-color: var(--sea); }
.chip.is-active small { color: rgba(255, 255, 255, .7); }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry-item { position: relative; display: block; margin-bottom: 14px; border-radius: 14px; overflow: hidden; break-inside: avoid; background: var(--stone); }
.masonry-item img { width: 100%; height: auto; transition: transform 1s var(--ease); }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item.is-hidden { display: none; }
.masonry-cat {
  position: absolute; left: 10px; bottom: 10px; padding: .25rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .9);
  font-size: .72rem; font-weight: 700; color: var(--sea); opacity: 0; transform: translateY(6px); transition: all .3s var(--ease);
}
.masonry-item:hover .masonry-cat, .masonry-item:focus-visible .masonry-cat { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 20, 28, .95); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(92vw, 1500px); max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
.lightbox figcaption { color: rgba(255, 255, 255, .7); font-size: .85rem; margin-top: .9rem; letter-spacing: .06em; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08);
  color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }

/* ------------------------------------------------------------------ thassos */
.location-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.distances { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.distances li { display: flex; align-items: center; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.distances .icon { color: var(--terracotta); }
.distances span { flex: 1; }
.distances strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--sea); white-space: nowrap; }
.map-card { position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; border: 1px solid var(--line); }
.map-card iframe { display: block; width: 100%; height: 520px; border: 0; filter: saturate(.85) contrast(1.02); }
.map-link { display: flex; gap: .5rem; align-items: center; padding: 1rem 1.2rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; } .map-card { position: static; } .map-card iframe { height: 380px; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); }
.step > .icon { width: 34px; height: 34px; color: var(--sea); margin-bottom: 1rem; stroke-width: 1.3; }
.step-n { position: absolute; top: 1.2rem; right: 1.5rem; font-family: var(--font-display); font-size: 3.2rem; line-height: 1; color: var(--stone); }
.step h3 { font-family: var(--font-display); font-size: 1.45rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
/* Thassos guide: sticky feature column + 2-col grid of equal-height cards */
.guide-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.guide-split.is-flipped .guide-aside { order: 2; }
.guide-aside { position: sticky; top: 110px; }
.guide-aside .section-head { margin-bottom: 1.5rem; }
.guide-feature { position: relative; margin: 0; border-radius: var(--radius-lg, 22px); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.guide-feature img { width: 100%; height: 100%; object-fit: cover; }
.guide-feature figcaption { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--sea); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.guide-feature figcaption svg { width: 16px; height: 16px; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.25rem); align-items: stretch; }
.guide-grid > .guide-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.guide-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; height: 100%; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.guide-body { padding: 1.4rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.guide-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.guide-icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--terracotta); }
.guide-icon svg { width: 18px; height: 18px; }
.guide-num { font-family: var(--font-display); font-size: 1.1rem; color: var(--line-strong, #c9bfae); letter-spacing: .04em; }
.guide-card h3 { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; margin: 0 0 .4rem; }
.guide-card p { color: var(--muted); font-size: .93rem; line-height: 1.6; margin: 0; flex: 1; }
.guide-tag { align-self: flex-start; margin-top: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .03em; padding: .3rem .7rem; border-radius: 999px; background: var(--olive-soft); color: var(--olive); }
@media (max-width: 960px) {
  .guide-split { grid-template-columns: 1fr; }
  .guide-split.is-flipped .guide-aside { order: 0; }
  .guide-aside { position: static; }
  .guide-feature { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-grid > .guide-card:last-child:nth-child(odd) { grid-column: auto; }
}
.big-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; color: var(--sea); }

/* ------------------------------------------------------------------ booking flow */
.stepper { display: flex; justify-content: center; gap: .5rem; list-style: none; padding: 0; margin: 0 0 2.2rem; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; color: var(--muted); }
.stepper li + li::before { content: ""; width: 36px; height: 1px; background: var(--stone); margin-right: .3rem; }
.stepper span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--stone); font-size: .8rem; background: #fff; }
.stepper .is-current { color: var(--sea); }
.stepper .is-current span { background: var(--sea); border-color: var(--sea); color: #fff; }
.stepper .is-done span { background: var(--olive-soft); border-color: transparent; color: var(--olive); }
@media (max-width: 520px) { .stepper li + li::before { width: 14px; } .stepper li { font-size: .8rem; } }
.search-panel { margin-bottom: 2rem; }
.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; }
.notice ul { margin: 0; padding: 0; list-style: none; }
.notice p { margin: .4rem 0 0; }
.notice-warn { background: #fbeee8; color: var(--terracotta-dark); border: 1px solid #f1d2c4; }
.notice .icon { margin-top: .15rem; }
.results-head { margin: 2.5rem 0 1.2rem; }
.results-head h2 { margin-bottom: .2rem; }
.results { display: grid; gap: 1rem; }
.result { display: grid; grid-template-columns: 260px 1fr auto; gap: 1.5rem; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: box-shadow .3s; }
.result:hover { box-shadow: var(--shadow); }
.result-media { display: block; min-height: 190px; overflow: hidden; }
.result-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.result:hover .result-media img { transform: scale(1.05); }
.result-body { padding: 1.4rem 0; }
.result-body .eyebrow { margin-bottom: .3rem; }
.result-body h3 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: .1rem; }
.result-body h3 a { color: inherit; text-decoration: none; }
.result-body .muted { font-size: .92rem; margin-bottom: .8rem; }
.result-body .villa-meta { border: 0; padding: 0; }
.result-reasons { margin: 1rem 0 0; font-size: .85rem; padding: .6rem .9rem; }
.result-price { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: .3rem; padding: 1.4rem 1.6rem; text-align: right; border-left: 1px solid var(--line); min-width: 210px; }
.result-price strong { font-family: var(--font-display); font-size: 2.1rem; color: var(--sea); line-height: 1; margin-top: .4rem; }
.result-price small { color: var(--muted); font-size: .82rem; margin-bottom: .6rem; }
.result.is-unavailable { opacity: .72; }
.result.is-unavailable .result-media img { filter: grayscale(.6); }
@media (max-width: 860px) {
  .result { grid-template-columns: 1fr; gap: 0; }
  .result-media { aspect-ratio: 16 / 9; min-height: 0; }
  .result-body { padding: 1.2rem 1.4rem 0; }
  .result-price { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; border-left: 0; border-top: 1px solid var(--line); margin-top: 1.2rem; padding: 1rem 1.4rem; }
  .result-price strong { margin: 0; }
  .result-price small { margin: 0; }
}
.empty-state { text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.checkout-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.back-link { display: inline-flex; align-items: center; gap: .3rem; margin-bottom: 1.2rem; font-weight: 600; font-size: .9rem; text-decoration: none; }
.summary-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.summary-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.summary-body { padding: 1.5rem; }
.summary-body h3 { font-family: var(--font-display); font-size: 1.9rem; }
.summary-dl { margin: 0 0 1.2rem; display: grid; gap: .8rem; }
.summary-dl > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.summary-dl dt { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding-top: .15rem; }
.summary-dl dd { margin: 0; text-align: right; font-weight: 600; }
.summary-dl dd small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
@media (max-width: 1000px) { .checkout { grid-template-columns: minmax(0, 1fr); } .checkout-aside { position: static; order: -1; } }

.confirm-card { background: #fff; border-radius: 24px; padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.confirm-top { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.confirm-top h2 { margin-bottom: .2rem; }
.confirm-top p { margin: 0; color: var(--muted); }
.success-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #e7f2ea; color: var(--ok); animation: pop .6s var(--ease) both .2s; }
.success-icon .icon { width: 28px; height: 28px; stroke-width: 2.2; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } 100% { transform: none; opacity: 1; } }
.ref { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.ref small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ref strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--sea); letter-spacing: .03em; line-height: 1.1; }
.confirm-grid { display: grid; grid-template-columns: 240px 1fr; gap: 1.6rem; align-items: start; }
.confirm-grid img { border-radius: var(--radius-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.next-steps { padding-left: 1.2rem; color: var(--muted); display: grid; gap: .5rem; }
.next-steps li::marker { color: var(--terracotta); font-weight: 700; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
@media (max-width: 720px) { .confirm-top { grid-template-columns: auto 1fr; } .ref { grid-column: 1 / -1; align-items: flex-start; text-align: left; } .confirm-grid { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 1rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.contact-list .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--sand); color: var(--terracotta); }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-list a, .contact-list span { font-weight: 600; text-decoration: none; }
.success-box { text-align: center; padding: 2rem 1rem; }
.success-box .success-icon { margin: 0 auto 1.2rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ flatpickr theme */
.flatpickr-calendar { font-family: var(--font-sans); border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 6px; }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after { display: none; }
.flatpickr-months .flatpickr-month { height: 44px; }
.flatpickr-current-month { font-size: 1rem; font-weight: 700; padding-top: 10px; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 700; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { padding: 14px; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--terracotta); }
span.flatpickr-weekday { color: var(--muted); font-weight: 700; font-size: .75rem; }
.flatpickr-day { border-radius: 10px; font-weight: 500; }
.flatpickr-day.today { border-color: var(--terracotta); }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange,
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover { background: var(--sea); border-color: var(--sea); color: #fff; }
.flatpickr-day.inRange, .flatpickr-day.inRange:hover { background: var(--sea-soft); border-color: var(--sea-soft); box-shadow: -5px 0 0 var(--sea-soft), 5px 0 0 var(--sea-soft); }
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) { box-shadow: -10px 0 0 var(--sea); }
.flatpickr-day.fp-booked { color: #b0b0b0; background: repeating-linear-gradient(-45deg, #f4f1ec, #f4f1ec 3px, #e8e3da 3px, #e8e3da 6px); text-decoration: line-through; }
.flatpickr-day.fp-booked.flatpickr-disabled { cursor: not-allowed; }
.flatpickr-day.fp-checkout-only:not(.selected):not(.inRange) { background: linear-gradient(135deg, transparent 50%, #e8e3da 50%); }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover { color: #cfcfcf; }

/* ------------------------------------------------------------------ reveal animations */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media, .band-media, .page-hero-media { transform: none !important; }
}

/* Villas overview: 2-up grid so 4 + 2 villas never leave an orphan card */
.villa-grid.villa-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .villa-grid.villa-grid-2 { grid-template-columns: 1fr; } }
/* Thassos guide: flipped sections keep the wide column for the cards */
@media (min-width: 961px) { .guide-split.is-flipped { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* Hover-zoom containers: own stacking context + GPU-clipped rounded corners so the
   scaling image never flickers past the radius or over neighbouring elements. */
.intro-collage figure, .villa-card-media, .feature-media, .vg-item, .masonry-item, .result-media, .guide-feature {
  isolation: isolate;
  transform: translateZ(0);
}
.intro-collage img, .villa-card-media img, .feature-media img, .vg-item img, .masonry-item img, .result-media img {
  will-change: transform;
  backface-visibility: hidden;
}

/* ---------- cookie consent (GDPR/AVG) ---------- */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-inner { pointer-events: auto; width: 100%; max-width: 760px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 1.4rem 1.6rem; animation: consent-in .35s var(--ease) both; }
@keyframes consent-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.consent-title { font-family: var(--font-display); font-size: 1.45rem; margin: 0 0 .35rem; color: var(--sea); }
.consent-text { font-size: .92rem; color: var(--muted); margin: 0 0 1rem; line-height: 1.55; }
.consent-text a { color: var(--sea); }
.consent-prefs { display: grid; gap: .6rem; margin: 0 0 1rem; }
.consent-prefs[hidden] { display: none; }
.consent-opt { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sand); cursor: pointer; }
.consent-opt strong { display: block; font-size: .95rem; }
.consent-opt small { display: block; color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.consent-always { font-size: .8rem; font-weight: 600; color: var(--sea); white-space: nowrap; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.consent-actions [hidden] { display: none; }
/* both choices look the same: no nudging towards "accept" */
.btn-consent { background: var(--sea); color: var(--sand); padding: .7rem 1.3rem; font-size: .92rem; }
.btn-consent:hover { background: var(--sea-mid); color: #fff; }
.link-btn { background: none; border: 0; padding: .4rem .2rem; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent .link-btn { color: var(--sea); font-size: .92rem; font-weight: 600; }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #c9d2d6; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--sea); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--terracotta); outline-offset: 2px; }
@media (max-width: 560px) {
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-inner { padding: 1.1rem 1.1rem 1.2rem; max-height: calc(100vh - 16px); overflow-y: auto; }
  .consent-actions .btn-consent { flex: 1 1 100%; justify-content: center; }
}

/* map placeholder until consent */
.consent-embed { height: 520px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--sea-soft), var(--sand-2)); }
.consent-embed.is-loaded { display: block; background: none; }
.consent-embed iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.consent-embed-box { max-width: 380px; text-align: center; padding: 1.5rem; color: var(--ink); }
.consent-embed-box > .icon { width: 38px; height: 38px; color: var(--sea); margin: 0 auto .6rem; display: block; }
.consent-embed-box strong { font-family: var(--font-display); font-size: 1.35rem; display: block; margin-bottom: .4rem; color: var(--sea); }
.consent-embed-box p { font-size: .9rem; color: var(--muted); margin: 0 0 1rem; }
.consent-embed-actions { display: grid; justify-items: center; gap: .6rem; }
.consent-embed-actions .check { margin: 0; font-size: .85rem; }
@media (max-width: 900px) { .consent-embed { height: 380px; } }

/* footer legal links + privacy page */
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; }
.footer-legal a, .footer-legal .link-btn { color: inherit; font-size: inherit; padding: 0; }
.legal h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.9rem); color: var(--sea); margin: 2.4rem 0 .7rem; }
.legal p { line-height: 1.7; }
.legal-updated { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.legal-table td, .legal-table th { white-space: normal; vertical-align: top; }
.legal-table td:nth-child(2) { min-width: 240px; }
.legal-table code { font-size: .85rem; background: var(--sand); padding: .1rem .35rem; border-radius: 4px; }
.privacy-note { margin: -.5rem 0 1.25rem; }

/* gallery photos fade in over their (already reserved) placeholder instead of popping in */
.js .masonry-item img { opacity: 0; transition: opacity .6s var(--ease), transform 1s var(--ease); }
.js .masonry-item img.is-loaded { opacity: 1; }
