/* ============================================================
   Flat Maritaca — Sage & Cream (pastel hotel)
   Typography: Cormorant Garamond (display) · Droid Serif (body)
   Palette: Near-white canvas, sage forest, terracotta & mustard
            warmths, cream insets for rhythm.
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* ── Canvas: very light sand, almost off-white ─────────────── */
  --bg:          #F6F2E9;   /* page canvas — light sand */
  --bg-soft:     #F1ECDF;   /* between canvas and inset */
  --bg-alt:      #ECE4D1;   /* cream — used for inset sections */
  --surface:     #FBF8F0;   /* card surface — sand-tinted off-white */

  /* ── Ink ──────────────────────────────────────────────────── */
  --text:        #3D4A42;   /* dark forest */
  --text-muted:  #4F6B5E;   /* darker sage — readable on sand (AA on bg) */
  --text-faint:  #7A8F84;   /* secondary sage */

  /* ── Brand sage ───────────────────────────────────────────── */
  --accent:        #6B8E7F;   /* sage forest — primary */
  --accent-light:  #A8C9B5;   /* pale sage */
  --accent-pale:   #DCE9DF;   /* whisper-sage fill */
  --accent-dark:   #3D4A42;   /* dark forest */

  /* ── Warm spectrum (used sparingly as spots of warmth) ────── */
  --warm:        #E89B7A;   /* terracotta */
  --warm-soft:   #F4C26B;   /* mustard */
  --warm-pale:   #FBE7CC;   /* whisper-warm fill */
  --warm-tan:    #C9A57B;   /* tan */
  --teal-soft:   #B8D8D4;   /* pale teal */

  /* ── Structural — whisper borders ─────────────────────────── */
  --border:       #ECE2CC;   /* near-invisible warm border */
  --border-sub:   #F4ECDA;
  --border-sage:  #D6E3D9;   /* sage-tinted border for emphasis */

  /* ── Depth — barely-there, sage-tinted ────────────────────── */
  --shadow-xs:   0 1px 2px rgba(61, 74, 66, 0.05);
  --shadow-sm:   0 3px 14px rgba(61, 74, 66, 0.07);
  --shadow-md:   0 12px 36px rgba(61, 74, 66, 0.09);
  --shadow-lg:   0 24px 60px rgba(61, 74, 66, 0.12);
  --shadow-glow: 0 0 0 4px rgba(168, 201, 181, 0.22);

  /* ── Radii — rounder, organic ─────────────────────────────── */
  --r-sm:   8px;
  --r:      16px;
  --r-lg:   24px;
  --r-xl:   36px;
  --r-pill: 999px;

  /* ── Motion ───────────────────────────────────────────────── */
  --ease:        all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: all 0.5s  cubic-bezier(0.34, 1.45, 0.64, 1);
}

/* ── Dark Mode ──────────────────────────────────────────────── */
.dark-mode {
  --bg:           #1F2925;
  --bg-soft:      #243029;
  --bg-alt:       #2A3530;
  --surface:      #2E3933;
  --text:         #F2E3CB;
  --text-muted:   #B8D8D4;
  --text-faint:   #7A8F84;
  --border:       #2E3833;
  --border-sub:   #283330;
  --border-sage:  #3A4B43;
  --accent:       #A8C9B5;
  --accent-light: #6B8E7F;
  --accent-pale:  rgba(168, 201, 181, 0.14);
  --accent-dark:  #B8D8D4;
  --warm:         #E89B7A;
  --warm-soft:    #F4C26B;
  --warm-pale:    rgba(244, 194, 107, 0.14);
  --warm-tan:     #C9A57B;
  --teal-soft:    #B8D8D4;
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.20);
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.28);
  --shadow-md:    0 10px 32px rgba(0,0,0,0.34);
  --shadow-lg:    0 24px 60px rgba(0,0,0,0.44);
  --shadow-glow:  0 0 0 4px rgba(168, 201, 181, 0.18);
}

/* ── Reset & Base ───────────────────────────────────────────── */
html { scroll-behavior: smooth; }

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

body {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--r);
}

p {
  color: var(--text);
  line-height: 1.75;
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Droid Serif ships 400 + 700 only — use real bold for emphasis */
ul li strong,
p strong {
  color: var(--text);
  font-weight: 700;
}

/* ── Accessibility ──────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 500;
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  border-radius: 0 0 var(--r-sm) 0;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.rtl { direction: rtl; text-align: right; }

/* ── Header ─────────────────────────────────────────────────── */
header {
  background: #3D4A42;
  color: #F2E3CB;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-home {
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-sm);
}
.header-home:focus-visible {
  outline: 2px solid rgba(242,227,203,0.4);
  outline-offset: 4px;
}

.logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  transition: var(--ease);
}
.logo:hover { transform: scale(1.04); }

.header-text h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.03em;
  color: #F2E3CB;
}

.header-text p {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  margin: 0;
  color: rgba(242,227,203,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 300;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Language Selector ──────────────────────────────────────── */
.language-selector {
  display: flex;
  gap: 4px;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(242,227,203,0.18);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  min-height: 44px;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(242,227,203,0.5);
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  transition: var(--ease);
}
.lang-btn:hover {
  color: #F2E3CB;
  border-color: rgba(242,227,203,0.45);
  background: rgba(242,227,203,0.07);
}
.lang-btn.active {
  color: #3D4A42;
  background: #F2E3CB;
  border-color: #F2E3CB;
}
.lang-btn:focus {
  outline: 2px solid rgba(242,227,203,0.4);
  outline-offset: 2px;
}

/* ── Theme Toggle ───────────────────────────────────────────── */
#theme-toggle {
  background: transparent;
  border: 1px solid rgba(242,227,203,0.18);
  color: rgba(242,227,203,0.6);
  font-size: 0.9rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
#theme-toggle:hover {
  color: #F2E3CB;
  border-color: rgba(242,227,203,0.45);
  background: rgba(242,227,203,0.07);
}
#theme-toggle:focus {
  outline: 2px solid rgba(242,227,203,0.4);
  outline-offset: 2px;
}

/* ── Weather Widget ─────────────────────────────────────────── */
.weather-widget {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  background: rgba(242,227,203,0.07);
  padding: 6px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  color: rgba(242,227,203,0.8);
  font-size: 0.83rem;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(242,227,203,0.12);
  transition: var(--ease);
}
.weather-widget:hover { background: rgba(242,227,203,0.12); }

.weather-current {
  display: flex;
  align-items: center;
  gap: 8px;
}
#weather-icon { font-size: 1.05rem; }
#weather-temp { font-weight: 500; }
#weather-desc { display: none; font-weight: 300; font-size: 0.78rem; opacity: 0.7; }

.weather-forecast {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 1000;
  animation: fadeUp 0.18s ease;
}
.weather-widget:hover .weather-forecast { display: block; }

.forecast-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-sub);
}
.forecast-item:last-child { border-bottom: none; }
.forecast-day {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
}
.forecast-temp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.forecast-temp span { color: var(--text-faint); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  height: 76vh;
  min-height: 520px;
  max-height: 900px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 48px 24px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -8%;
  background: url('../images/apartment/img1.jpg') center/cover no-repeat;
  animation: kenBurns 24s ease-in-out infinite alternate;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(31, 41, 37, 0.22) 0%,
    rgba(31, 41, 37, 0.50) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: fadeUp 1s ease-out;
}

.hero-logo {
  width: 68px;
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}

.hero h1,
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 300;
  margin: 0 0 14px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #fff;
}

.hero p,
.hero-subtitle {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: clamp(0.78rem, 1.8vw, 0.95rem);
  margin: 0;
  opacity: 0.72;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2.8s infinite;
  text-decoration: none;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  transition: var(--ease);
}
.hero-scroll:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}
.hero-scroll i { font-size: 0.75rem; }

/* ── Table of Contents ──────────────────────────────────────── */
.toc {
  background: var(--surface);
  padding: 16px 28px;
  margin: 36px auto;
  max-width: 1200px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.toc ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 0;
}
.toc li { margin: 0; }

.toc a {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid transparent;
  transition: var(--ease);
}
.toc a i { font-size: 0.7rem; opacity: 0.7; }
.toc a:hover,
.toc a:focus {
  color: var(--accent-dark);
  background: var(--accent-pale);
}
.toc a.active {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 14px rgba(107, 142, 127, 0.25);
}

/* ── Sections ───────────────────────────────────────────────── */
section {
  background: var(--surface);
  margin: 36px auto;
  padding: 56px 56px;
  max-width: 1200px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.32s ease, transform 0.32s ease;
}
section:hover {
  box-shadow: var(--shadow-md);
}

/* ── Section Headings ───────────────────────────────────────── */
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: none;
  letter-spacing: 0.005em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
/* Soft accent stroke under headings — a short pastel line, not a full rule */
h2::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--warm), var(--warm-soft));
  opacity: 0.85;
}

h2 i {
  font-size: 1rem;
  color: var(--accent);
  opacity: 0.85;
}

.section-title {
  /* Inherits h2 styles */
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 32px;
  max-width: 620px;
  line-height: 1.75;
}

