/* ============================================================
   The Blue Hour — design system
   Palette: ivory paper, deep Ionian sea teal, warm sand accent
   Type: Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  --paper: #faf6ee;
  --paper-deep: #f1ebdd;
  --ink: #0a0f1c;
  --ink-soft: #696b74;
  --sea: #16233c;
  --sea-deep: #0f1a2e;
  --sand: #b9954f;
  --sand-soft: #ddc89a;
  --gold: #b9954f;
  --gold-deep: #9c7d3e;
  --dusk: #16233c;
  --line: #ebe4d1;
  --white: #ffffff;
  --shadow: 0 18px 50px -18px rgba(22, 35, 60, 0.20);
  --radius: 8px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--sea-deep); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
}

h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); font-weight: 200; letter-spacing: -0.028em; }
h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); font-weight: 200; letter-spacing: -0.022em; }
h3 { font-size: 1.4rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 16px;
}

.lede {
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 46em;
}

.section { padding: 116px 0; }
.section--tight { padding: 64px 0; }
.section--paper-deep { background: var(--paper-deep); }
.section-head { max-width: 720px; margin-bottom: 48px; }

/* ---------- Buttons ---------- */

/* TtT button system: rounded-full pills, outline default, dark-blue solid
   primary, ~150ms colour/border fade (NO scale, NO transform). */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease, opacity 0.16s ease;
  white-space: nowrap;
}
/* default + ghost = outline pill; hover fades toward 58% (TtT restraint) */
.btn:hover, .btn--ghost:hover, .btn--whatsapp:hover { color: rgba(10,15,28,0.58); border-color: rgba(10,15,28,0.5); }
.btn--ghost, .btn--whatsapp { background: transparent; color: var(--ink); border-color: var(--ink); }

/* primary = solid dark-blue pill */
.btn--primary { background: var(--dusk); color: var(--paper); border-color: var(--dusk); }
.btn--primary:hover { background: var(--sea-deep); border-color: var(--sea-deep); color: #fff; opacity: 0.94; }

/* light = solid paper pill (for dark imagery / dark sections) */
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); opacity: 0.94; }

.btn svg { width: 16px; height: 16px; flex: none; }
.btn--lg { padding: 17px 38px; font-size: 0.8rem; }

/* Over dark imagery (hero) + dark sections: keep contrast, go light/outline-white */
.hero .btn--primary, .section--dusk .btn--primary, .footer-newsletter .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero .btn--primary:hover, .section--dusk .btn--primary:hover, .footer-newsletter .btn--primary:hover { background: #fff; border-color: #fff; color: var(--ink); opacity: 0.94; }
.hero .btn--ghost, .villa-hero .btn--ghost, .section--dusk .btn--ghost { border-color: rgba(255,255,255,0.55); color: #fff; }
.hero .btn--ghost:hover, .villa-hero .btn--ghost:hover, .section--dusk .btn--ghost:hover { border-color: #fff; color: rgba(255,255,255,0.72); }
.site-header:not(.is-solid) .main-nav .btn--primary { background: rgba(255,255,255,0.95); color: var(--ink); border-color: transparent; }
.site-header:not(.is-solid) .main-nav .btn--primary:hover { background: #fff; opacity: 1; }

/* ---------- Hero booking signals ---------- */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(4px);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge::first-letter { color: #58e08a; }

.trust-strip {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 28px 0 0;
  padding: 0;
}
.trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}
.trust-strip svg { width: 19px; height: 19px; color: var(--sand-soft); flex: none; }

/* ---------- How it works ---------- */

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: how;
  padding: 0;
}
.how-steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px 32px;
}
.how-num {
  position: absolute;
  top: -18px; left: 30px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sea);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px -6px rgba(15,94,99,0.6);
}
.how-icon {
  width: 46px; height: 46px;
  color: var(--sea);
  margin-bottom: 16px;
}
.how-icon svg { width: 100%; height: 100%; }
.how-steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.how-steps p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Booking-card "Book online" badge ---------- */

.book-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.book-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sea-deep);
}
.book-badge::first-letter { color: #1fa855; }
.book-badge-note {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sand);
}

/* ---------- Floating WhatsApp support bubble ---------- */

