/* =========================================================================
   Arancione — Chania, Crete
   Design system & site styles
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette — warm limewash, terracotta accent, Aegean blue secondary */
  --sand-50:  #FDFBF7;
  --sand-100: #F8F3EA;
  --sand-200: #EFE7D9;
  --sand-300: #E1D5C2;
  --sand-400: #C9B9A0;

  --ink-900: #1E1B17;
  --ink-700: #3D372F;
  --ink-500: #6B6154;
  --ink-400: #8C8274;

  --orange-600: #C2551F;
  --orange-500: #D9662B;
  --orange-400: #E8834B;
  --orange-100: #FBE9DD;

  --aegean-700: #1F4E6B;
  --aegean-500: #2E7A9E;
  --aegean-100: #E2EFF5;

  --white: #FFFFFF;

  /* Semantic */
  --bg: var(--sand-50);
  --bg-alt: var(--sand-100);
  --surface: var(--white);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --line: var(--sand-300);
  --accent: var(--orange-500);
  --accent-strong: var(--orange-600);

  /* Type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Space & shape */
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --maxw: 1200px;
  --maxw-narrow: 720px;
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(30, 27, 23, .06), 0 2px 8px rgba(30, 27, 23, .04);
  --shadow: 0 4px 12px rgba(30, 27, 23, .07), 0 12px 32px rgba(30, 27, 23, .07);
  --shadow-lg: 0 12px 28px rgba(30, 27, 23, .10), 0 32px 64px rgba(30, 27, 23, .12);

  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Author rules like `display: grid` silently beat the UA stylesheet's
   [hidden] { display: none }, which makes JS-toggled panels stay visible. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

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

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--maxw-narrow); }
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 .9rem;
  display: flex;
  align-items: center;
  gap: .65rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--accent);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .93rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 14px rgba(217, 102, 43, .28); }