/* ── Notice Box ─────────────────────────────────────────────── */
.notice {
  background: var(--warm-pale);
  padding: 22px 26px;
  border-radius: var(--r);
  margin-bottom: 32px;
  border-left: 3px solid var(--warm-soft);
}

.notice h2 {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-tan);
  margin-bottom: 10px;
  padding-bottom: 0;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice h2::after { display: none; }
.notice h2 i { font-size: 0.85rem; }

.notice p {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}
.notice p:last-child { margin-bottom: 0; }
.dark-mode .notice { background: var(--bg-alt); border-left-color: var(--accent); }

/* ── Gallery ────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 220px 220px 220px;
  grid-auto-rows: 220px;
  gap: 12px;
  margin-top: 12px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r);
  cursor: pointer;
  transition: var(--ease);
  /* Pastel-film treatment: gently muted with a touch of warmth */
  filter: saturate(0.94);
}
@media (min-width: 769px) {
  .gallery:not(.is-expanded) img:nth-child(1) { grid-row: span 2; }
}

.gallery:not(.is-expanded) img:nth-child(n+9) { display: none; }

.gallery img:hover {
  transform: scale(1.02);
  z-index: 1;
  position: relative;
}

.gallery-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.gallery-actions .btn {
  background: var(--warm-soft);
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}
.gallery-actions .btn:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Cards (Beach, Sports, Restaurants) ────────────────────── */
.card-grid,
.beach-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 12px;
}

.card,
.beach-item {
  background: var(--surface);
  border-radius: var(--r);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--ease);
  box-shadow: var(--shadow-xs);
}
.card:hover,
.beach-item:hover {
  border-color: var(--border-sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card img,
.beach-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: saturate(0.94);
}
.card:hover img,
.beach-item:hover img {
  transform: scale(1.05);
}

.card h3,
.beach-item h3 {
  font-family: 'Cormorant Garamond', serif;
  margin: 20px 22px 8px;
  color: var(--text);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  padding: 0;
}

.card p,
.beach-item p {
  font-size: 0.96rem;
  color: var(--text-muted);
  padding: 0 22px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.beach-item .address-link,
.beach-item .instagram-link {
  display: flex;
  width: fit-content;
  margin: 0 8px 8px;
}
.beach-item .instagram-link {
  margin-bottom: 18px;
}

.card-links { padding: 0 22px 22px; }

/* ── Chef card: logo avatar + name header ───────────────────── */
.chef-card .chef-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 4px;
}
.chef-card .chef-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  /* Override the generic .beach-item img sizing */
  display: block;
}
.chef-card .chef-header h3 {
  margin: 0;
  flex: 1;
  min-width: 0;
}
/* Hover on the card should not zoom the small logo avatar */
.chef-card:hover .chef-logo { transform: none; }

/* Staggered card reveal */
.beach-list .beach-item {
  animation: cardReveal 0.5s ease both paused;
  animation-delay: calc(var(--card-index, 0) * 0.07s);
}
section.visible .beach-list .beach-item {
  animation-play-state: running;
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Carousel ───────────────────────────────────────────────── */
.carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 0;
}

.carousel-inner {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.carousel-inner img {
  min-width: 100%;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

/* Shift focal point up for jiu-jitsu photos so heads aren't cropped */
.beach-item img[src*="jiu-jitsu"],
.carousel-inner img[src*="jiu-jitsu"] {
  object-position: center 35%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 253, 247, 0.94);
  color: var(--accent-dark);
  border: none;
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: var(--ease);
  z-index: 10;
  box-shadow: 0 4px 14px rgba(61, 74, 66, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.carousel:hover .carousel-btn,
.carousel:focus-within .carousel-btn { opacity: 1; }
.carousel-btn:hover {
  background: var(--accent);
  color: var(--bg);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.carousel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 0;
  transition: var(--ease);
}
.carousel-dot.active {
  background: white;
  width: 14px;
  border-radius: 3px;
}
.carousel-dot:hover { background: rgba(255,255,255,0.8); }

/* ── Buttons & Links ────────────────────────────────────────── */
/* Utility button — soft cream pill with sage ink */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  color: var(--accent-dark);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: var(--ease);
  box-shadow: var(--shadow-xs);
}
.btn:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-glow);
}