.wa-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 56px;
  padding: 0 16px;
  background: #1fa855;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(31,168,85,0.6);
  transition: transform 0.18s ease, gap 0.2s ease, padding 0.2s ease;
  overflow: hidden;
}
.wa-fab svg { width: 26px; height: 26px; flex: none; }
.wa-fab-label {
  max-width: 0;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transition: max-width 0.2s ease, opacity 0.2s ease, margin 0.2s ease;
}
.wa-fab:hover { transform: translateY(-2px); color: #fff; gap: 9px; }
.wa-fab:hover .wa-fab-label { max-width: 120px; opacity: 1; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.25s ease, box-shadow 0.25s ease;
  padding: 18px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header.is-solid {
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}
.brand .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.85;
}
.site-header.is-solid .brand, .header-dark .brand { color: var(--ink); }
.site-header.is-solid .brand .brand-sub, .header-dark .brand .brand-sub { color: var(--sand); opacity: 1; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}
.main-nav a:hover { color: #fff; }
.site-header.is-solid .main-nav a, .header-dark .main-nav a { color: var(--ink-soft); }
.site-header.is-solid .main-nav a:hover, .header-dark .main-nav a:hover { color: var(--ink); }

.main-nav .btn { padding: 10px 20px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 2px;
  color: #fff;
}
.site-header.is-solid .nav-toggle span, .header-dark .nav-toggle span { background: var(--ink); color: var(--ink); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13,20,36,0.34) 0%, rgba(15,24,44,0.10) 40%, rgba(12,18,34,0.86) 100%);
}
.hero-inner { padding: 0 0 88px; max-width: 820px; }
.hero h1 { color: #fff; margin: 0 0 20px; font-weight: 200; font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero .eyebrow { color: var(--sand-soft); margin-bottom: 22px; }
.hero p { font-size: 1.18rem; color: rgba(255,255,255,0.92); max-width: 36em; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Villa cards (home) ---------- */

.villa-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }

.villa-card {
  background: transparent;
  display: flex;
  flex-direction: column;
}

.villa-card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 4px; }
.villa-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.97);
  transition: filter 0.5s ease;
}
.villa-card:hover .villa-card-media img { filter: brightness(1.03); }

.villa-card-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(245,241,232,0.92);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 3px;
}

.villa-card-body { padding: 22px 2px 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.villa-card-body h3 { font-size: 1.55rem; font-weight: 200; text-transform: uppercase; letter-spacing: 0.01em; }
.villa-card-body .location { color: var(--gold); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; }
.villa-card-tag { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--ink-soft); line-height: 1.4; }
.villa-card-meta { color: var(--ink-soft); font-size: 0.9rem; }

.spec-row { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-soft); font-size: 0.9rem; font-weight: 500; }
.spec-row span { display: inline-flex; align-items: center; gap: 7px; }
.spec-row svg { width: 16px; height: 16px; color: var(--sea); flex: none; }

.villa-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}
.price-from { font-size: 0.82rem; color: var(--ink-soft); }
.price-from strong { display: block; font-size: 1.2rem; color: var(--ink); font-family: var(--font-display); font-weight: 500; }

/* ---------- Why direct strip ---------- */

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.perk { text-align: left; }
.perk .perk-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sea);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.perk .perk-icon svg { width: 24px; height: 24px; }
.perk h3 { margin-bottom: 8px; }
.perk p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- About host ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.about-grid .about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-grid p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Testimonials ---------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote .stars { color: var(--sand); letter-spacing: 3px; font-size: 0.95rem; }
.quote blockquote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.45; color: var(--ink); }
.quote cite { font-style: normal; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Villa page: hero gallery ---------- */

.villa-hero { position: relative; min-height: 80vh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.villa-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.villa-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,20,36,0.36) 0%, rgba(15,24,44,0.08) 42%, rgba(12,18,34,0.82) 100%); }
.villa-hero-inner { padding: 0 0 64px; max-width: 820px; }
.villa-hero .crumbs { font-size: 0.82rem; color: rgba(255,255,255,0.78); margin-bottom: 20px; }
.villa-hero .crumbs a { color: rgba(255,255,255,0.78); }
.villa-hero .crumbs a:hover { color: #fff; }
.villa-hero .eyebrow { color: var(--sand-soft); }
.villa-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 200; letter-spacing: -0.02em; margin-bottom: 12px; text-transform: uppercase; }
.villa-hero .villa-sub { color: rgba(255,255,255,0.9); font-size: 1.08rem; margin-bottom: 0; }

.gallery-hero {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: clamp(360px, 52vw, 560px);
}
.gallery-hero a { display: block; overflow: hidden; position: relative; }
.gallery-hero a:first-child { grid-row: span 2; }
.gallery-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.97); transition: filter 0.4s ease; }
.gallery-hero a:hover img { filter: brightness(1.04); }
.gallery-all-btn {
  position: absolute;
  right: 18px; bottom: 18px;
  background: rgba(250,247,241,0.95);
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.gallery-all-btn:hover { background: #fff; }

/* ---------- Facts bar ---------- */

.facts-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  padding: 26px 0;
  margin: 0 0 44px;
  border-bottom: 1px solid var(--line);
}
.fact { display: flex; align-items: center; gap: 11px; font-weight: 500; font-size: 0.96rem; color: var(--ink); }
.fact svg { width: 21px; height: 21px; color: var(--sea); flex: none; }

/* ---------- Villa body layout ---------- */

.villa-layout {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 64px;
  align-items: start;
}
.villa-main > * + * { margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--line); }
.villa-main h2 { font-size: 1.95rem; margin-bottom: 20px; }
.villa-main p { color: var(--ink-soft); margin-bottom: 14px; max-width: 60ch; }
.villa-main .first-para { font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-family: var(--font-display); font-weight: 300; letter-spacing: -0.01em; }

.amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  list-style: none;
}
.amenities li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-soft); font-size: 0.97rem; padding: 4px 0; }
.amenities svg { width: 19px; height: 19px; color: var(--sea); flex: none; margin-top: 4px; }

.room-list { list-style: none; display: grid; gap: 14px; }
.room-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
}
.room-list strong { display: block; font-size: 0.99rem; color: var(--ink); }
.room-list span { font-size: 0.92rem; color: var(--ink-soft); }

.note-card {
  background: var(--sand-soft);
  border-radius: 14px;
  padding: 22px 26px;
  font-size: 0.95rem;
  color: var(--ink);
}
.note-card strong { display: block; margin-bottom: 6px; }
.note-card ul { margin: 6px 0 0 18px; color: var(--ink-soft); }
.note-card li { margin-bottom: 5px; }

/* ---------- Booking sidebar ---------- */

.book-card {
  position: sticky;
  top: 84px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.book-card .price-line { display: flex; align-items: baseline; gap: 8px; }
.book-card .price-line strong { font-family: var(--font-display); font-size: 2rem; }
.book-card .price-line span { color: var(--ink-soft); font-size: 0.92rem; }
.book-card .btn { justify-content: center; width: 100%; }
.book-card .book-meta { font-size: 0.85rem; color: var(--ink-soft); text-align: center; }
.book-card hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- Booking widget (sidebar) ---------- */

.book-form { display: flex; flex-direction: column; gap: 14px; }
.bk-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-form .field label { font-size: 0.78rem; }
.book-form .field input {
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: 100%;
  color: var(--ink);
}
.book-form .field input:focus { outline: none; border-color: var(--sea); }

.bk-quote {
  background: var(--paper-deep);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.bk-line { display: flex; justify-content: space-between; gap: 12px; }
.bk-total-line {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 9px;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.bk-msg {
  font-size: 0.86rem;
  color: var(--sea-deep);
  background: var(--sand-soft);
  border-radius: 10px;
  padding: 10px 13px;
}
[data-bk-contact] { display: flex; flex-direction: column; gap: 12px; }
.book-form button[disabled] { opacity: 0.5; cursor: not-allowed; }
.book-form button[disabled]:hover { transform: none; box-shadow: none; }

/* ---------- Availability date picker ---------- */

.bk-picker { margin: 4px 0 2px; }
.dp-loading { font-size: 0.9rem; color: var(--ink-soft); padding: 16px 0; text-align: center; }

.dp-nav { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.dp-prev, .dp-next {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 9px;
  width: 36px; height: 32px;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.dp-prev:hover, .dp-next:hover { background: var(--sand-soft); }
.dp-prev[disabled], .dp-next[disabled] { opacity: 0.35; cursor: default; }

.dp-months { display: grid; grid-template-columns: 1fr; gap: 14px; }
.dp-mhead {
  font-family: var(--font-display);
  font-size: 1rem;
  text-align: center;
  margin-bottom: 8px;
  color: var(--ink);
}
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-dow { text-align: center; font-size: 0.66rem; font-weight: 600; color: var(--ink-soft); padding: 2px 0 5px; }
.dp-pad { aspect-ratio: 1; }

.dp-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border: 0; background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink);
  border-radius: 9px;
  cursor: pointer;
  padding: 0;
}
.dp-day.dp-open:hover { background: var(--sand-soft); }
.dp-day.dp-past, .dp-day.dp-off { color: #cfc8ba; cursor: default; }
.dp-day.dp-blocked {
  color: #c3bbab;
  text-decoration: line-through;
  cursor: default;
  background: repeating-linear-gradient(135deg, transparent, transparent 4px, rgba(0,0,0,0.035) 4px, rgba(0,0,0,0.035) 5px);
}
.dp-day[disabled] { cursor: default; }
.dp-day.dp-inrange { background: var(--sand-soft); border-radius: 0; }
.dp-day.dp-checkin, .dp-day.dp-checkout {
  background: var(--sea);
  color: #fff;
  font-weight: 600;
}
.dp-day.dp-checkin { border-radius: 9px 0 0 9px; }
.dp-day.dp-checkout { border-radius: 0 9px 9px 0; }
.dp-day.dp-checkin.dp-checkout { border-radius: 9px; }

.dp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--ink-soft);
}
.dp-legend { display: inline-flex; align-items: center; gap: 6px; }
.dp-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.dp-l-open { background: var(--paper-deep); border: 1px solid var(--line); }
.dp-l-blocked { background: repeating-linear-gradient(135deg, var(--paper-deep), var(--paper-deep) 3px, #d8d0c0 3px, #d8d0c0 4px); }
.dp-clear { background: none; border: 0; color: var(--sea); font-weight: 600; cursor: pointer; font-size: 0.78rem; }
.dp-clear:hover { color: var(--sea-deep); text-decoration: underline; }

.bk-book.is-disabled {
  background: var(--paper-deep);
  color: #a99f8d;
  pointer-events: none;
  box-shadow: none;
}
.bk-book { justify-content: center; width: 100%; }

.bk-avail-note {
  font-size: 0.8rem;
  color: var(--sea-deep);
  background: var(--sand-soft);
  border-radius: 10px;
  padding: 9px 12px;
  margin: 2px 0 0;
}

@media (min-width: 420px) {
  .dp-months { grid-template-columns: 1fr; }
}

/* ---------- Pay / checkout page ---------- */

.pay-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 30px;
}
.pay-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; color: var(--ink-soft); font-size: 0.97rem; }
.pay-row strong { color: var(--ink); font-weight: 600; }
.pay-card hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.pay-total { font-size: 1.25rem; padding-top: 12px; border-top: 2px solid var(--line); margin-top: 6px; }
.pay-total strong { font-family: var(--font-display); color: var(--sea-deep); }

/* ---------- Rates table ---------- */

.rates-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.rates-table th, .rates-table td { text-align: left; padding: 14px 16px; }
.rates-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--line);
}
.rates-table tbody tr { border-bottom: 1px solid var(--line); }
.rates-table tbody tr:last-child { border-bottom: 0; }
.rates-table td strong { color: var(--sea-deep); }
.rates-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Availability calendar ---------- */