.btn--primary:hover { background: var(--accent-strong); box-shadow: 0 8px 22px rgba(217, 102, 43, .34); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-400); background: rgba(255,255,255,.6); }
.btn--light { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.42); backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.7); }
.btn--sm { padding: .62rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(253, 251, 247, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(30,27,23,.05); }

/* Transparent-over-hero variant */
.site-header--overlay {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  color: var(--white);
}
.site-header--overlay .brand__name,
.site-header--overlay .nav__link,
.site-header--overlay .lang-btn { color: var(--white); }
.site-header--overlay .brand__mark { border-color: rgba(255,255,255,.6); color: var(--white); }
.site-header--overlay .nav__link::after { background: var(--white); }
.site-header--overlay .lang-btn,
.site-header--overlay .nav-toggle { border-color: rgba(255,255,255,.4); }
.site-header--overlay .nav-toggle span { background: var(--white); }
.site-header--overlay.is-scrolled {
  background: rgba(253, 251, 247, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  color: var(--text);
}
.site-header--overlay.is-scrolled .brand__name,
.site-header--overlay.is-scrolled .nav__link,
.site-header--overlay.is-scrolled .lang-btn { color: var(--text); }
.site-header--overlay.is-scrolled .brand__mark { border-color: var(--accent); color: var(--accent-strong); }
.site-header--overlay.is-scrolled .nav__link::after { background: var(--accent); }
.site-header--overlay.is-scrolled .lang-btn,
.site-header--overlay.is-scrolled .nav-toggle { border-color: var(--line); }
.site-header--overlay.is-scrolled .nav-toggle span { background: var(--text); }

.header-inner { display: flex; align-items: center; gap: 1.5rem; width: 100%; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 34px; height: 34px; flex: none;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  color: var(--accent-strong);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.28rem; font-weight: 500; letter-spacing: .02em;
  transition: color .3s var(--ease);
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: .58rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  opacity: .62; margin-top: -2px;
}

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; gap: .35rem; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .5rem .8rem;
  font-size: .92rem; font-weight: 500;
  text-decoration: none;
  border: 0; background: none; cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color .2s var(--ease), opacity .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem;
  height: 1.5px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__caret { width: 9px; height: 9px; transition: transform .25s var(--ease); opacity: .7; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 310px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  color: var(--text);
}
.nav__item.is-open .dropdown,
.nav__item--has-menu:focus-within .dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
/* Invisible bridge across the 10px gap: without it the menu closes as soon as
   the pointer leaves the trigger, before it can reach the links. */
.dropdown::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -16px;
  height: 16px;
}
.dropdown::before {
  content: ""; position: absolute; top: -6px; left: 50%; margin-left: -6px;
  width: 11px; height: 11px; background: var(--surface);
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg); border-radius: 2px 0 0 0;
}
.dropdown__item {
  display: flex; align-items: center; gap: .85rem;
  padding: .6rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color .18s var(--ease);
}
.dropdown__item:hover { background: var(--sand-100); }
.dropdown__thumb {
  width: 62px; height: 48px; flex: none;
  border-radius: 8px; object-fit: cover; background: var(--sand-200);
}
.dropdown__body { min-width: 0; }
.dropdown__title { display: block; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.dropdown__meta { display: block; font-size: .78rem; color: var(--text-muted); line-height: 1.4; }
.dropdown__item--soon { opacity: .62; cursor: default; pointer-events: none; }
.dropdown__thumb--soon {
  display: grid; place-items: center;
  border: 1px dashed var(--sand-400); background: var(--sand-100);
  color: var(--sand-400);
}
.dropdown__sep { height: 1px; background: var(--line); margin: .4rem .6rem; }

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .7rem .45rem .75rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .3s var(--ease);
}
.lang-btn:hover { border-color: var(--ink-400); }
.lang-btn svg { width: 14px; height: 14px; opacity: .7; }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 172px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: .35rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 10;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: .6rem; width: 100%;
  padding: .5rem .65rem;
  background: none; border: 0; border-radius: 8px;
  font-size: .89rem; text-align: left; cursor: pointer;
  transition: background-color .16s var(--ease);
}
.lang-menu button:hover { background: var(--sand-100); }
.lang-menu button[aria-current="true"] { color: var(--accent-strong); font-weight: 600; }
.lang-menu button[aria-current="true"]::after { content: "✓"; margin-left: auto; font-size: .8rem; }
.lang-flag { font-size: 1.05rem; line-height: 1; }

