/* =========================================================
   Villa Scala — Tribunj, Dalmacija
   Palette sampled from the villa photography:
     deep Adriatic night   #1b2f3f
     pool / sea blue       #1a6f9e
     sunset gold           #c1934e
     cognac leather        #9f552d
     limestone / sand      #ded7cb
   Typography: Playfair Display (display) + Inter (text)
   ========================================================= */

:root {
  --c-bg:        #faf8f4;   /* warm limestone white */
  --c-bg-alt:    #f1ece3;   /* sand panel */
  --c-bg-deep:   #1b2f3f;   /* Adriatic night */
  --c-ink:       #1b2f3f;
  --c-ink-soft:  #4d6274;
  --c-muted:     #8a9099;
  --c-sea:       #1a6f9e;   /* primary accent — pool blue */
  --c-sea-deep:  #14526f;
  --c-gold:      #c1934e;   /* sunset accent */
  --c-cognac:    #9f552d;   /* leather accent */
  --c-line:      #e4ddd1;
  --c-line-soft: #efe9df;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap-max:    1220px;
  --wrap-narrow: 780px;
  --wrap-pad:    clamp(1.25rem, 5vw, 3rem);
  --section-pad: clamp(3.75rem, 8vw, 7rem);
  --radius:      6px;
  --radius-lg:   14px;
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 18px 48px -28px rgba(27, 47, 63, 0.45);
  --shadow-card: 0 2px 6px -2px rgba(27,47,63,.08), 0 12px 32px -20px rgba(27,47,63,.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-text);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.68;
  font-size: 1.01rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p { max-width: 66ch; }

::selection { background: rgba(26,111,158,.18); }

:focus-visible {
  outline: 2px solid var(--c-sea);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--wrap-pad);
}
.wrap-narrow { max-width: var(--wrap-narrow); }

section { padding-block: var(--section-pad); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.text-center { text-align: center; }
.mt-lg { margin-top: 2rem; }
.center-x { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.9rem;
}

.lede {
  font-size: clamp(1.04rem, 1.5vw, 1.24rem);
  line-height: 1.62;
  color: var(--c-ink-soft);
  max-width: 62ch;
}

.rule {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}
.rule::before, .rule::after {
  content: "";
  height: 1px;
  width: clamp(28px, 6vw, 60px);
  background: var(--c-line);
}
.rule span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-sea);
}
.rule.center { justify-content: center; }

.section-head { max-width: 56rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.section-head.center .rule { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }

.btn-primary  { background: var(--c-sea); color: #fff; box-shadow: 0 10px 26px -14px rgba(26,111,158,.9); }
.btn-primary:hover { background: var(--c-sea-deep); }

.btn-outline  { border-color: var(--c-ink); color: var(--c-ink); }
.btn-outline:hover { background: var(--c-ink); color: var(--c-bg); }

.btn-ghost    { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 2rem; }
.btn-row.center { justify-content: center; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.brand i { font-style: normal; color: var(--c-sea); }
.brand small {
  font-family: var(--font-text);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 0.28rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.85rem);
}
.nav-links > li > a {
  font-size: 0.89rem;
  color: var(--c-ink);
  position: relative;
  padding-block: 0.35rem;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav-links > li > a:hover { color: var(--c-sea); }
.nav-links a[aria-current="page"] { color: var(--c-sea); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--c-sea);
}

/* Language switcher */
.lang {
  position: relative;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 0.34rem 0.7rem 0.34rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.lang-btn:hover { border-color: var(--c-sea); color: var(--c-sea); }
.lang-btn > svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.lang.open .lang-btn > svg { transform: rotate(180deg); }
.lang-flag { display: inline-flex; }

/* Flag chips in the language switcher */
.flag {
  width: 19px;
  height: 13px;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(27, 47, 63, .14);
  display: block;
}
.lang-opt { display: flex; align-items: center; gap: 0.6rem; }

.lang-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  min-width: 172px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 0.35rem;
  display: none;
  z-index: 70;
}
.lang.open .lang-menu { display: block; }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 0.5rem 0.7rem;
  font-size: 0.88rem;
  color: var(--c-ink);
  text-align: left;
  transition: background .18s var(--ease);
}
.lang-menu button:hover { background: var(--c-bg-alt); }
.lang-menu button[aria-selected="true"] { color: var(--c-sea); font-weight: 600; }
.lang-menu button span:last-child {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--c-ink);
  padding: 0.4rem;
}
.nav-toggle svg { width: 28px; height: 28px; }