/* Primary CTA — confident sage pill, editorial Cormorant lettering */
.btn-cta {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  letter-spacing: 0.005em;
  text-transform: none;
  padding: 16px 34px;
  border-radius: var(--r-pill);
  font-weight: 500;
  background: var(--accent);
  color: var(--bg);
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(107, 142, 127, 0.28);
}
.btn-cta:hover {
  background: var(--accent-dark);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(61, 74, 66, 0.22);
}
/* Dark mode: --accent-dark flips to a paler tone, so keep text legible */
.dark-mode .btn-cta:hover {
  background: var(--accent-light);
  color: var(--bg);
}
.btn-cta i { font-size: 1.05rem; }

/* Quiet ghost CTA — keep its glassy hero treatment */
.btn-cta--ghost {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: #FFFDF7;
  background: rgba(255, 253, 247, 0.10);
  border: 1px solid rgba(255, 253, 247, 0.35);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-cta--ghost:hover {
  background: rgba(255, 253, 247, 0.18);
  border-color: rgba(255, 253, 247, 0.58);
  color: #FFFDF7;
  box-shadow: none;
}

/* WhatsApp-branded CTA */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.32);
}
.btn-whatsapp:hover {
  background: #1FAE56;
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.38);
}

/* Airbnb-branded CTA */
.btn-airbnb {
  background: #FF5A5F;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(255, 90, 95, 0.32);
}
.btn-airbnb:hover {
  background: #E0484D;
  color: #fff;
  box-shadow: 0 12px 32px rgba(255, 90, 95, 0.38);
}

/* Inline location/instagram chips — soft, no hard border */
.address-link,
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--accent-pale);
  border: 1px solid transparent;
  transition: var(--ease);
}
.address-link i,
.instagram-link i {
  color: var(--accent);
  font-size: 0.85rem;
}
.address-link:hover,
.instagram-link:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-1px);
}
.address-link:hover i,
.instagram-link:hover i {
  color: var(--bg);
}

/* Legacy WhatsApp button (used elsewhere) */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: var(--ease);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.28);
}
.whatsapp-button:hover {
  background: #1FAE56;
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.34);
}

/* ── Amenities List ─────────────────────────────────────────── */
.amenities-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0 24px;
  margin-top: 8px;
}
.amenities-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-sub);
  margin-bottom: 0;
  line-height: 1.55;
}
.amenities-list li strong {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  color: var(--text);
  font-weight: 600;
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* ── Rules List ─────────────────────────────────────────────── */
.rules-list {
  list-style: none;
  padding: 0;
}
.rules-list > li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-sub);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.rules-list > li:last-child { border-bottom: none; }
.rules-list > li strong { color: var(--text); font-weight: 700; }
.rules-list > li > ul {
  padding-left: 1.25rem;
  margin-top: 10px;
}
.rules-list > li > ul > li {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ── Help / Contact ─────────────────────────────────────────── */
.contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* ── Modal ──────────────────────────────────────────────────── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(31, 41, 37, 0.94);
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal img {
  max-width: 88%;
  max-height: 84%;
  border-radius: var(--r);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: modalFadeIn 0.25s ease-out;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.4rem;
  color: rgba(242,227,203,0.65);
  background: rgba(242,227,203,0.07);
  border: 1px solid rgba(242,227,203,0.12);
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ease);
}
.modal-close:hover {
  background: rgba(242,227,203,0.14);
  color: #fff;
}
.modal-close:focus { outline: 2px solid var(--accent-light); }