.calendar-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cal-month { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.cal-month h4 { font-family: var(--font-display); font-size: 1.02rem; text-align: center; margin-bottom: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; font-size: 0.78rem; text-align: center; }
.cal-grid .dow { color: var(--ink-soft); font-weight: 600; font-size: 0.68rem; padding: 4px 0; }
.cal-grid .day { padding: 6px 0; border-radius: 7px; color: var(--ink); }
.cal-grid .day.blocked { background: var(--paper-deep); color: #b9b0a0; text-decoration: line-through; }
.cal-grid .day.past { color: #cfc8ba; }
.cal-legend { display: flex; gap: 22px; margin-top: 20px; font-size: 0.85rem; color: var(--ink-soft); }
.cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; margin-right: 7px; vertical-align: -2px; }
.cal-legend .free i { background: var(--white); border: 1px solid var(--line); }
.cal-legend .busy i { background: var(--paper-deep); }
.cal-fallback { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Full gallery grid ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.97); transition: filter 0.4s ease; }
.gallery-grid a:hover img { filter: brightness(1.04); }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(13, 23, 28, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox button {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.lightbox button:hover { background: rgba(255,255,255,0.22); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* ---------- Location ---------- */

.map-embed {
  border: 0;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Enquiry form ---------- */

.enquiry-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sea);
}
.field textarea { resize: vertical; min-height: 120px; }

.contact-card {
  background: var(--sea-deep);
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-card h3 { color: #fff; font-size: 1.45rem; }
.contact-card p { font-size: 0.97rem; }
.contact-card .btn { justify-content: center; }
.contact-card .contact-line { font-size: 0.92rem; }
.contact-card .contact-line a { color: var(--sand-soft); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  padding: 110px 0;
  isolation: isolate;
}
.cta-band .cta-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 50, 57, 0.62); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 38em; margin: 0 auto 30px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dusk);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 40px;
  font-size: 0.92rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; }
.site-footer .brand .brand-sub { color: var(--sand); }
.site-footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Thanks page ---------- */

.thanks-hero { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.thanks-hero .container { max-width: 640px; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .villa-cards, .quotes, .perks, .how-steps { grid-template-columns: 1fr; }
  .about-grid, .villa-layout, .enquiry-grid { grid-template-columns: 1fr; gap: 44px; }
  .book-card { position: static; max-height: none; overflow: visible; }
  .how-steps { gap: 34px; }
  .calendar-wrap { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 96px 32px 32px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -20px 0 60px rgba(0,0,0,0.18);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--ink) !important; font-size: 1.05rem; }
  .nav-toggle { display: block; position: relative; z-index: 70; }
  .gallery-hero { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .gallery-hero a { aspect-ratio: 4/3; }
  .gallery-hero a:not(:first-child) { display: none; }
  .gallery-hero a:first-child { grid-row: auto; }
  .calendar-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 86vh; }
  .facts-bar { gap: 12px 24px; }
}

/* ============================================================
   Scroll-reveal entrances (progressive enhancement)
   Gated by html.anim — site.js adds it ONLY when motion is
   allowed and IntersectionObserver exists. Without JS or with
   reduced-motion, .anim is never set, so everything is visible.
   ============================================================ */
html.anim .section-head,
html.anim .villa-card,
html.anim .how-steps > li,
html.anim .perk,
html.anim .about-grid > div,
html.anim .quote {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 0.7, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 0.7, 0.3, 1);
}
html.anim .is-visible {
  opacity: 1 !important;
  transform: none !important;
}
/* gentle stagger inside a group */
html.anim .villa-card:nth-child(2)      { transition-delay: 0.10s; }
html.anim .how-steps > li:nth-child(2)  { transition-delay: 0.09s; }
html.anim .how-steps > li:nth-child(3)  { transition-delay: 0.18s; }
html.anim .perk:nth-child(2)            { transition-delay: 0.09s; }
html.anim .perk:nth-child(3)            { transition-delay: 0.18s; }
html.anim .quote:nth-child(2)           { transition-delay: 0.09s; }
html.anim .quote:nth-child(3)           { transition-delay: 0.18s; }
html.anim .about-grid > div:nth-child(2){ transition-delay: 0.10s; }


/* ============================================================
   Villa PDP — TtT-style anatomy (highlights · accordions ·
   included/excluded · distances · guest book · our other house)
   ============================================================ */
.villa-strap { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.25rem; color: rgba(255,255,255,0.92); margin-bottom: 0; }

/* 3 Highlights */
.highlights { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 0 0 40px; margin: 0 0 8px; border-bottom: 1px solid var(--line); }
.highlights li { position: relative; padding-left: 30px; font-size: 1.02rem; line-height: 1.4; color: var(--ink); }
.highlights li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); }
.highlights li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 1.6px solid #211808; border-bottom: 1.6px solid #211808; transform: rotate(-45deg); }

