@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; }
}

/* =====================================================================
   Skiathos Diamond — "Cut"
   Ice white and the logo's blues. Gem-cut (chamfered) corners on photos,
   cards and buttons; the aerial opener ends in a shallow pavilion point.
   Red Hat Display + Red Hat Text.
   ===================================================================== */
:root {
  --f-ink: #0f2233; --f-muted: #4d5f6e; --f-bg: #f7fafd; --f-border: #9fb3c4; --f-accent: #0066b3; --f-accent-d: #004f8c; --f-radius: 0;
  --white: #ffffff;
  --ice: #eef5fa;
  --ice-2: #dfecf5;
  --ink: #0f2233;
  --muted: #4d5f6e;
  --line: #d8e4ee;
  --blue: #0066b3;
  --blue-d: #004f8c;
  --cyan: #0095da;
  --navy: #0b2a45;
  --emerald: #1d7f45;
  --maria: #1d5f74;
  --display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --text: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --c: 18px;           /* the gem cut */
  --header-h: 5rem;
}
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
body { font: 400 1.0625rem/1.65 var(--text); color: var(--ink); background: var(--white); }
main:focus { outline: none; }
.wrap { width: min(1220px, 100% - 2 * clamp(1.25rem, 5vw, 3rem)); margin-inline: auto; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: .07em; }
a:hover { color: var(--blue-d); text-decoration-thickness: .14em; }
a[href^="tel:"] { white-space: nowrap; }
.ico { width: 1.2rem; height: 1.2rem; flex: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .8rem 1.3rem; background: #fff; color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.cut, .tile-cut, .gem-link, .hero-card, .page-head-card, .btn { clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); }
.btn { --c: 9px; }
/* clip-path hides an outline, so gem-cut controls show focus as an inset ring instead. */
.btn:focus-visible, .gem-link:focus-visible, .tile-cut:focus-visible, .filter:focus-visible, .nav-toggle:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--cyan), inset 0 0 0 6px #fff; }
.gem-link:focus-visible { box-shadow: inset 0 0 0 4px var(--cyan); }
.cut { margin: 0; overflow: hidden; }
.cut img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Type ---------- */
.display, .hero-title, .page-title, .card-h { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
.display { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); margin-bottom: 1rem; }
.hero-title { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); margin-bottom: 1.1rem; }
.page-title { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); margin-bottom: .9rem; }
.card-h { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1rem; font: 700 .8125rem/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: .7rem; height: .7rem; background: var(--cyan); clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%); }
.lede { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); line-height: 1.6; max-width: 38rem; }
.muted { color: var(--muted); }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 44rem; }
.sec-head-center { margin-inline: auto; text-align: center; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 700; text-decoration: none; }
.text-link .ico { transition: transform .2s var(--ease); }
.text-link:hover .ico { transform: translateX(4px); }
.list-h { font: 700 1.1rem/1.3 var(--display); margin: 1.5rem 0 .75rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .7rem 1.5rem; border: 0; font: 700 1.0625rem/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.btn .ico { width: 1.05rem; height: 1.05rem; }
.btn-lg { min-height: 3.4rem; padding: .85rem 1.8rem; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover, .btn-blue[aria-current="page"] { background: var(--blue-d); color: #fff; }
.btn-line { background: var(--ice-2); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--blue-d); }
.btn-white:hover { background: var(--ice); color: var(--navy); }
.btn-emerald { background: var(--emerald); color: #fff; }
.btn-emerald:hover { background: #15613a; color: #fff; }
.btn-maria { background: var(--maria); color: #fff; }
.btn-maria:hover { background: #144554; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem 1.5rem; min-height: var(--header-h); padding: .5rem clamp(1.25rem, 3vw, 2.5rem); }
.brand { flex: none; display: block; padding: .25rem 0; }
.brand img { width: clamp(200px, 18vw, 250px); height: auto; }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: .15rem; }
.nav-list a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; color: var(--ink); text-decoration: none; font: 500 1.0625rem/1 var(--display); }
.nav-list a:hover { color: var(--blue); }
.nav-list a[aria-current="page"] { color: var(--blue); }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 10px; height: 10px; margin-left: -5px; background: var(--cyan); clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%); }
.btn-res { flex: none; }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 2px solid var(--ink); cursor: pointer; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.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); }