/* ── Back to Top ────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 88px;
  right: 22px;
  background: var(--surface);
  color: var(--accent-dark);
  border: 1px solid var(--border-sub);
  border-radius: var(--r-pill);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--ease);
  box-shadow: var(--shadow-sm);
}
#back-to-top:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
#back-to-top:focus-visible {
  outline: none;
  box-shadow: var(--shadow-glow);
}

/* ── Floating WhatsApp ──────────────────────────────────────── */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1100;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.32);
  transition: var(--ease);
}
.floating-whatsapp:hover {
  background: #128C7E;
  transform: scale(1.07);
}
.floating-whatsapp:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.floating-whatsapp i { font-size: 1.5rem; color: white; }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 56px 32px;
  background: #3D4A42;
  color: rgba(242,227,203,0.45);
  margin-top: 64px;
}
footer p {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  color: rgba(242,227,203,0.4);
  font-size: 0.78rem;
  margin: 0 0 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
footer a {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  color: rgba(242,227,203,0.65);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(242,227,203,0.06);
  border-radius: var(--r-pill);
  border: 1px solid rgba(242,227,203,0.1);
  transition: var(--ease);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
footer a:hover {
  background: rgba(242,227,203,0.11);
  color: #F2E3CB;
}

/* Per-platform icon tints — spots of pastel color on the dark forest footer */
.footer-links .fa-whatsapp  { color: var(--accent-light); }
.footer-links .fa-instagram { color: var(--warm-soft); }
.footer-links .fa-airbnb    { color: var(--warm); }
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.85rem;
  font-weight: 400;
  color: rgba(242,227,203,0.92);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
}
/* Soft pastel hairline under the brand mark — connects to the palette accents */
.footer-brand::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 14px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--warm), var(--warm-soft), var(--accent-light));
  opacity: 0.7;
}
.footer-tagline {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 0 32px;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes kenBurns {
  from { transform: scale(1) translate(0, 0); }
  to   { transform: scale(1.07) translate(-1%, 0.5%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Legacy alias */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40%           { transform: translateX(-50%) translateY(-7px); }
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Public landing page (body.is-landing)
   ============================================================ */

body.is-landing .hero {
  height: 84vh;
  min-height: 580px;
  max-height: 920px;
}

body.is-landing .hero::before {
  background-image: url('../images/apartment/img6.jpg');
}

body.is-landing .hero::after {
  background: linear-gradient(
    180deg,
    rgba(31,41,37,0.20) 0%,
    rgba(31,41,37,0.42) 55%,
    rgba(31,41,37,0.62) 100%
  );
}

.hero-eyebrow {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.78rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin: 0 0 14px;
  font-weight: 400;
}

.hero-subtitle--lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.3vw, 1.4rem);
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 300;
  opacity: 0.92;
  margin: 18px auto 0;
  max-width: 580px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}

/* Eyebrow + display titles */
.eyebrow {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.7;
}

.display-title {
  font-size: clamp(1.95rem, 4.4vw, 2.9rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.005em;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 24px;
}
/* Hide the section h2 accent stroke on display titles (they have their own rhythm) */
.display-title::after { display: none; }
.display-title.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.section-intro.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
/* Center-aligned eyebrows on display sections */
.display-title.centered + .section-intro,
.testimonials .eyebrow,
.booking-cta .eyebrow {
  display: inline-flex;
  justify-content: center;
}
.testimonials,
.booking-cta {
  text-align: center;
}
.testimonials .testimonials-grid {
  text-align: left;
}

/* Highlights strip — soft pastel band with circular icon plates */
.highlights {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 194, 107, 0.18) 0%, transparent 48%),
    radial-gradient(circle at 92% 100%, rgba(168, 201, 181, 0.28) 0%, transparent 52%),
    var(--bg-alt);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-sub);
  padding: 36px 40px;
  box-shadow: var(--shadow-xs);
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.highlight {
  text-align: center;
  padding: 14px 8px;
}
.highlight i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  color: var(--accent-dark);
  background: rgba(255, 253, 247, 0.7);
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.highlight:nth-child(2) i { color: var(--warm-tan); }
.highlight:nth-child(3) i { color: var(--accent); }
.highlight:nth-child(4) i { color: var(--warm); }
.highlight:hover i { transform: translateY(-3px) rotate(-4deg); }
.highlight h3 {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 6px;
}
.highlight p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
.dark-mode .highlights {
  background:
    radial-gradient(circle at 12% 0%, rgba(244, 194, 107, 0.10) 0%, transparent 48%),
    radial-gradient(circle at 92% 100%, rgba(168, 201, 181, 0.14) 0%, transparent 52%),
    var(--bg-alt);
}
.dark-mode .highlight i { background: rgba(255, 253, 247, 0.06); }

/* About on landing */
.about-landing .about-prose p {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
}

.about-landing .amenities-heading {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin: 40px 0 14px;
}

.amenities-list--landing li {
  border-bottom-color: var(--border);
}

/* Location section */
.location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 12px;
}

.location-card-text {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.location-line {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--text);
  margin: 0;
}
.location-line i {
  color: var(--accent);
  margin-right: 10px;
  font-size: 1.1rem;
}
.location-coords {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  margin: 0 0 18px;
}
.location-card-text .btn {
  align-self: flex-start;
}