/* ---------- Mobile nav ---------- */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.6px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 4.5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.1px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .header-inner { gap: .6rem; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand-50); color: var(--text);
    border-bottom: 1px solid var(--line);
    padding: .75rem var(--gutter) 1.5rem;
    box-shadow: var(--shadow);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .site-header--overlay .nav .nav__link { color: var(--text); }
  .nav__link { padding: .85rem .25rem; font-size: 1.02rem; justify-content: space-between; }
  .nav__link::after { display: none; }
  .nav__item + .nav__item { border-top: 1px solid var(--line); }
  .dropdown {
    position: static; transform: none; min-width: 0; box-shadow: none;
    border: 0; border-radius: 0; padding: 0 0 .75rem;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .dropdown::before { display: none; }
  .nav__item.is-open .dropdown { display: block; transform: none; }
  .nav .btn { margin-top: 1rem; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex; align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero--short { min-height: min(72vh, 640px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(18,15,12,.55) 0%,
      rgba(18,15,12,.20) 20%,
      rgba(18,15,12,.42) 45%,
      rgba(18,15,12,.68) 70%,
      rgba(18,15,12,.90) 100%);
}
.hero__inner { width: 100%; padding-block: clamp(3rem, 8vh, 5.5rem) clamp(2.5rem, 6vh, 4rem); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.1rem;
}
.hero__eyebrow::before { content: ""; width: 30px; height: 1px; background: rgba(255,255,255,.65); }
.hero__eyebrow { text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero h1 { color: var(--white); margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0,0,0,.25); max-width: 15ch; }
.hero__sub { font-size: clamp(1.02rem, 1.9vw, 1.28rem); color: rgba(255,255,255,.94); max-width: 46ch; margin-bottom: 2rem; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Rating pill */
.rating-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .9rem .5rem .5rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: .84rem; color: var(--white);
}
.rating-pill__score {
  background: var(--aegean-700); color: var(--white);
  border-radius: 999px; padding: .22rem .6rem;
  font-weight: 700; font-size: .88rem; letter-spacing: .01em;
}
.rating-pill__text strong { font-weight: 600; }
.rating-pill__text span { opacity: .8; }

/* Hero fact bar */
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 0 2rem;
  margin-top: 2.25rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero__fact { display: flex; align-items: center; gap: .55rem; padding-block: .35rem; font-size: .9rem; color: rgba(255,255,255,.94); text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.hero__fact svg { width: 17px; height: 17px; opacity: .82; flex: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.45); border-radius: 999px;
  display: grid; place-items: start center; padding-top: 8px;
  z-index: 2;
}
.scroll-cue::after {
  content: ""; width: 3px; height: 7px; border-radius: 2px; background: rgba(255,255,255,.85);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(11px); opacity: .1; } }
@media (max-width: 700px) { .scroll-cue { display: none; } }

/* =========================================================================
   Reveal on scroll
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================================
   Feature / intro split
   ========================================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 2.25rem; }
  .split--reverse .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split__media--stack { padding-bottom: 3.5rem; padding-right: 3.5rem; }
.split__media--stack .split__img-2 {
  position: absolute; right: 0; bottom: 0;
  width: 52%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--bg);
  box-shadow: var(--shadow);
}
.section--alt .split__media--stack .split__img-2 { border-color: var(--bg-alt); }

/* Stat row */
.stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2rem; }
.stat__num { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--accent-strong); }
.stat__label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: .35rem; }

/* =========================================================================
   Apartment cards (home)
   ========================================================================= */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.apt-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.apt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.apt-card__media { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--sand-200); }
.apt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.apt-card:hover .apt-card__media img { transform: scale(1.05); }
.apt-card__badge {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  color: var(--ink-900);
  padding: .3rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.apt-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.apt-card__title { font-family: var(--font-display); font-size: 1.55rem; margin: 0 0 .3rem; }
.apt-card__loc { font-size: .84rem; color: var(--text-muted); display: flex; align-items: center; gap: .35rem; margin-bottom: .9rem; }
.apt-card__loc svg { width: 14px; height: 14px; flex: none; }
.apt-card__desc { font-size: .93rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.apt-card__meta { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; margin-bottom: 1.2rem; }
.chip {
  font-size: .76rem; padding: .32rem .68rem;
  background: var(--sand-100); border: 1px solid var(--sand-200);
  border-radius: 999px; color: var(--ink-700);
}
.apt-card__cta { display: flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--accent-strong); }
.apt-card__cta svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.apt-card:hover .apt-card__cta svg { transform: translateX(4px); }

.apt-card--soon { border-style: dashed; background: transparent; pointer-events: none; }
.apt-card--soon .apt-card__media {
  display: grid; place-items: center; aspect-ratio: 16/7;
  background: var(--sand-100); color: var(--sand-400);
}
.apt-card--soon .apt-card__body { justify-content: center; }
.apt-card--soon .apt-card__media svg { width: 42px; height: 42px; }

/* =========================================================================
   Gallery
   ========================================================================= */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--sand-200); cursor: zoom-in; border: 0; padding: 0;
  grid-column: span 4; aspect-ratio: 3/2;
}
.gallery__item--wide { grid-column: span 6; aspect-ratio: 16/9; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery__item:hover img { transform: scale(1.055); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,17,14,.45));
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: 1rem; bottom: .85rem; z-index: 2;
  color: var(--white); font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery__item, .gallery__item--wide, .gallery__item--tall { grid-column: span 1; aspect-ratio: 3/2; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16, 14, 12, .93);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 100%; max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  object-fit: contain;
}
.lightbox__cap { color: rgba(255,255,255,.8); font-size: .88rem; text-align: center; margin-top: 1rem; }
.lightbox__count { color: rgba(255,255,255,.45); font-size: .78rem; letter-spacing: .1em; margin-top: .3rem; text-align: center; }
.lightbox__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__btn--prev { left: clamp(.6rem, 2vw, 2rem); }
.lightbox__btn--next { right: clamp(.6rem, 2vw, 2rem); }
.lightbox__close {
  position: absolute; top: clamp(.8rem, 2vw, 1.6rem); right: clamp(.8rem, 2vw, 1.6rem);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: var(--white); display: grid; place-items: center; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__close svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .lightbox__btn { width: 40px; height: 40px; } }