/* =========================================================
   Heroes
   ========================================================= */
.hero, .page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-block: 0 clamp(2.75rem, 6vw, 5.5rem);
}
.hero { min-height: min(94vh, 900px); }
.page-hero { min-height: min(58vh, 560px); }

.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after, .page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(12, 26, 36, .42) 0%,
    rgba(12, 26, 36, .18) 38%,
    rgba(12, 26, 36, .78) 100%);
}
.hero .wrap, .page-hero .wrap { position: relative; z-index: 2; }

.hero-content { max-width: 44rem; color: #fff; }
.hero-content .eyebrow { color: #ecd2a4; }
.hero-content h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-content .lede { color: rgba(255,255,255,.92); margin-top: 1.35rem; max-width: 54ch; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.hero-badges span {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  color: rgba(255,255,255,.85);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,0));
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0%,100% { opacity:.35; transform: scaleY(.55); } 50% { opacity:1; transform: scaleY(1); } }

/* =========================================================
   Quick facts strip
   ========================================================= */
.facts {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.facts .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
}
.fact { display: flex; gap: 0.85rem; align-items: flex-start; }
.fact svg { width: 24px; height: 24px; color: var(--c-sea); flex: none; margin-top: 2px; }
.fact strong { display: block; font-size: 0.98rem; font-weight: 600; line-height: 1.3; }
.fact span { font-size: 0.82rem; color: var(--c-muted); }

/* =========================================================
   Intro
   ========================================================= */
.intro { text-align: center; }
.intro .wrap { max-width: 880px; }
.intro h2 { margin-bottom: 1.35rem; }
.intro p { margin-inline: auto; }
.intro p + p { margin-top: 1rem; }

/* =========================================================
   Teaser grid
   ========================================================= */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.4vw, 2rem);
}
.teaser-card { display: block; }
.teaser-media {
  position: relative;
  aspect-ratio: 7 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.05rem;
  background: var(--c-bg-alt);
}
.teaser-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.teaser-card:hover .teaser-media img { transform: scale(1.055); }
.teaser-tag {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(18, 34, 46, .42);
  backdrop-filter: blur(5px);
  padding: 0.32rem 0.8rem;
  border-radius: 100px;
}
.teaser-card h3 { margin-bottom: 0.35rem; }
.teaser-card > p { font-size: 0.92rem; color: var(--c-ink-soft); margin-bottom: 0.7rem; }
.teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.87rem;
  color: var(--c-sea);
  font-weight: 500;
}
.teaser-link svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.teaser-card:hover .teaser-link svg { transform: translateX(5px); }

/* =========================================================
   Two-column media/text blocks
   ========================================================= */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.grid-2 + .grid-2 { margin-top: clamp(3rem, 7vw, 6rem); }
.grid-2.reverse .col-media { order: 2; }
.col-media { position: relative; }
.col-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.col-media.wide img { aspect-ratio: 4 / 3; }
.col-media .stack {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 44%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--c-bg);
  box-shadow: var(--shadow-soft);
}
.col-media .stack img { aspect-ratio: 1 / 1; border-radius: 0; box-shadow: none; }
.col-text h2 { margin-block: 0.55rem 1rem; }
.col-text p + p { margin-top: 0.9rem; }