.location-card-art {
  background:
    radial-gradient(circle at 22% 28%, var(--warm-pale) 0%, transparent 48%),
    radial-gradient(circle at 78% 30%, var(--accent-pale) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(184, 216, 212, 0.55) 0%, transparent 55%),
    linear-gradient(160deg, #F0E8D3 0%, #E6F0E9 100%);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: var(--accent-dark);
  font-size: 2.2rem;
  min-height: 200px;
  border: 1px solid var(--border-sub);
  position: relative;
  overflow: hidden;
}
.location-card-art i {
  text-shadow: 0 2px 12px rgba(61, 74, 66, 0.10);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.location-card-art i:nth-child(1) { color: var(--accent); }
.location-card-art i:nth-child(2) { color: var(--accent-dark); }
.location-card-art i:nth-child(3) { color: var(--warm); }
.location-card-art:hover i { transform: translateY(-3px); }
.dark-mode .location-card-art {
  background:
    radial-gradient(circle at 22% 28%, rgba(244, 194, 107, 0.16) 0%, transparent 48%),
    radial-gradient(circle at 78% 30%, rgba(168, 201, 181, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(184, 216, 212, 0.18) 0%, transparent 55%),
    linear-gradient(160deg, #2A3530 0%, #2E3A35 100%);
  color: var(--text);
}
.dark-mode .location-card-art i:nth-child(2) { color: var(--accent-light); }

/* Activities preview cards */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}
/* Two-card variant — bigger photos */
.activities-grid--two {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.activity-card {
  position: relative;
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: var(--ease);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-xs);
}
.activities-grid--two .activity-card { aspect-ratio: 3 / 2; }
.activity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(0.88) contrast(0.97);
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
}
.activity-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-sage);
  box-shadow: var(--shadow-md);
}
.activity-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.82) contrast(0.97);
}
.activity-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    to top,
    rgba(31,41,37,0.78) 0%,
    rgba(31,41,37,0) 100%
  );
}
.activity-card-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: #FFFDF7;
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
.activity-arrow {
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 247, 0.14);
  border: 1px solid rgba(255, 253, 247, 0.36);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFDF7;
  font-size: 0.82rem;
  transition: var(--ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.activity-card:hover .activity-arrow {
  background: var(--warm);
  border-color: var(--warm);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(232, 155, 122, 0.45);
}

/* ── Restaurants strip (home page) ─────────────────────────── */
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.restaurant-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: var(--ease);
  color: var(--text);
}
.restaurant-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-sage);
  box-shadow: var(--shadow-md);
}
.restaurant-card .restaurant-hero {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  margin: 0;
}
.restaurant-card:hover .restaurant-hero { transform: scale(1.04); }

.restaurant-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 14px;
  row-gap: 10px;
  padding: 20px 24px 18px;
}
/* Optical alignment: nudge the logo down a hair so it sits next to the h3 baseline */
.restaurant-card .restaurant-logo { margin-top: 2px; }
.restaurant-card-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.restaurant-card-links .address-link,
.restaurant-card-links .instagram-link {
  margin: 0;
}
.restaurant-card .restaurant-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  display: block;
  margin: 0;
  grid-row: 1;
}
.restaurant-card .restaurant-text {
  min-width: 0;
  grid-row: 1;
  grid-column: 2;
}
.restaurant-card .restaurant-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--text);
  letter-spacing: 0.005em;
  line-height: 1.15;
}
.restaurant-card .restaurant-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.restaurant-arrow {
  grid-row: 1;
  grid-column: 3;
  align-self: center;
  color: var(--accent-dark);
  background: var(--accent-pale);
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.restaurant-card:hover .restaurant-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateX(4px);
}

.restaurants-cta {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* Booking CTA section — soft warm gradient invites the eye to the CTA */
.booking-cta {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 194, 107, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 30% 100%, rgba(168, 201, 181, 0.24) 0%, transparent 55%),
    radial-gradient(circle at 70% 100%, rgba(232, 155, 122, 0.14) 0%, transparent 55%),
    var(--surface);
}
.booking-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.booking-cta .display-title {
  font-style: italic;
  font-weight: 300;
}
.dark-mode .booking-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 194, 107, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 30% 100%, rgba(168, 201, 181, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 70% 100%, rgba(232, 155, 122, 0.08) 0%, transparent 55%),
    var(--surface);
}

/* FAQ — soft cream chips, sage accent when open */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}
.faq-item {
  border: 1px solid transparent;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-soft);
  transition: var(--ease);
}
.faq-item:hover {
  background: var(--accent-pale);
}
.faq-item[open] {
  background: var(--surface);
  border-color: var(--border-sage);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  font-size: 0.78rem;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: clamp(20px, 5vw, 24px);
  height: clamp(20px, 5vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 247, 0.6);
}
.faq-item[open] summary i {
  transform: rotate(180deg);
  background: var(--accent);
  color: var(--bg);
}
.faq-item summary:focus-visible {
  outline: none;
  box-shadow: var(--shadow-glow);
}
.faq-answer {
  padding: 0 26px 22px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* Landing footer enhancements */
body.is-landing footer {
  margin-top: 80px;
}
.footer-inner {
  max-width: 720px;
  margin: 0 auto;
}
.footer-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 8px 0 22px;
}
.footer-copy {
  color: rgba(242,227,203,0.32);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 12px 0 0;
}