/* =========================================================================
   Amenities
   ========================================================================= */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.5rem 1.75rem; }
.amenity { display: flex; gap: .85rem; align-items: flex-start; }
.amenity__icon {
  width: 40px; height: 40px; flex: none;
  border-radius: 11px;
  background: var(--orange-100);
  display: grid; place-items: center;
  color: var(--accent-strong);
}
.amenity__icon svg { width: 19px; height: 19px; }
.amenity__title { font-weight: 600; font-size: .95rem; line-height: 1.35; }
.amenity__note { font-size: .83rem; color: var(--text-muted); line-height: 1.45; }

.notice {
  display: flex; gap: .8rem; align-items: flex-start;
  margin-top: 2.75rem; padding: 1.1rem 1.3rem;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--text-muted);
}
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--accent-strong); }

/* =========================================================================
   Location
   ========================================================================= */
.location-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; } }
.map-frame {
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: var(--sand-200);
  aspect-ratio: 4/3;
  text-decoration: none;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.map-frame:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.map-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-frame__cta {
  position: absolute; right: .85rem; bottom: .85rem;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem;
  background: rgba(255,255,255,.94);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 600; color: var(--ink-900);
}
.map-frame:hover .map-frame__cta { background: var(--white); }
.dist-list { list-style: none; padding: 0; margin: 0; }
.dist-list li {
  display: flex; align-items: baseline; gap: .9rem;
  padding: .72rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
}
.dist-list li:last-child { border-bottom: 0; }
.dist-list__name { flex: 1; }
.dist-list__val { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent-strong); white-space: nowrap; }
.dist-list__dots { flex: 1; border-bottom: 1px dotted var(--sand-400); transform: translateY(-4px); min-width: 12px; }

.address-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
  margin-bottom: 1.75rem;
}
.address-card__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .4rem; }
.address-card__addr { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.4; }

/* =========================================================================
   Reviews / trust
   ========================================================================= */
.score-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.score-big {
  display: grid; place-items: center;
  width: 108px; height: 108px; border-radius: 26px;
  background: var(--aegean-700); color: var(--white);
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1;
  box-shadow: var(--shadow);
  flex: none;
}
.score-copy { text-align: left; max-width: 42ch; }
@media (max-width: 620px) { .score-copy { text-align: center; } .score-band { flex-direction: column; } }
.score-copy h3 { margin-bottom: .3rem; }
.score-source { font-size: .82rem; color: var(--text-muted); margin-top: .7rem; }
.score-source a { color: var(--accent-strong); }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band { position: relative; color: var(--white); isolation: isolate; overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(20,17,14,.82), rgba(31,78,107,.62)); }
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: rgba(255,255,255,.85); }


/* Direct-booking pitch inside the CTA band */
.cta-direct {
  max-width: 54ch;
  margin: 1.5rem auto 0;
  padding: 1rem 1.35rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: rgba(255,255,255,.94);
  font-size: .95rem;
}
.cta-direct strong {
  display: block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: .45rem;
}
.cta-direct::before {
  content: "";
  display: block;
  width: 34px; height: 2px;
  background: var(--orange-400);
  margin: 0 auto .8rem;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--orange-400); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-brand .brand__mark { border-color: rgba(255,255,255,.4); color: var(--orange-400); }