/* ---------- Home hero: aerial photo cut to a pavilion point ---------- */
.hero { position: relative; }
.hero-photo { height: clamp(26rem, 78vh, 46rem); clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%); background: var(--ice-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-inner { position: relative; margin-top: clamp(-18rem, -24vw, -10rem); }
.hero-card { max-width: 40rem; padding: clamp(1.75rem, 4vw, 3rem); background: #fff; box-shadow: 0 30px 60px -30px rgba(11, 42, 69, .5); --c: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Facts strip ---------- */
.facts { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.facts-list { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.facts-list li { display: grid; gap: .2rem; align-content: start; padding: 1.4rem 1rem 1.4rem 0; }
.facts-list li + li { padding-left: 1.1rem; border-left: 1px solid var(--line); }
.facts-list .ico { width: 1.5rem; height: 1.5rem; color: var(--cyan); margin-bottom: .4rem; }
.facts-list strong { font: 700 1.5rem/1.1 var(--display); letter-spacing: -.02em; }
.facts-list span { color: var(--muted); font-size: .98rem; line-height: 1.4; }

/* ---------- Duo sections ---------- */
.duo { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.duo-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.duo-rev .duo-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.duo-rev .duo-photo { order: 2; }
.duo-photo { aspect-ratio: 3 / 2; }
.duo-portrait { aspect-ratio: 4 / 5; max-height: 36rem; }

/* ---------- The Diamond family (three gems) ---------- */
.family { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--ice); }
.gems { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.gem { --gem: var(--blue); }
.gem-emerald { --gem: var(--emerald); }
.gem-maria { --gem: var(--maria); }
.gem-link { position: relative; display: grid; grid-template-rows: auto 1fr; align-content: start; height: 100%; background: #fff; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease); --c: 24px; }
.gem-link:hover { color: var(--ink); transform: translateY(-4px); }
.gem-facet { position: absolute; z-index: 2; left: 50%; top: calc(clamp(12rem, 20vw, 16rem) - 1.4rem); width: 2.8rem; height: 2.8rem; margin-left: -1.4rem; background: var(--gem); clip-path: polygon(20% 0, 80% 0, 100% 35%, 50% 100%, 0 35%); box-shadow: 0 0 0 4px #fff; }
.gem-photo { display: block; height: clamp(12rem, 20vw, 16rem); overflow: hidden; }
.gem-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gem-link:hover .gem-photo img { transform: scale(1.04); }
.gem-body { display: grid; gap: .5rem; padding: 2rem 1.5rem 1.6rem; border-top: 5px solid var(--gem); }
.gem-place { display: inline-flex; align-items: center; gap: .35rem; font: 700 .8125rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gem); }
.gem-place .ico { width: 1rem; height: 1rem; }
.gem-name { font: 700 1.5rem/1.15 var(--display); letter-spacing: -.02em; }
.gem-text { color: var(--muted); }
.gem-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-weight: 700; color: var(--gem); }
.gem.is-current .gem-link { box-shadow: inset 0 0 0 3px var(--gem); }

/* ---------- Kolios ---------- */
.kolios { padding: clamp(4rem, 9vw, 7rem) 0; }
.kolios-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.kolios-photo { aspect-ratio: 16 / 10; }

/* ---------- Reservation band ---------- */
.resband { padding: clamp(3rem, 7vw, 4.5rem) 0; background: linear-gradient(120deg, var(--navy), var(--blue)); color: #e6f1f9; }
.resband .display { color: #fff; margin-bottom: .5rem; }
.resband-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; }
.resband-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0; }
.resband-tel { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #fff; font: 700 1.2rem/1 var(--display); text-decoration: none; }
.resband-tel:hover { color: #fff; text-decoration: underline; }
.resband :focus-visible { outline-color: #fff; }

/* ---------- Inner page head ---------- */
.page-head { position: relative; padding-bottom: clamp(2rem, 5vw, 3rem); }
/* Inner pages: a straight photo band (the pavilion point is kept for the home page, where it stays visible). */
.page-head-photo { height: clamp(16rem, 42vh, 26rem); background: var(--ice-2); }
.page-head-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-head .wrap { margin-top: clamp(-8rem, -10vw, -4rem); position: relative; }
.page-head-card { max-width: 46rem; padding: clamp(1.5rem, 3.5vw, 2.5rem); background: #fff; box-shadow: 0 24px 50px -28px rgba(11, 42, 69, .45); --c: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1.25rem; font-size: .95rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }
.crumbs a { color: var(--muted); }

/* ---------- Compare table ---------- */
.compare { padding: clamp(3rem, 7vw, 5rem) 0; }
.table-wrap { overflow-x: auto; }
.cmp { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 1rem; }
.cmp th, .cmp td { padding: 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { font: 700 1.1rem/1.2 var(--display); border-bottom: 3px solid var(--blue); }
.cmp thead th:nth-child(3) { border-bottom-color: var(--emerald); }
.cmp thead th:nth-child(4) { border-bottom-color: var(--maria); }
.cmp tbody th { font-weight: 700; color: var(--muted); width: 9rem; }

/* ---------- Apartments / Maria / Emerald ---------- */
.apt { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 9vw, 6rem); }
.apt-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.apt-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.tile-cut { --c: 14px; aspect-ratio: 1; }
.apt-photo { aspect-ratio: 4 / 3; }
.apt-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.checks { list-style: none; display: grid; gap: .1rem; }
.checks-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.checks .ico { margin-top: .25rem; color: var(--cyan); }
.villa { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.villa-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.5rem 0; border-top: 3px solid var(--emerald); }
.spec div { padding: .9rem .75rem .9rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 700 .75rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin: .2rem 0 0; font: 700 1.05rem/1.3 var(--display); }
.villa-rules { color: var(--muted); }
.villa-mail { display: inline-flex; align-items: center; gap: .5rem; }
.villa-mail .ico { color: var(--emerald); }
.dist { padding: 1.75rem; background: var(--ice); }
.dist h3 { font: 700 1.2rem/1.2 var(--display); margin-bottom: 1rem; }
.dist ul { list-style: none; }
.dist li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.dist strong { font-family: var(--display); white-space: nowrap; }
.em-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }

/* ---------- Tiles, gallery, lightbox ---------- */
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: var(--ice-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.gallery { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 9vw, 6rem); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter { min-height: 46px; padding: .5rem 1.25rem; border: 0; font: 700 1rem/1.2 var(--text); color: var(--ink); background: var(--ice); cursor: pointer; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.filter:hover { background: var(--ice-2); }
.filter[aria-pressed="true"] { background: var(--blue); color: #fff; }
.gallery-grid { columns: 3 17rem; column-gap: .85rem; }
.gallery-grid .tile { break-inside: avoid; margin-bottom: .85rem; }
.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; } }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(8, 22, 36, .96); opacity: 0; transition: opacity .26s; }
.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; transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { font-size: 1rem; color: #dbe8f2; text-align: center; }
.lb-counter { position: absolute; left: 1.4rem; top: 1.4rem; margin: 0; font: 700 .9rem/1 var(--text); letter-spacing: .1em; color: #dbe8f2; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); background: rgba(11, 42, 69, .9); color: #fff; cursor: pointer; }
.lb-btn:hover { background: var(--blue); border-color: var(--blue); }
.lb-btn:focus-visible { outline-color: #fff; }
.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; }

/* ---------- Skiathos ---------- */
.island { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.island-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.prose { max-width: 42rem; }
.prose h3 { font: 700 1.35rem/1.2 var(--display); margin: 1.75rem 0 .5rem; }
.island-facts { display: grid; margin: 0; background: var(--ice); padding: 1.5rem; }
.island-facts div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.island-facts div:last-child { border-bottom: 0; }
.island-facts dt { font: 700 .75rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.island-facts dd { margin: .2rem 0 0; font: 700 1.6rem/1.1 var(--display); color: var(--blue); }
.travel { padding: clamp(3.5rem, 8vw, 5rem) 0; background: var(--ice); }
.travel-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.travel-card { padding: 1.6rem; background: #fff; clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px); }
.travel-card > .ico { width: 1.6rem; height: 1.6rem; color: var(--cyan); margin-bottom: .8rem; }
.travel-card h3 { font: 700 1.25rem/1.2 var(--display); margin-bottom: .6rem; }
.travel-links { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: .35rem .85rem; background: var(--ice); color: var(--blue-d); font-size: .95rem; font-weight: 700; text-decoration: none; }
.chip:hover { background: var(--blue); color: #fff; }
.chip .ico { width: .95rem; height: .95rem; }

/* ---------- Reservations & contact ---------- */
.res { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(4rem, 9vw, 6rem); }
.res-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.res-card { padding: clamp(1.75rem, 4vw, 2.75rem); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); }
.big-link { font: 700 clamp(1.3rem, 1.05rem + 1vw, 1.8rem)/1.3 var(--display); overflow-wrap: anywhere; }
.big-mail { margin-bottom: 1.5rem; }
.ask { display: grid; gap: .1rem; padding-left: 1.3rem; }
.ask li { padding: .45rem 0 .45rem .3rem; border-bottom: 1px solid var(--line); }
.ask li::marker { color: var(--blue); font-weight: 700; }
.res-side { display: grid; gap: 1rem; min-width: 0; }
.res-note p, .res-card { overflow-wrap: anywhere; }
.res-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: 1.5rem; background: var(--ice); }
.res-note .ico { width: 1.6rem; height: 1.6rem; color: var(--blue); }
.res-note p { margin: 0; }
.res-phones { padding: 1.5rem; border: 1px solid var(--line); }
.res-small { margin: 0; color: var(--muted); font-size: .98rem; }
.form-intro { color: var(--muted); }
.res-mail { display: flex; align-items: center; gap: .5rem; margin-top: .75rem; overflow-wrap: anywhere; }
.res-mail .ico { color: var(--cyan); }
.res-side .contact-photo { margin-top: 0; }
.res-side .contact-dl dt { font-size: .75rem; }
.phone-list { list-style: none; display: grid; gap: .25rem; }
.phone-list li { display: flex; flex-wrap: wrap; gap: 0 .75rem; align-items: baseline; }
.phone-list span { min-width: 4.5rem; font: 700 .75rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: inherit; opacity: .8; }
.phone-list a { font: 700 1.15rem/1.6 var(--display); }
.contact-dl { display: grid; margin: 0; }
.contact-dl div { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-dl div:first-child { padding-top: 0; }
.contact-dl dt { display: flex; align-items: center; gap: .5rem; font: 700 .8125rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-dl dt .ico { color: var(--cyan); }
.contact-dl dd { margin: 0; }
.contact-photo { aspect-ratio: 4 / 5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d8e6f1; padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr .8fr 1fr; gap: 2rem clamp(1.5rem, 4vw, 3rem); }
.footer-brand img { width: 64px; margin-bottom: 1rem; }
.footer-h { margin-bottom: .9rem; font: 700 .8125rem/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; color: #8fd3f3; }
.footer-links { list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .92rem; color: #b8cbdb; }
.colophon p { margin: 0; }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .facts-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-list li:nth-child(4) { padding-left: 0; border-left: 0; }
  .facts-list li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .em-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .em-grid .tile:nth-child(n+4) { aspect-ratio: 3 / 2; }
  .em-grid .tile:nth-child(4) { grid-column: 1 / span 2; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-inner { gap: .75rem; }
  .btn-res { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; height: 100vh; height: 100dvh; display: none; margin: 0; padding: 1.5rem clamp(1.25rem, 5vw, 3rem) 3rem; background: #fff; border-top: 1px solid var(--line); overflow-y: auto; }
  .site-header.is-open .nav { display: block; }
  .nav-list { flex-direction: column; }
  .nav-list a { width: 100%; min-height: 3.4rem; padding: 0; font-size: 1.4rem; border-bottom: 1px solid var(--line); }
  .nav-list a[aria-current="page"]::after { left: auto; right: 0; bottom: 50%; margin: 0 0 -5px; }
}
@media (max-width: 900px) {
  .duo-grid, .duo-rev .duo-grid, .kolios-grid, .apt-grid, .villa-grid, .island-grid, .res-grid, .resband-inner { grid-template-columns: minmax(0, 1fr); }
  .duo-rev .duo-photo { order: 0; }
  .gems { grid-template-columns: minmax(0, 1fr); max-width: 34rem; margin-inline: auto; }
  .travel-list { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { margin-top: -6rem; }
  .contact-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  :root { --header-h: 4.25rem; }
  .brand img { width: 150px; }
  .btn-res { min-height: 44px; padding: .5rem .9rem; font-size: .95rem; }
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-list li:nth-child(n) { padding-left: 1rem; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .facts-list li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts-list li:nth-child(-n+2) { border-top: 0; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checks-2 { grid-template-columns: minmax(0, 1fr); }
  .apt-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-grid .tile:nth-child(4) { grid-column: auto; }
  .em-grid .tile:nth-child(5) { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-dl div { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .gallery-grid { columns: 2; column-gap: .6rem; }
  .gallery-grid .tile { margin-bottom: .6rem; }
  .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-inner { gap: .5rem; padding-inline: 1rem; }
  .brand img { width: 116px; }
  .btn-res { padding: .5rem .75rem; font-size: .9rem; }
}

/* ---------- 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; }