/* RTL nudges */
[dir="rtl"] .activity-card:hover .activity-arrow {
  transform: translateX(-3px);
}
[dir="rtl"] .activity-arrow i {
  transform: scaleX(-1);
}
[dir="rtl"] .location-line i {
  margin-right: 0;
  margin-left: 10px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (min-width: 768px) {
  #weather-desc { display: inline; }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  section {
    margin: 16px 12px;
    padding: 28px 22px;
    overflow-x: hidden;
    max-width: calc(100vw - 24px);
  }
  .hero {
    height: 65vh;
    min-height: 420px;
  }
  .hero::before {
    animation: none;
    inset: 0;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  /* Mobile: stack beach/sport/chef cards vertically (no horizontal scroll) */
  #beaches .beach-list,
  #sports .beach-list,
  #chefs .beach-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 8px;
  }
  /* Mobile card photo aspect — give the image proper presence */
  #beaches .beach-item img:not(.chef-logo),
  #sports .beach-item img:not(.chef-logo) {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-auto-rows: auto;
  }
  .gallery img { height: 148px; }
  .gallery img:nth-child(1) {
    grid-row: auto;
    grid-column: auto;
  }
  .toc a {
    padding: 6px 11px;
    font-size: 0.7rem;
  }
  .amenities-list { grid-template-columns: 1fr; }

  /* Landing responsive */
  .highlights { padding: 22px 18px; }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .location-card { grid-template-columns: 1fr; }
  .location-card-text { padding: 24px; }
  .location-card-art { min-height: 130px; font-size: 1.7rem; }
  .activities-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .activity-card { aspect-ratio: 16 / 9; }
  .activities-grid--two .activity-card { aspect-ratio: 16 / 10; }
  .activity-card-body { padding: 14px 18px; }
  .activity-card-body h3 { font-size: 1.2rem; }

  /* Restaurants strip on mobile — image on top, content below */
  .restaurants-grid { grid-template-columns: 1fr; gap: 16px; }
  .restaurant-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .restaurant-card .restaurant-hero { aspect-ratio: 16 / 10; height: auto; }
  .restaurant-card-body { padding: 20px 18px 18px; }
  .restaurant-card .restaurant-text h3 { font-size: 1.35rem; }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas .btn-cta { justify-content: center; }
  body.is-landing .hero { height: 78vh; min-height: 480px; }
  body.is-landing .hero::before {
    background-image: url('../images/apartment/img6.jpg');
  }
}

@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  header .header-inner {
    padding: 10px 16px;
  }
  .header-text h1 { font-size: 1.05rem; }
  .header-text p {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }
  .header-controls {
    width: 100%;
    order: 3;
    gap: 8px;
    padding-top: 8px;
  }
  .lang-btn {
    font-size: 0.68rem;
    padding: 10px 10px;
    min-height: 44px;
  }
  .weather-widget {
    padding: 5px 10px;
    font-size: 0.77rem;
  }
  #weather-icon { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════════════
   Landing UI polish v2
   - Section rhythm via .section--quiet
   - Hero refinement (overlay, eyebrow, title shadow)
   - Gallery hover affordance
   - Testimonials cards
   - Sticky CTA pill
   ═══════════════════════════════════════════════════════════════ */

/* ── Section rhythm ─────────────────────────────────────────── */
.section--quiet {
  background: var(--bg-alt);
  border-color: var(--border-sub);
  box-shadow: var(--shadow-xs);
}
.dark-mode .section--quiet {
  background: var(--bg-alt);
  border-color: var(--border);
}

