@import url("fonts.css");

/* ============================================================
   Plumbing only. Nothing here is a design decision — no colour,
   no typeface, no layout. Each site writes its own visual system
   on top; this file only carries the things that must be right
   on every site and are invisible when they are.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A sideways-scrollable page drags position:fixed elements out of view on
     phones. Clip rather than scroll. (clip, not hidden: hidden would make html
     a scroll container and break scroll-padding and sticky.) */
  overflow-x: clip;
}

body { margin: 0; }
/* Lock scrolling on the ROOT, not on body. html already has overflow-x:clip,
   so overflow:hidden on body turns body into its own scroll container — a
   position:sticky header then sticks to body and is thrown off-screen (with
   its close button) when the menu opens after scrolling. site.js puts
   .is-locked on <html> directly; a :has() selector was tried first and its
   style invalidation visibly lagged behind the menu opening. */
html.is-locked { overflow: hidden; }
/* [hidden] must win. A rule like `.gallery-more { display:flex }` outranks the
   browser's own `[hidden] { display:none }`, which left an empty "Show 0 more"
   button on screen whenever a gallery had nothing further to reveal. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
/* A <button> inherits the user agent's grey `buttonface` unless something says
   otherwise. An outline/ghost button that sets only border-color and color then
   renders as light-grey with (often white) text on it — invisible. Reset here;
   any variant that wants a fill sets one and wins on specificity. */