/* =========================================================
   Ambience band (full-bleed sunset image)
   ========================================================= */
.band {
  position: relative;
  padding-block: clamp(5rem, 12vw, 9rem);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,26,36,.55), rgba(12,26,36,.72));
}
.band .wrap { position: relative; z-index: 2; max-width: 860px; }
.band .eyebrow { color: #ecd2a4; }
.band h2 { color: #fff; margin-bottom: 1.1rem; }
.band p { color: rgba(255,255,255,.9); margin-inline: auto; }

/* =========================================================
   Feature / amenity cards
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.feature-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.5vw, 2rem);
}
.feature-card .num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--c-gold);
  letter-spacing: 0.1em;
}
.feature-card h3 { margin-block: 0.5rem 0.9rem; }

.tick-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  color: var(--c-ink-soft);
  padding-block: 0.28rem;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.78em;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--c-sea);
}
.tick-list.gold li::before { border-color: var(--c-gold); }

/* =========================================================
   Floor sections (Vila page): heading + list, then a photo strip
   ========================================================= */
.floor + .floor { padding-top: 0; }
.floor-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.floor-head h2 { margin-top: 0.35rem; }
.floor-head .btn-row { margin-top: 1.5rem; }

.floor-strip { display: grid; gap: clamp(0.6rem, 1.2vw, 1rem); }
.floor-strip.cols-2 { grid-template-columns: repeat(2, 1fr); }
.floor-strip.cols-3 { grid-template-columns: repeat(3, 1fr); }
.floor-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.amenity-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.amenity-columns h3 {
  padding-bottom: 0.7rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--c-line);
}

/* =========================================================
   Gallery + filters + lightbox
   ========================================================= */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.gallery-filters button {
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 100px;
  padding: 0.45rem 1.15rem;
  font-size: 0.85rem;
  color: var(--c-ink-soft);
  transition: all .22s var(--ease);
}
.gallery-filters button:hover { border-color: var(--c-sea); color: var(--c-sea); }
.gallery-filters button[aria-pressed="true"] {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

.gallery-grid {
  columns: 3;
  column-gap: clamp(0.7rem, 1.4vw, 1.15rem);
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(0.7rem, 1.4vw, 1.15rem);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--c-bg-alt);
}
.gallery-item img {
  width: 100%;
  transition: transform .7s var(--ease), filter .3s var(--ease);
}
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1rem 0.85rem;
  font-size: 0.82rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(12,26,36,.72));
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.045); }
.gallery-item:hover figcaption { opacity: 1; }
.gallery-item[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 22, 30, .96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-caption {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.75);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease);
}
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox-close { top: 1.4rem; right: 1.4rem; }
.lightbox-prev { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.4rem; top: 50%; transform: translateY(-50%); }

/* =========================================================
   Distances / POI list
   ========================================================= */
.poi-block + .poi-block { margin-top: 2.5rem; }
.poi-block h3 {
  font-size: 1.05rem;
  font-family: var(--font-text);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.4rem;
}
.poi-list { border-top: 1px solid var(--c-line); }
.poi-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--c-line);
}
.poi-name { font-weight: 500; }
.poi-dist {
  color: var(--c-sea);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.map-frame {
  width: 100%;
  min-height: 460px;
  height: 100%;
  border: 0;
  border-radius: var(--radius);
  filter: saturate(0.9);
  box-shadow: var(--shadow-soft);
}

/* =========================================================
   Prices
   ========================================================= */
.rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.rate-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 2.6vw, 2.1rem);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.rate-card.is-peak { border-color: var(--c-sea); box-shadow: var(--shadow-card); }
.rate-card .season {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 600;
}
.rate-card .dates { font-size: 0.9rem; color: var(--c-ink-soft); margin-top: 0.5rem; }
.rate-card .price {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-top: 1rem;
  color: var(--c-ink);
}
.rate-card .price small {
  font-family: var(--font-text);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--c-muted);
  letter-spacing: 0.02em;
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.note {
  background: var(--c-bg-alt);
  border-left: 3px solid var(--c-sea);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.4rem;
}
.note h4 { font-family: var(--font-text); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-sea); margin-bottom: 0.4rem; }
.note p { font-size: 0.94rem; color: var(--c-ink-soft); }
.note.gold { border-left-color: var(--c-gold); }
.note.gold h4 { color: var(--c-cognac); }