/* ── Hero refinement ────────────────────────────────────────── */
.hero::after {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(31,41,37,0.42) 0%, rgba(31,41,37,0) 70%),
    linear-gradient(180deg, rgba(31,41,37,0.14) 0%, rgba(31,41,37,0.40) 60%, rgba(31,41,37,0.62) 100%);
}
.hero .hero-eyebrow {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  opacity: 1;
  margin: 0 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.45);
}
.hero .hero-eyebrow::before,
.hero .hero-eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.55);
}
.hero-title {
  text-shadow: 0 2px 14px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.5);
}
.hero-subtitle {
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

/* ── Gallery hover affordance ───────────────────────────────── */
.gallery img {
  cursor: zoom-in;
  transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease;
}
.gallery img:hover {
  transform: scale(1.025);
  filter: saturate(1.1) brightness(0.96);
  box-shadow: 0 14px 36px rgba(61, 74, 66, 0.22);
}
.gallery img:active {
  transform: scale(0.98);
}
.gallery {
  position: relative;
}
/* Subtle hint sticker, top-right of first photo */
.gallery::before {
  content: '\f00e'; /* fa-search-plus */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: rgba(255, 253, 247, 0.94);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(61, 74, 66, 0.14);
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.dark-mode .gallery::before {
  background: rgba(31, 41, 37, 0.92);
  color: var(--accent);
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonials .eyebrow {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-tan);
  margin: 0 0 14px;
  font-weight: 600;
}
.testimonials .eyebrow::before {
  background: var(--warm-tan);
}
.dark-mode .testimonials .eyebrow {
  color: var(--warm-soft);
}
.dark-mode .testimonials .eyebrow::before {
  background: var(--warm-soft);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.testimonial {
  margin: 0;
  padding: 44px 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  position: relative;
  transition: var(--ease);
  box-shadow: var(--shadow-xs);
}
.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-sage);
}
.testimonial:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* Oversized mustard quote glyph — a warm spot of color on the otherwise sage page */
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 6px;
  left: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5.5rem;
  line-height: 1;
  color: var(--warm-soft);
  font-style: normal;
  opacity: 0.9;
}
.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 22px;
  color: var(--text);
  font-weight: 400;
  /* Cap very long reviews so cards stay even */
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial figcaption {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-sub);
  padding-top: 14px;
  gap: 4px;
}
.testimonial-author {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.testimonial-stars {
  font-size: 0.82rem;
  color: var(--warm-soft);
  letter-spacing: 0.08em;
}
.testimonial-stars-dim {
  color: var(--text-faint);
  opacity: 0.4;
}
.testimonial-meta {
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.74rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* reviews loading state */
.testimonial-skeleton {
  background: var(--surface-alt, var(--surface));
  border-radius: var(--radius-md, 12px);
  padding: 24px;
  min-height: 140px;
  animation: skeleton-pulse 1.4s ease-in-out infinite;
}
.testimonial-skeleton-line {
  height: 12px;
  background: rgba(0,0,0,0.06);
  border-radius: 6px;
  margin-bottom: 10px;
}
.testimonial-skeleton-line:last-child { width: 60%; }
@keyframes skeleton-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.dark-mode .testimonial-skeleton-line { background: rgba(255,255,255,0.08); }

/* ── Sticky CTA pill ────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(160%);
  z-index: 90;
  display: flex;
  gap: 6px;
  padding: 7px;
  background: rgba(255, 253, 247, 0.78);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(236, 226, 204, 0.65);
  border-radius: var(--r-pill);
  box-shadow:
    0 20px 50px rgba(61, 74, 66, 0.14),
    0 0 0 1px rgba(255, 253, 247, 0.4) inset;
  transition: transform 0.5s cubic-bezier(0.34, 1.45, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-family: 'Droid Serif', Georgia, 'Times New Roman', serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--ease);
  white-space: nowrap;
}
.sticky-cta a i { font-size: 1rem; }
.sticky-cta-wa {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 4px 14px rgba(107, 142, 127, 0.28);
}
.sticky-cta-wa:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(61, 74, 66, 0.28);
}
.sticky-cta-air {
  background: var(--warm);
  color: var(--bg);
  box-shadow: 0 4px 14px rgba(232, 155, 122, 0.32);
}
.sticky-cta-air:hover {
  background: #D88564;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(216, 133, 100, 0.36);
}
.dark-mode .sticky-cta-wa:hover {
  background: var(--accent-light);
}
.dark-mode .sticky-cta {
  background: rgba(31, 41, 37, 0.82);
  border-color: rgba(168, 201, 181, 0.18);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.48),
    0 0 0 1px rgba(255, 253, 247, 0.05) inset;
}
/* Hide the existing floating WA when sticky CTA is visible (avoid duplication) */
body:has(.sticky-cta.is-visible) .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (max-width: 720px) {
  .sticky-cta {
    bottom: 14px;
    left: 50%;
    right: auto;
    width: calc(100% - 28px);
    max-width: 320px;
    transform: translateX(-50%) translateY(160%);
  }
  .sticky-cta.is-visible {
    transform: translateX(-50%) translateY(0);
  }
  .sticky-cta a {
    flex: 1;
    justify-content: center;
    padding: 11px 14px;
    font-size: 0.74rem;
  }
  .gallery::before {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
    top: 10px;
    right: 10px;
  }
  .testimonial { padding: 28px 22px 20px; }
  .testimonial blockquote { font-size: 1.02rem; }
}

/* Honor user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero::before {
    animation: none !important;
  }
}