.footer-brand .brand__name { color: var(--white); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: .88rem; color: rgba(255,255,255,.6); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.licence { font-variant-numeric: tabular-nums; }

/* =========================================================================
   Guest guide — login
   ========================================================================= */
body.gate {
  min-height: 100dvh;
  display: grid; place-items: center;
  padding: 2rem 1.25rem;
  background:
    linear-gradient(rgba(20,17,14,.62), rgba(20,17,14,.72)),
    var(--bg) center/cover no-repeat;
}
.gate-card {
  width: 100%; max-width: 420px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 5vw, 2.75rem);
  text-align: center;
}
.gate-card .brand { justify-content: center; margin: 0 0 1.5rem; }
.gate-card h1 { font-size: 1.75rem; margin-bottom: .4rem; }
.gate-card p { color: var(--text-muted); font-size: .93rem; margin-bottom: 1.75rem; }
.field { text-align: left; margin-bottom: 1rem; }
.field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .45rem; }
.field input {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--sand-50);
  font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,102,43,.14); }
.gate-error {
  display: flex; align-items: center; gap: .55rem;
  background: #FDECEA; border: 1px solid #F5C6C0; color: #9B2C1D;
  padding: .7rem .9rem; border-radius: 8px; font-size: .87rem;
  margin-bottom: 1.1rem; text-align: left;
}
.gate-error svg { width: 16px; height: 16px; flex: none; }
.gate-foot { margin-top: 1.5rem; font-size: .82rem; color: var(--text-muted); }
.gate-foot a { color: var(--accent-strong); }