/* Accordions (native <details>) */
.acc { border-bottom: 1px solid var(--line); }
.acc > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 2px; font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; letter-spacing: -0.01em; color: var(--ink); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; width: 11px; height: 11px; border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft); transform: rotate(45deg); transition: transform 0.25s ease; flex: none; margin-right: 4px; }
.acc[open] > summary::after { transform: rotate(-135deg); }
.acc > summary:hover { color: var(--gold-deep); }
.acc-body { padding: 0 2px 30px; }
.acc-body > * + * { margin-top: 14px; }

/* Included / excluded */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.incl-h { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.incl-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.incl-list li { position: relative; padding-left: 26px; font-size: 0.98rem; color: var(--ink-soft); line-height: 1.4; }
.incl-yes li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 9px; height: 5px; border-left: 1.8px solid var(--gold-deep); border-bottom: 1.8px solid var(--gold-deep); transform: rotate(-45deg); }
.incl-no li::before { content: "—"; position: absolute; left: 0; top: -1px; color: var(--ink-soft); opacity: 0.6; }

/* Distances list */
.distances { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.distances li span:first-child { color: var(--ink-soft); }
.distances li span:last-child { color: var(--ink); font-weight: 500; }

/* Gallery / reviews block headers (below accordions) */
.villa-block { padding-top: 56px; margin-top: 56px; border-top: 1px solid var(--line); }
.villa-block > h2 { font-size: 1.95rem; margin-bottom: 24px; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-soft); }

/* Our other house */
.other-house { background: var(--paper-deep); }
.other-house .eyebrow { display: block; text-align: center; margin-bottom: 26px; }
.other-house-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; max-width: 880px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; align-items: stretch; text-decoration: none; }
.other-house-card .oh-media { overflow: hidden; min-height: 280px; }
.other-house-card .oh-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.97); transition: filter 0.5s ease; }
.other-house-card:hover .oh-media img { filter: brightness(1.03); }
.other-house-card .oh-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.other-house-card .oh-body .location { color: var(--gold); font-weight: 500; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; }
.other-house-card .oh-body h3 { font-size: 1.9rem; font-weight: 200; text-transform: uppercase; letter-spacing: 0.01em; }
.other-house-card .villa-link { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; align-self: flex-start; margin-top: 8px; }

/* Named host in booking sidebar */
.villa-host { display: flex; align-items: center; gap: 12px; padding: 14px 0 0; }
.villa-host .vh-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sand-soft); color: var(--sea-deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.1rem; flex: none; }
.villa-host .vh-name { font-weight: 500; font-size: 0.95rem; color: var(--white); }
.villa-host .vh-role { font-size: 0.82rem; color: rgba(255,255,255,0.7); }