button { background: transparent; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll. The JS failsafe shows everything if the observer
   never runs, so content can never be stranded invisible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .lightbox, .skip-link, .gallery-more, .filters, .map-consent, .callbar { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* Thalasses Villas (2026-09-24) — from the logo: the red-orange sun over the turquoise sea line, the thin
   charcoal wordmark. Light pages of white concrete and warm stone like the houses; the sun-over-sea mark on
   labels and bands; charcoal and a deeper sun colour for buttons. Lexend (headings) + Nunito Sans (text). */
:root {
  --ink: #2a2a2a;           /* the wordmark */
  --sun: #ff4814;           /* the logo's sun: marks only */
  --sun-d: #c5390f;         /* the sun, deep enough for white text */
  --sea: #80c8c4;           /* the logo's sea line */
  --sea-d: #256c68;
  --sea-l: #eaf6f5;
  --stone: #f6f4f0;
  --stone-2: #ece7df;
  --white: #ffffff;
  --body: #444341;
  --muted: #676460;
  --line: #e5e0d8;
  --display: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --r: 20px;
  --header-h: 5rem;
  --wrap: min(1240px, 100% - 2 * clamp(1rem, 4vw, 2.5rem));
  --shadow: 0 1px 0 rgba(42, 42, 42, .04), 0 26px 50px -30px rgba(42, 42, 42, .4);
  --f-accent: var(--ink); --f-accent-d: #000; --f-bg: #fff; --f-border: #d8d2c8; --f-ink: var(--ink); --f-muted: var(--muted); --f-radius: 12px;
}
html { scroll-padding-top: calc(var(--header-h) + 1rem); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--body); font: 400 1.07rem/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sea-d); text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 300; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.ico { width: 1.2rem; height: 1.2rem; flex: none; }
:focus-visible { outline: 2px solid var(--sun-d); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .8rem 1.2rem; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

/* The sun over the sea line */
.sunwave { width: 2.1rem; height: auto; flex: none; }
.label, .kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 .9rem; font: 500 .8rem/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kicker { color: #fff; }
.h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.6rem); line-height: 1.04; }
.h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); line-height: 1.12; }
.h3 { font-size: 1.3rem; font-weight: 400; line-height: 1.25; }
.lede { font-size: clamp(1.1rem, 1rem + .35vw, 1.28rem); line-height: 1.6; }
.small { margin-top: .8rem; display: flex; align-items: center; gap: .45rem; font-size: .95rem; color: var(--muted); }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .65rem 1.5rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font: 500 1rem/1 var(--display); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; cursor: pointer; }
.btn:hover { background: #000; border-color: #000; color: #fff; }
.btn .ico { width: 1.05rem; height: 1.05rem; }
.btn-sm { min-height: 42px; padding: .45rem 1.1rem; font-size: .94rem; }
.btn-sun { background: var(--sun-d); border-color: var(--sun-d); }
.btn-sun:hover { background: #a82f0b; border-color: #a82f0b; }
.btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-light:hover { background: var(--stone-2); border-color: var(--stone-2); color: var(--ink); }
.btn-line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .75); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: #fff; border-color: #fff; color: var(--ink); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.more { margin-top: 1.7rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem 1.6rem; min-height: var(--header-h); width: var(--wrap); margin-inline: auto; }
.brand { display: inline-flex; flex: none; }
.brand img { width: auto; height: 3.4rem; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: .1rem; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; color: var(--ink); text-decoration: none; font: 400 1.02rem/1 var(--display); border-radius: 999px; }
.nav a:hover { background: var(--stone); }
.nav a[aria-current="page"] { color: var(--sun-d); }
.nav .sub { list-style: none; position: absolute; left: 0; top: 100%; min-width: 13rem; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav .sub a { display: flex; width: 100%; border-radius: 10px; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; margin: auto; background: var(--ink); transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.site-header.is-open .nav-toggle .bars { background: transparent; }
.site-header.is-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Heroes: the photo full width, titles on it, bottom left */
.hero { position: relative; display: grid; align-items: end; isolation: isolate; background: var(--ink); color: #fff; }
.hero-photo { position: absolute; inset: 0; z-index: -1; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 20, 20, .72) 0%, rgba(20, 20, 20, .3) 42%, rgba(20, 20, 20, 0) 70%), linear-gradient(90deg, rgba(20, 20, 20, .45), rgba(20, 20, 20, 0) 65%); }
.hero .h1 { max-width: 20ch; margin-bottom: 1rem; color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .3); }
.hero .lede { max-width: 36rem; color: rgba(255, 255, 255, .95); }
.hero-home { min-height: max(32rem, calc(100vh - var(--header-h))); min-height: max(32rem, calc(100svh - var(--header-h))); }
.hero-home .hero-in { padding: 6rem 0 clamp(3rem, 8vh, 5.5rem); }
.hero-home .h1 { max-width: 17ch; margin-bottom: 1.6rem; font-size: clamp(2.3rem, 1.4rem + 3.2vw, 3.9rem); }
.hero-page { min-height: clamp(24rem, 62vh, 40rem); }
.hero-page .hero-in { padding: 6rem 0 clamp(2.8rem, 6vw, 4.2rem); }
.hero-short { min-height: clamp(20rem, 46vh, 30rem); }
/* The old site's Skiathos watercolour: its title is painted in, so it is never cropped away from the middle */
.art-strip { display: block; width: 100%; height: clamp(9rem, 17.5vw, 13.5rem); margin-bottom: clamp(1rem, 2vw, 1.6rem); border-radius: var(--r); overflow: hidden; }
.art-strip img, .art-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.art-hero { background: var(--stone); }
.art-hero-photo { margin: 0; width: 100%; height: clamp(11rem, 18vw, 22rem); }
.crumbs-dark { padding-block: .9rem 0; }
.art-hero .crumbs ol { color: var(--muted); }
.art-hero .crumbs a { color: var(--ink); }
.crumbs { margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; font-size: .93rem; color: rgba(255, 255, 255, .9); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }
.crumbs a { color: #fff; }

.section { padding-block: clamp(4.5rem, 9vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-stone { background: var(--stone); }
.section-sea { background: var(--sea-l); }
.sec-head { margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem); max-width: 46rem; }
.sec-head .h2 + p { margin-top: 1rem; }
.sec-head:has(> .btn) { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }

/* Home: intro and distances */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.intro-text p { font-size: 1.15rem; }
.intro-text p + p { margin-top: 1rem; }
.intro .dist-row { grid-column: 1 / -1; }
.dist { list-style: none; margin: 0; padding: 0; }
.dist li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .8rem; align-items: center; }
.dist .ico { grid-row: span 2; width: 1.5rem; height: 1.5rem; color: var(--sea-d); }
.dist strong { font: 300 1.7rem/1.1 var(--display); color: var(--ink); }
.dist span { color: var(--muted); font-size: .95rem; }
.dist-row, .dist-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.dist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; border: 0; padding: 0; margin: 0; }
.vloc .dist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; }