/* Safety warning — stronger than .notice, used for the boiler */
.warn {
  display: flex; gap: .85rem; align-items: flex-start;
  margin-top: 1rem; padding: 1rem 1.2rem;
  background: #FDF1E7;
  border: 1px solid #F0C9A8;
  border-left: 4px solid #C2551F;
  border-radius: var(--radius-sm);
  font-size: .93rem; color: #7A3413;
}
.warn svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: #C2551F; }
.warn strong { color: #5E2709; }
@media print { .warn { border: 2px solid #000; background: #fff; color: #000; } }


/* ---------- Guide tabs ---------- */
.guide-tabs {
  display: flex; gap: .4rem;
  background: var(--sand-100);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  width: fit-content; max-width: 100%;
}
.guide-tab {
  border: 0; background: none; cursor: pointer;
  padding: .6rem 1.3rem; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.guide-tab:hover { color: var(--text); }
.guide-tab[aria-selected="true"] {
  background: var(--surface); color: var(--accent-strong);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 520px) { .guide-tab { padding: .55rem .9rem; font-size: .86rem; } }

/* ---------- Place cards (photo + text) ---------- */
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 1.25rem; }
.place {
  margin: 0; display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.place:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.place__media { position: relative; aspect-ratio: 4/3; background: var(--sand-100); overflow: hidden; }
.place__media img { width: 100%; height: 100%; object-fit: cover; }
.place__media--none {
  display: grid; place-items: center;
  font-size: 2.4rem;
  background: linear-gradient(140deg, var(--sand-100), var(--orange-100));
}
.place__body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.place__name { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.place__desc { font-size: .88rem; color: var(--text-muted); margin-top: .35rem; flex: 1; }
.place__meta {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .75rem;
  font-size: .78rem; font-weight: 600; color: var(--accent-strong);
}
.place__meta::before { content: ""; width: 14px; height: 1px; background: var(--accent); }
.place__credit {
  display: block; margin-top: .6rem; padding-top: .55rem;
  border-top: 1px dashed var(--line);
  font-size: .68rem; color: var(--ink-400); line-height: 1.4;
}
.place__credit a { color: inherit; }
@media print {
  .guide-tabs { display: none; }
  .tabpanel[hidden] { display: block !important; }
  .place { break-inside: avoid; }
}

/* =========================================================================
   Guest guide — content
   ========================================================================= */
.guide-hero {
  background: linear-gradient(135deg, var(--aegean-700), #17394F);
  color: var(--white);
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.guide-hero h1 { color: var(--white); margin-bottom: .3em; }
.guide-hero .lede { color: rgba(255,255,255,.82); }
.guide-hero .eyebrow { color: var(--orange-400); }
.guide-hero .eyebrow::before { background: var(--orange-400); }

.guide-layout { display: grid; grid-template-columns: 232px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .guide-layout { grid-template-columns: 1fr; } .guide-toc { position: static !important; } }
.guide-toc {
  position: sticky; top: calc(var(--header-h) + 24px);
  border-left: 2px solid var(--line);
  padding-left: 1rem;
}
.guide-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; counter-reset: toc; }
.guide-toc a {
  display: block; padding: .4rem .5rem; border-radius: 6px;
  font-size: .87rem; color: var(--text-muted); text-decoration: none;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.guide-toc a:hover, .guide-toc a.is-active { color: var(--accent-strong); background: var(--orange-100); }

.guide-section { scroll-margin-top: calc(var(--header-h) + 24px); }
.guide-section + .guide-section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.guide-section > h2 {
  display: flex; align-items: center; gap: .85rem;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  padding-bottom: .6rem; border-bottom: 1px solid var(--line);
  margin-bottom: 1.5rem;
}
.guide-section > h2 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

.info-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.5rem;
}
.info-card + .info-card { margin-top: 1rem; }
.info-card h3 { font-family: var(--font-body); font-size: .96rem; font-weight: 700; margin-bottom: .5rem; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

.kv { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: .55rem 1.25rem; margin: 0; font-size: .95rem; }
.kv dt { color: var(--text-muted); font-size: .87rem; }
.kv dd { margin: 0; font-weight: 500; }

.cred {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--ink-900); color: var(--white);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
  margin-top: .85rem;
}
.cred__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.cred__value { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace; font-size: 1.15rem; letter-spacing: .06em; margin-top: .2rem; word-break: break-all; }
.copy-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: var(--white); font-size: .8rem; font-weight: 600; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.copy-btn:hover { background: rgba(255,255,255,.22); }
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn.is-done { background: #2F7D4F; border-color: #2F7D4F; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { position: relative; padding-left: 3rem; min-height: 2rem; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -1px;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--orange-100); color: var(--accent-strong);
  display: grid; place-items: center;
  font-size: .85rem; font-weight: 700;
}
.steps strong { display: block; }

.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.rules li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.rules svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.rules .ok { color: #2F7D4F; }
.rules .no { color: #B33A26; }

.tip-list { display: grid; gap: .9rem; }
.tip {
  display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem;
  padding: 1rem 1.15rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.tip__badge {
  grid-row: span 2; align-self: start;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--aegean-100); color: var(--aegean-700);
  display: grid; place-items: center; font-size: .95rem;
}
.tip__name { font-weight: 600; font-size: .96rem; }
.tip__desc { font-size: .87rem; color: var(--text-muted); }
.tip__meta { font-size: .78rem; color: var(--accent-strong); font-weight: 600; margin-top: .15rem; }

.placeholder {
  background: repeating-linear-gradient(45deg, var(--orange-100), var(--orange-100) 10px, #FCF1E8 10px, #FCF1E8 20px);
  border: 1px dashed var(--orange-400);
  color: var(--accent-strong);
  border-radius: var(--radius-sm);
  padding: .1rem .45rem;
  font-size: .9em; font-weight: 600;
}

.emergency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .85rem; }
.emergency {
  display: block; text-align: center; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem .75rem;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.emergency:hover { border-color: var(--accent); transform: translateY(-2px); }
.emergency__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-strong); line-height: 1; }
.emergency__label { font-size: .8rem; color: var(--text-muted); margin-top: .35rem; }

/* Print — guests may print the guide */
@media print {
  .site-header, .site-footer, .guide-toc, .btn, .copy-btn, .scroll-cue { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-section { break-inside: avoid; }
  .cred { background: #eee; color: #000; border: 1px solid #999; }
  .cred__label { color: #555; }
}