@media (max-width: 720px) {
  .highlights { grid-template-columns: 1fr; gap: 14px; }
  .incl-grid { grid-template-columns: 1fr; gap: 24px; }
  .other-house-card { grid-template-columns: 1fr; }
}

/* ============================================================
   Phase 3 — destination hub · collections · experiences ·
   about · journal · footer newsletter/trust
   ============================================================ */
/* page hero meta (reuse .villa-hero / .villa-hero-bg / .villa-hero-inner) */
.page-lead { max-width: 60ch; font-size: 1.18rem; color: var(--ink-soft); }
.page-lead.center { margin: 0 auto; text-align: center; }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 18px; }
.prose p { color: var(--ink-soft); }
.prose h2 { font-size: 1.9rem; margin-top: 14px; }
.prose h3 { font-size: 1.3rem; margin-top: 8px; }
.prose ul { padding-left: 22px; color: var(--ink-soft); }
.prose li { margin-top: 8px; }
.prose .first-para { font-family: var(--font-display); font-weight: 300; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }

/* collections strip (on hub) */
.coll-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.coll-tile { display: block; padding: 28px 26px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); text-decoration: none; transition: border-color 0.2s ease; }
.coll-tile:hover { border-color: var(--gold); }
.coll-tile .ct-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.coll-tile h3 { font-family: var(--font-display); font-weight: 300; font-size: 1.45rem; margin-top: 8px; color: var(--ink); }

/* experiences */
.exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 36px; }
.exp-item .exp-media { aspect-ratio: 3/2; border-radius: 4px; overflow: hidden; margin-bottom: 18px; background: var(--paper-deep); }
.exp-item .exp-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.97); }
.exp-item h3 { font-family: var(--font-display); font-weight: 300; font-size: 1.6rem; }
.exp-item .exp-eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px; }
.exp-item p { color: var(--ink-soft); margin-top: 8px; }

/* journal */
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px 36px; }
.journal-card { text-decoration: none; display: block; }
.journal-card .jc-media { aspect-ratio: 3/2; border-radius: 4px; overflow: hidden; margin-bottom: 18px; background: var(--paper-deep); }
.journal-card .jc-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.97); transition: filter 0.5s ease; }
.journal-card:hover .jc-media img { filter: brightness(1.03); }
.journal-card .jc-eyebrow { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.journal-card h3 { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.15; color: var(--ink); margin-top: 8px; }
.journal-card p { color: var(--ink-soft); font-size: 0.96rem; margin-top: 8px; }
.article-meta { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-soft); text-transform: uppercase; }
.local-secret { border-left: 2px solid var(--gold); padding: 6px 0 6px 20px; margin: 22px 0; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--ink); }

/* footer additions: newsletter + trust + 4-col grid */
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
.footer-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-newsletter .eyebrow { color: var(--sand); display: block; }
.footer-newsletter h3 { color: #fff; font-family: var(--font-display); font-weight: 300; font-size: 1.7rem; }
.footer-newsletter p { color: rgba(255,255,255,0.7); margin-top: 8px; font-size: 0.95rem; }
.nl-form { display: flex; gap: 10px; }
.nl-form input { flex: 1; height: 50px; padding: 0 16px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: #fff; border-radius: 3px; font-family: var(--font-body); }
.nl-form input::placeholder { color: rgba(255,255,255,0.5); }
.footer-trust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 26px 0; margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.7); font-size: 0.86rem; letter-spacing: 0.02em; }
.footer-trust span:first-child { color: var(--sand-soft); }
@media (max-width: 720px) {
  .footer-newsletter { grid-template-columns: 1fr; gap: 18px; }
  .nl-form { flex-direction: column; }
}

/* ============================================================
   Phase A polish — villa sub-nav · booking terms · card crossfade
   ============================================================ */