/* Villa cards */
.vcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.2vw, 1.8rem); }
.vcards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vcard { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.vcard-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.vcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.vcard:hover .vcard-photo img { transform: scale(1.04); }
.vcard-body { display: grid; align-content: start; gap: 1rem; padding: 1.3rem 1.4rem 1.5rem; }
.vcard .h3 { font-size: 1.55rem; font-weight: 300; }
.vcard .h3 a { color: var(--ink); text-decoration: none; }
.specs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 1rem; margin: 0; padding: 0; font-size: .97rem; }
.specs li { display: flex; align-items: center; gap: .5rem; }
.specs .ico { color: var(--sea-d); }
.vcard .row { margin-top: auto; }

/* Home: the features — two photos overlapping, text beside, alternating */
.feats { display: grid; gap: clamp(4rem, 9vw, 7rem); }
.feat { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feat:nth-child(even) .feat-photos { order: 2; }
.feat-photos { position: relative; padding: 0 12% 14% 0; }
.fp { margin: 0; border-radius: var(--r); overflow: hidden; }
.fp img { width: 100%; height: 100%; object-fit: cover; }
.fp-a { aspect-ratio: 4 / 3; }
.fp-b { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--shadow); }
.feat-num { margin-bottom: .6rem; font: 300 1.2rem/1 var(--display); color: var(--sun-d); letter-spacing: .1em; }
.feat .h2 { margin-bottom: 1rem; }