/* =========================================================
   Availability calendar
   ========================================================= */
.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.cal-nav { display: flex; align-items: center; gap: 0.6rem; }
.cal-nav button {
  width: 38px; height: 38px;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ink);
  transition: all .2s var(--ease);
}
.cal-nav button:hover { border-color: var(--c-sea); color: var(--c-sea); }
.cal-year {
  font-family: var(--font-display);
  font-size: 1.6rem;
  min-width: 4ch;
  text-align: center;
}

.cal-legend { display: flex; flex-wrap: wrap; gap: 0.55rem 1.25rem; font-size: 0.83rem; color: var(--c-ink-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.cal-legend i {
  width: 13px; height: 13px; border-radius: 3px; display: inline-block;
  border: 1px solid var(--c-line);
}
.swatch-free     { background: #fff; }
.swatch-booked   { background: #d8dde1; border-color: #c6ccd1 !important; }
.swatch-peak     { background: rgba(26,111,158,.16); border-color: rgba(26,111,158,.35) !important; }
.swatch-shoulder { background: rgba(193,147,78,.18); border-color: rgba(193,147,78,.4) !important; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
.cal-month {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.1rem 1.1rem 1.25rem;
}
.cal-month h3 {
  font-size: 1.02rem;
  font-family: var(--font-text);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  margin-bottom: 0.8rem;
  color: var(--c-ink);
}
.cal-month table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-month th {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding-bottom: 0.4rem;
}
.cal-month td {
  text-align: center;
  font-size: 0.8rem;
  padding: 0;
  height: 30px;
}
.cal-month td span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 27px;
  border-radius: 4px;
  color: var(--c-ink);
}
.cal-month td.peak span     { background: rgba(26,111,158,.14); }
.cal-month td.shoulder span { background: rgba(193,147,78,.16); }
.cal-month td.booked span {
  background: #d8dde1;
  color: #8d959c;
  text-decoration: line-through;
}
.cal-month td.past span { color: #c3c8cc; }

.cal-note { font-size: 0.86rem; color: var(--c-muted); margin-top: 1.75rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field label {
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--c-ink-soft);
}
.field input,
.field textarea,
.field select {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.78rem 0.9rem;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-ink);
  width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-sea);
  box-shadow: 0 0 0 3px rgba(26,111,158,.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.contact-form .btn { justify-self: start; margin-top: 0.3rem; }
.contact-form .btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.form-note { font-size: 0.82rem; color: var(--c-muted); }

.form-status {
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--c-muted);
  background: var(--c-bg-alt);
  color: var(--c-ink-soft);
}
.form-status.is-ok {
  border-left-color: var(--c-sea);
  background: rgba(26, 111, 158, .08);
  color: var(--c-sea-deep);
}
.form-status a {
  color: var(--c-sea-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.form-status.is-fail {
  border-left-color: var(--c-cognac);
  background: rgba(159, 85, 45, .08);
  color: var(--c-cognac);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.5rem;
}
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-item svg { width: 20px; height: 20px; color: var(--c-sea); flex: none; margin-top: 3px; }
.info-item h4 {
  font-family: var(--font-text);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.2rem;
}
.info-item a:hover { color: var(--c-sea); }
.info-item p, .info-item address { font-style: normal; font-size: 0.97rem; line-height: 1.55; }

/* =========================================================
   CTA panel
   ========================================================= */
.cta-panel {
  background: var(--c-bg-deep);
  color: #fff;
  text-align: center;
}
.cta-panel h2 { color: #fff; margin-block: 0.7rem 1rem; max-width: 24ch; margin-inline: auto; }
.cta-panel .lede { color: rgba(255,255,255,.8); margin-inline: auto; }
.cta-panel .eyebrow { color: #ecd2a4; }
.cta-panel .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-panel .btn-outline:hover { background: #fff; color: var(--c-ink); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #142533;
  color: #b9c5cf;
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #fff;
}
.footer-grid p { margin-top: 0.7rem; max-width: 34ch; }
.footer-grid h4 {
  font-family: var(--font-text);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7f92a1;
  margin-bottom: 0.9rem;
}
.footer-nav { display: grid; gap: 0.6rem; }
.footer-nav a { color: #b9c5cf; transition: color .2s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: grid; gap: 0.45rem; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  font-size: 0.8rem;
  color: #7f92a1;
}

/* =========================================================
   Reveal-on-scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1040px) {
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .teaser-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-2.reverse .col-media { order: 0; }
  .col-media .stack { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .floor-head { grid-template-columns: 1fr; }
  .floor-strip.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .floor-strip.cols-3 img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }

  .nav-toggle { display: block; }
  .site-header nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-125%);
    transition: transform .4s var(--ease);
    z-index: 40;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .site-header nav.open { transform: translateY(0); }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 1.4rem var(--wrap-pad) 2rem;
  }
  .nav-links li { width: 100%; }
  .nav-links > li > a { display: block; padding: 0.65rem 0; font-size: 1.05rem; }
  .lang { width: 100%; padding-top: 0.8rem; border-top: 1px solid var(--c-line); margin-top: 0.6rem; }
  .lang-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0.4rem 0 0; background: none; }
  .lang-btn { display: none; }
  .lang-menu button { padding-inline: 0; }
}

@media (max-width: 620px) {
  .gallery-grid { columns: 1; }
  .facts .wrap { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.35rem; }
  .field-row { grid-template-columns: 1fr; }
  .floor-strip.cols-2, .floor-strip.cols-3 { grid-template-columns: 1fr; }
  .floor-strip.cols-3 img:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
}

/* =========================================================
   Mobile hero
   ---------------------------------------------------------
   On a portrait viewport a landscape photo under object-fit:cover
   is scaled ~2.7x, so only about a third of the frame survives.
   Two things fix that: a shorter hero (less height to fill means
   less horizontal crop) and tighter type so the copy still fits.

   The scroll cue is also dropped here — it is a desktop
   affordance, and with full-width stacked buttons it collided
   with the last button.
   ========================================================= */
@media (max-width: 700px) {
  .hero {
    min-height: 0;
    height: auto;
    padding-block: 3.5rem 2.25rem;
    align-items: center;
  }
  .hero .hero-content h1 {
    font-size: clamp(2.05rem, 8.4vw, 2.6rem);
    line-height: 1.14;
  }
  .hero .hero-content .lede {
    font-size: 1rem;
    line-height: 1.55;
    margin-top: 1rem;
  }
  .hero .hero-badges { margin-top: 1.15rem; gap: 0.4rem; }
  .hero .hero-badges span { font-size: 0.74rem; padding: 0.3rem 0.75rem; }
  .hero .btn-row { margin-top: 1.4rem; gap: 0.65rem; }

  /* Frame on the villa rather than the greenery to its left. */
  .hero .hero-media img { object-position: 66% center; }

  .scroll-cue { display: none; }

  /* Interior page heroes get the same treatment, minus the cue. */
  .page-hero { min-height: 0; padding-block: 3.25rem 2.25rem; }
  .page-hero .hero-content h1 { font-size: clamp(2.05rem, 8.4vw, 2.6rem); }
  .page-hero .hero-content .lede { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .scroll-cue, .lightbox, .btn { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