.villa-subnav { position: sticky; top: 56px; z-index: 40; background: rgba(250,246,238,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.villa-subnav .container { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.villa-subnav .container::-webkit-scrollbar { display: none; }
.villa-subnav a { padding: 15px 0; font-size: 0.71rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.18s ease, border-color 0.18s ease; }
.villa-subnav a:hover { color: var(--ink); border-color: var(--gold); }
.villa-subnav a.vsn-book { color: var(--gold-deep); margin-left: auto; }

.book-terms { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.55; }
.book-terms strong { color: var(--ink); font-weight: 500; }
.reviews-link { display: inline-block; margin-top: 18px; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

/* card crossfade (two-image, replaces any zoom) */
.villa-card-media .cf, .other-house-card .oh-media .cf { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; filter: brightness(0.97); }
.villa-card:hover .villa-card-media .cf, .other-house-card:hover .oh-media .cf { opacity: 1; }

@media (max-width: 720px) { .villa-subnav .container { gap: 20px; } }

/* ============================================================
   TtT RESTRAINT PASS — the premium gap was polish, not motion.
   Near-monochrome · flat (hairlines not shadows) · minimal radius
   · gold demoted to a rare whisper · thin-line icons · underline hovers
   ============================================================ */
:root { --radius: 3px; --shadow: none; }

/* — gold → ink for the repeated labels (gold now only a rare accent) — */
.eyebrow { color: var(--ink); opacity: 0.5; }
.hero .eyebrow, .villa-hero .eyebrow, .section--dusk .eyebrow,
.footer-newsletter .eyebrow, .header-dark .eyebrow { color: rgba(255,255,255,0.82); opacity: 1; }
.villa-card-body .location, .other-house-card .oh-body .location { color: var(--ink-soft); }
.coll-tile .ct-eyebrow, .exp-item .exp-eyebrow, .journal-card .jc-eyebrow { color: var(--ink); opacity: 0.5; }

/* — flatten: hairline borders, no drop-shadows, calm radius — */
.quote { box-shadow: none; border: 1px solid var(--line); background: transparent; }
.about-grid .about-media img { box-shadow: none; }

/* — thin-line, monochrome icons (TtT leans on type + photo, not coloured chips) — */
.perk .perk-icon { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 50%; width: 50px; height: 50px; }
.perk .perk-icon svg { width: 22px; height: 22px; }
.how-num { background: var(--ink); box-shadow: none; }
.fact svg, .spec-row svg { color: var(--ink); opacity: 0.55; }

/* — restraint IS the signal: no zoom, no brightness flicker on hover — */
.villa-card:hover .villa-card-media img { filter: brightness(0.97); }
.gallery-hero a:hover img { filter: brightness(0.97); }

/* — the dominant TtT micro-motion: 150ms underline-offset on body links — */
.villa-main a:not(.btn), .prose a:not(.btn), .acc-body a:not(.btn) {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  text-decoration-color: rgba(10,15,28,0.28); transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
.villa-main a:not(.btn):hover, .prose a:not(.btn):hover, .acc-body a:not(.btn):hover { text-decoration-color: var(--ink); }
.main-nav a { transition: color 0.15s ease; }

/* — reveal: a touch longer + softer easing for a calmer, premium settle — */
html.anim .section-head, html.anim .villa-card, html.anim .perk,
html.anim .quote, html.anim .how-steps > li, html.anim .about-grid > div {
  transition-duration: 0.9s; transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Hero entrance — a slow, considered settle on load.
   LCP-safe: the <h1> (largest paint) only SLIDES (opacity stays 1),
   so first paint is immediate; the lighter elements fade up around it.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > *, .villa-hero-inner > * {
    opacity: 0; transform: translateY(18px);
    animation: bhRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-inner > h1, .villa-hero-inner > h1 {
    opacity: 1; animation-name: bhSlide;          /* LCP-safe: no opacity fade */
  }
  .hero-inner > *:nth-child(1), .villa-hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-inner > *:nth-child(2), .villa-hero-inner > *:nth-child(2) { animation-delay: 0.13s; }
  .hero-inner > *:nth-child(3), .villa-hero-inner > *:nth-child(3) { animation-delay: 0.22s; }
  .hero-inner > *:nth-child(4), .villa-hero-inner > *:nth-child(4) { animation-delay: 0.31s; }
  .hero-inner > *:nth-child(5), .villa-hero-inner > *:nth-child(5) { animation-delay: 0.40s; }
}
@keyframes bhRise  { to { opacity: 1; transform: none; } }
@keyframes bhSlide { to { transform: none; } }

/* ============================================================
   "BREATHE" pass — TtT-level whitespace + display typography.
   More air between sections, larger ultralight headlines, roomier
   ledes. Everything clamp()'d so phones stay comfortable.
   ============================================================ */
.container { padding: 0 clamp(22px, 3vw, 36px); }

.section { padding: clamp(78px, 10vw, 150px) 0; }
.section--tight { padding: clamp(54px, 7vw, 92px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 66px); }

h1 { font-size: clamp(2.8rem, 6vw, 5.3rem); line-height: 1.04; }
h2 { font-size: clamp(2.15rem, 4.3vw, 3.6rem); line-height: 1.06; }
h3 { font-size: 1.5rem; }
.lede { font-size: clamp(1.18rem, 1.5vw, 1.36rem); line-height: 1.6; max-width: 40em; }

.hero { min-height: 96vh; }
.hero h1 { font-size: clamp(2.9rem, 6.4vw, 5.5rem); line-height: 1.03; }
.hero p { font-size: clamp(1.12rem, 1.5vw, 1.3rem); margin-bottom: 38px; max-width: 34em; }
.hero-inner { padding-bottom: clamp(72px, 9vw, 116px); }

.villa-hero h1 { font-size: clamp(2.7rem, 5.6vw, 5rem); }
.villa-cards { gap: clamp(36px, 4.5vw, 60px); }
.villa-card-body { padding-top: 26px; }

/* roomier vertical rhythm down the villa page */
.villa-main > * + * { margin-top: clamp(48px, 6vw, 74px); padding-top: clamp(48px, 6vw, 74px); }
.villa-main .first-para { font-size: clamp(1.3rem, 1.7vw, 1.5rem); line-height: 1.5; }

/* booking sidebar: lift the faded meta/terms to a legible grey */
.book-card .book-meta, .book-terms { color: #4d515b; }
.book-terms { font-size: 0.84rem; }

/* ============================================================
   Booking — collapsible date field (calendar opens on demand,
   so the sticky card stays short and needs NO inner scroll)
   ============================================================ */
.bk-cal { border: 0; }
.bk-cal > summary { list-style: none; }
.bk-cal > summary::-webkit-details-marker { display: none; }
.bk-datefield {
  cursor: pointer;
  display: flex; align-items: center; gap: 11px;
  padding: 14px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.84rem; font-weight: 500; letter-spacing: 0.03em; color: var(--ink);
  transition: border-color 0.15s ease, border-radius 0.2s ease;
}
.bk-datefield:hover { border-color: var(--gold-deep); }
.bk-datefield .bk-df-cal { width: 18px; height: 18px; opacity: 0.7; flex: none; }
.bk-datefield span { flex: 1; }
.bk-datefield .bk-df-chev { width: 16px; height: 16px; opacity: 0.55; flex: none; transition: transform 0.22s ease; }
.bk-cal[open] .bk-df-chev { transform: rotate(180deg); }
.bk-cal[open] .bk-datefield { border-radius: 16px; margin-bottom: 12px; border-color: var(--gold-deep); }
.bk-cal .bk-picker { padding-top: 2px; }

/* ============================================================
   Accordions — TtT polish: restrained hover + smooth open/close
   (progressive: ::details-content animates in modern Chrome,
   instant elsewhere)
   ============================================================ */
html { interpolate-size: allow-keywords; }
.acc > summary:hover { color: var(--ink); opacity: 0.6; }

/* ============================================================
   Accordion polish (#1+#2+#3): cleaner chevron · more air ·
   smooth height open/close (JS-driven in site.js, reliable)
   ============================================================ */
.acc > summary { padding: 30px 4px; }
.acc > summary::after {
  width: 9px; height: 9px; border-width: 0 1.25px 1.25px 0; border-color: var(--ink-soft);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.15s ease;
}
.acc > summary:hover::after { border-color: var(--ink); }
.acc-body { padding-bottom: 34px; }
/* Soft reveal: native instant toggle (never locks) + the body content gently
   fades & slides in on open. Pure CSS — no JS, no stuck-accordion risk. */
@media (prefers-reduced-motion: no-preference) {
  .acc[open] > .acc-body { animation: accReveal 0.36s cubic-bezier(0.22, 1, 0.36, 1) both; }
}
@keyframes accReveal { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Villa page: OPEN editorial sections (replaced the accordion
   spine — no "click to reveal", reads like a magazine spread).
   Dividers/spacing come from the existing .villa-main > * + *.
   Gallery lives only in the top hero strip + "View all photos"
   lightbox; .lb-src holds the rest of the photos for that lightbox.
   ============================================================ */
.vsec .acc-body { padding: 0; }
.vsec .acc-body > * + * { margin-top: 14px; }
.lb-src { display: none; }

/* ============================================================
   Hero: true full-screen height + content uses the full 1180
   container (was shrink-wrapping to ~820 because .hero is flex,
   leaving the headline in a narrow off-centre column).
   ============================================================ */
.hero { min-height: 100vh; min-height: 100svh; }
.hero > .container, .villa-hero > .container { width: 100%; }

/* footer credit */
.powered-amox { color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.28); transition: color 0.15s ease, border-color 0.15s ease; }
.powered-amox:hover { color: #fff; border-color: var(--gold); }

/* WhatsApp contact buttons: visible green pill (sit on dark contact cards
   and light pages alike). Recognisable + always legible. */
.btn--whatsapp { background: #1fa855; color: #fff; border-color: #1fa855; }
.btn--whatsapp:hover { background: #178a45; border-color: #178a45; color: #fff; opacity: 1; }
.btn--whatsapp svg { color: #fff; }