/* Home: the private beach */
.beach { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(28rem, 80vh, 46rem); color: #fff; }
.beach-photo { position: absolute; inset: 0; z-index: -1; margin: 0; }
.beach-photo img { width: 100%; height: 100%; object-fit: cover; }
.beach-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 20, 20, .8), rgba(20, 20, 20, .45) 40%, rgba(20, 20, 20, 0) 72%), linear-gradient(90deg, rgba(20, 20, 20, .35), rgba(20, 20, 20, 0) 60%); }
.beach-in { padding-block: 3rem clamp(2.5rem, 6vw, 4rem); }
.beach .h2 { color: #fff; max-width: 20ch; margin-bottom: .8rem; }
.beach .lede { max-width: 36rem; color: rgba(255, 255, 255, .95); }

/* Services */
.serv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.serv .h2 { margin-bottom: 1rem; }
.serv-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.serv-cols > div, .amen > div { padding: 1.4rem 1.5rem; border-radius: var(--r); background: #fff; }
.serv-cols .h3, .amen .h3 { margin-bottom: .7rem; }
.ticks { list-style: none; display: grid; gap: .45rem; margin: 0; padding: 0; }
.ticks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; }
.ticks .ico { margin-top: .25rem; color: var(--sea-d); }

/* Photo cards with a frosted band and an arrow */
.pcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.pcard { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover img { transform: scale(1.04); }
.pcard-band { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1.1rem; border-radius: 14px; background: rgba(20, 20, 20, .3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pcard-band strong { font: 300 1.5rem/1.1 var(--display); }
.pcard-band .ico { transition: transform .25s var(--ease); }
.pcard:hover .pcard-band .ico { transform: translateX(4px); }

/* The booking band */
.band { position: relative; isolation: isolate; padding-block: clamp(5rem, 11vw, 8rem); color: #fff; background: var(--ink); }
.band-photo { position: absolute; inset: 0; z-index: -1; margin: 0; }
.band-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, .66), rgba(20, 20, 20, .25) 60%, rgba(20, 20, 20, .1)); }
.band-in { display: grid; justify-items: start; gap: 1rem; }
.band .sunwave { width: 3.2rem; }
.band .h2 { color: #fff; max-width: 18ch; }
.band .lede { max-width: 32rem; color: rgba(255, 255, 255, .95); }

/* Villa page */
.facts-bar { background: var(--stone); border-bottom: 1px solid var(--line); }
.facts-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-block: 1rem; }
.specs-bar { display: flex; flex-wrap: wrap; gap: .5rem 2rem; font: 400 1.02rem/1.3 var(--display); color: var(--ink); }
.vintro { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: start; }
.vintro .h2 { margin-bottom: 1.1rem; }
.rooms { list-style: none; display: grid; gap: .8rem; margin: 0; padding: 0; }
.rooms li { position: relative; padding: 1rem 1.2rem 1rem 3rem; border-radius: 16px; background: var(--stone); }
.rooms li::before { content: ""; position: absolute; left: 1.2rem; top: 1.45rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sun); box-shadow: 0 .45rem 0 -.18rem var(--sea); }
.avail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4rem); align-items: start; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); border: 1px solid var(--line); }
.avail .h2 { margin-bottom: 1rem; }
.avail-text p:not(.label) + p { margin-top: 1.4rem; }
.av { --av-free: #e4f3f2; --av-free-ink: #1d5552; --av-booked: #fbe1d7; --av-booked-ink: #8f2c0c; --av-sel: var(--ink); --av-range: #c9e8e5; --av-line: var(--line); }
.av-title { font-family: var(--display); font-weight: 400; }
.amen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.filter { min-height: 44px; padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 400 .98rem/1 var(--display); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-grid { columns: 3 15rem; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.gallery-grid .tile { break-inside: avoid; margin-bottom: clamp(.6rem, 1.2vw, 1rem); }
.gallery-grid .tile.is-entering { animation: tile-in .45s var(--ease) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.gallery-more { display: flex; justify-content: center; margin-top: 1.4rem; }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--stone); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(20, 20, 20, .96); opacity: 0; transition: opacity .25s; }
.lightbox.is-open { display: block; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { position: absolute; inset: 4.5rem 4.5rem 4rem; display: grid; place-items: center; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .8rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 11rem); width: auto; height: auto; border-radius: 10px; transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { color: #e8e6e2; text-align: center; }
.lb-counter { position: absolute; left: 1.4rem; top: 1.4rem; margin: 0; color: #b5b1ab; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:disabled { display: none; }
.lb-prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-next { right: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-close { right: 1rem; top: 1rem; }
.vloc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; border-top: 1px solid var(--line); }
.vloc .h2 { margin-bottom: .8rem; }

/* Villas: comparison */
.cmp { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 400 1.2rem/1.2 var(--display); background: var(--stone); }
.cmp thead th a { color: var(--ink); }
.cmp thead td { background: var(--stone); }
.cmp tbody th { width: 16%; font-weight: 700; color: var(--ink); }

/* Location, Skiathos */
.loc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; }
.loc .h2 { max-width: 16ch; }
.addr { color: var(--muted); font-size: .95rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 5rem); align-items: center; }
.split-photo { margin: 0; aspect-ratio: 7 / 4; border-radius: var(--r); overflow: hidden; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.split .h2 { margin-bottom: 1rem; }
.split p + p { margin-top: 1rem; }
.tip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; padding: 1rem 1.2rem; border-radius: 14px; background: #fff; }
.tip .ico { color: var(--sun-d); margin-top: .2rem; }
.isl { display: grid; gap: clamp(3rem, 7vw, 5rem); }
.split-alt:nth-child(even) .split-photo { order: 2; }
.video-frame { position: relative; max-width: 62rem; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; background: rgba(20, 20, 20, .25); pointer-events: none; }
.video-frame.is-playing::after { display: none; }
.video-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 5.2rem; height: 5.2rem; margin: -2.6rem 0 0 -2.6rem; padding: 0; border: 0; border-radius: 50%; background: var(--sun-d); color: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, .35); cursor: pointer; transition: transform .2s var(--ease); }
.video-play .ico { width: 1.8rem; height: 1.8rem; margin-left: 5px; fill: currentColor; }
.video-play:hover { transform: scale(1.07); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.card .h2 { margin-bottom: .4rem; }
.form-intro { margin-bottom: 1.2rem; color: var(--muted); }
.contact-side .h3 { margin-bottom: 1rem; }
.ways { display: grid; gap: .7rem; }
.way { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.2rem; border-radius: 16px; background: var(--stone); color: var(--ink); text-decoration: none; }
.way:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.way .ico { width: 1.4rem; height: 1.4rem; color: var(--sea-d); }
.way small { display: block; color: var(--muted); font-size: .85rem; }
.way strong { display: block; font-weight: 600; overflow-wrap: anywhere; }
.side-book { display: grid; justify-items: start; gap: .8rem; margin-top: 1.2rem; padding: 1.4rem; border-radius: var(--r); background: var(--sea-l); }

/* Footer */
.site-footer { background: var(--ink); color: #cfccc7; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem 3rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-logo img { width: 13rem; height: auto; }
.footer-about p { margin-top: 1rem; max-width: 24rem; }
.footer-about .row { margin-top: 1.4rem; }
.footer-h { margin: 0 0 .8rem; font: 500 .8rem/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--sea); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: .35rem; }
.footer-links a, .footer-contact a { color: #fff; text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: .55rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .6rem; }
.footer-contact .ico { color: var(--sea); }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-block: 1.2rem 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .93rem; }
.site-footer .colophon a { color: #fff; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-tools { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; margin: 0; padding: 1rem max(1rem, calc((100vw - 1240px) / 2)) 1.5rem; background: #fff; border-bottom: 1px solid var(--line); }
  .site-header.is-open .nav { display: block; }
  .nav > ul { flex-direction: column; gap: .3rem; }
  .nav a { width: 100%; min-height: 3.2rem; padding: 0 1rem; font-size: 1.1rem; background: var(--stone); border-radius: 12px; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; display: grid; gap: .3rem; margin: .3rem 0 0; padding: 0 0 0 1rem; border: 0; box-shadow: none; background: transparent; }
  .nav .sub a { min-height: 2.8rem; background: #fff; border: 1px solid var(--line); }
  .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .amen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amen > :last-child { grid-column: 1 / -1; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .intro, .feat, .serv, .vintro, .avail, .vloc, .loc, .split { grid-template-columns: minmax(0, 1fr); }
  .feat:nth-child(even) .feat-photos, .split-alt:nth-child(even) .split-photo { order: 0; }
  .dist-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.4rem; }
  .cmp { overflow: visible; border: 0; }
  .cmp table, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; }
  .cmp thead { display: none; }
  .cmp tbody tr { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .cmp tbody th { width: auto; padding: 0 0 .3rem; border: 0; }
  .cmp td { padding: .15rem 0; border: 0; }
  .cmp td::before { content: attr(data-v) ": "; font-weight: 700; color: var(--muted); }
}
@media (max-width: 600px) {
  .brand img { height: 2.8rem; }
  .header-inner { gap: .6rem; }
  .vcards, .vcards-2, .pcards, .serv-cols, .amen, .footer-in, .dist-grid, .vloc .dist { grid-template-columns: minmax(0, 1fr); }
  .amen > :last-child { grid-column: auto; }
  .specs-bar { gap: .4rem 1.2rem; }
  .fp-b { border-width: 4px; }
  .lb-stage { inset: 4rem .5rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; margin: 0; }
  .lb-prev { left: calc(50% - 3.6rem); }
  .lb-next { right: calc(50% - 3.6rem); }
}
@media (max-width: 380px) {
  .header-tools .btn-sm { padding: .45rem .8rem; font-size: .88rem; }
  .brand img { height: 2.4rem; }
}
.avail .av-months { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

/* ---------- Form (shared by the hospitality sites; themed by --f-* set in each site's CSS) ---------- */
.site-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.2rem; align-items: end; }
.form-row-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr)); gap: .9rem; }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field label { font-weight: 600; }
.req { color: var(--f-accent); }
.hint { margin: 0; font-size: .92rem; color: var(--f-muted); }
.field input:not([type="checkbox"]), .field textarea, .field select { width: 100%; min-height: 3.1rem; padding: .7rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--f-ink); background: var(--f-bg); border: 2px solid var(--f-border); border-radius: var(--f-radius); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.25rem) 55%, calc(100% - .9rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--f-ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--f-accent); outline-offset: 2px; box-shadow: none; border-color: var(--f-ink); background-color: #fff; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: flex; gap: .45rem; align-items: center; margin: .1rem 0 0; font-size: .95rem; font-weight: 600; color: #b3261e; }
.field-error .ico { width: 1.1rem; height: 1.1rem; }
.field-check { grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: start; }
.field-check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; accent-color: var(--f-accent); }
.field-check label { font-weight: 400; font-size: .98rem; }
.field-check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .92rem; color: var(--f-muted); }
.btn-submit { justify-self: start; background: var(--f-accent); color: #fff; }
.btn-submit:hover { background: var(--f-accent-d); color: #fff; }
.btn-submit:disabled { opacity: .65; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: #1f6b3a; }
.form-status[data-kind="error"] { color: #b3261e; }
/* availability.css — the availability calendar. Theme it per site with the --av-* variables. */
.av {
  --av-free: #e3f1e7;         /* available nights */
  --av-free-ink: #1f4d2c;
  --av-booked: #ecd3d3;       /* booked nights */
  --av-booked-ink: #7a2e2e;
  --av-sel: #303030;          /* your chosen stay */
  --av-sel-ink: #ffffff;
  --av-range: #d9dde2;
  --av-past-ink: #a4a9ae;
  --av-line: #e1e4e8;
  --av-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.av-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .6rem; }
.av-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 24rem)); justify-content: center; gap: 1.2rem 2rem; }
.av-nav { display: grid; place-items: center; width: 44px; height: 44px; margin-top: -.35rem; padding: 0; border: 1px solid var(--av-line); border-radius: 50%; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.av-nav:hover:not(:disabled) { background: var(--av-sel); border-color: var(--av-sel); color: var(--av-sel-ink); }
.av-nav:disabled { opacity: .3; cursor: default; }
.av-title { margin: 0 0 .7rem; text-align: center; font-weight: 600; text-transform: capitalize; }
.av-grid { display: grid; gap: 3px; }
.av-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.av-wd { padding: .2rem 0; text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.av-cell { display: block; }
.av-day { display: grid; place-items: center; width: 100%; aspect-ratio: 1; min-height: 2.2rem; margin: 0; padding: 0; border: 0; border-radius: 8px; background: var(--av-free); color: var(--av-free-ink); font: inherit; font-size: .95rem; }
button.av-day { cursor: pointer; }
button.av-day:hover { outline: 2px solid var(--av-sel); outline-offset: -2px; }
.av-day.is-booked { background: var(--av-booked); color: var(--av-booked-ink); text-decoration: line-through; text-decoration-thickness: 1px; }
.av-day.is-in { background: linear-gradient(135deg, var(--av-free) 50%, var(--av-booked) 50%); }
.av-day.is-out { background: linear-gradient(135deg, var(--av-booked) 50%, var(--av-free) 50%); }
.av-day.is-past { background: transparent; color: var(--av-past-ink); }
.av-day.is-today { box-shadow: inset 0 0 0 2px currentColor; }
.av-day.is-range { background: var(--av-range); color: inherit; }
.av-day.is-start, .av-day.is-end { background: var(--av-sel); color: var(--av-sel-ink); text-decoration: none; }
.av-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 0; padding: 0; font-size: .92rem; }
.av-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.av-key { width: 1rem; height: 1rem; border-radius: 4px; }
.av-key-free { background: var(--av-free); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.av-key-booked { background: var(--av-booked); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.av-key-sel { background: var(--av-sel); }
.av-status { min-height: 1.5em; margin: .6rem 0 0; font-weight: 500; }
.av-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.av-clear { padding: .35rem .8rem; border: 1px solid var(--av-line); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .9rem; cursor: pointer; }
.av-updated { margin: 0; font-size: .85rem; opacity: .7; }
.av-error .av-months, .av-error .av-legend { display: none; }
@media (max-width: 420px) { .av-head { grid-template-columns: 1fr 1fr; } .av-months { grid-column: 1 / -1; grid-row: 2; } .av-next { justify-self: end; } }
