/* ═══════════════════════════════════════════════════════════════════════════
   Villa Maria Klis — Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --primary:       #D97559;
  --primary-dark:  #B85E3E;
  --primary-light: rgba(217,117,89,0.12);
  --secondary:     #1B3A5C;
  --accent:        #F0C040;
  --bg:            #FDF8F4;
  --bg-alt:        #F5EDE4;
  --border:        #E8DDD5;
  --text:          #2A2A2A;
  --text-muted:    #777;
  --white:         #FFFFFF;
  --radius:        10px;
  --radius-sm:     6px;
  --shadow:        0 4px 30px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 40px rgba(0,0,0,0.14);
  --transition:    0.3s ease;
  --max-width:     1180px;
}

/* ─── BASE ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ─── SCROLL REVEAL ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── NAVIGATION ────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.08);
  padding: 14px 48px;
}
/* Nav logo */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity var(--transition);
}
.nav-logo-wrap:hover { opacity: 0.82; }

.logo-monogram {
  color: var(--accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color var(--transition);
  filter: drop-shadow(0 1px 6px rgba(240,192,64,0.35));
}
nav.scrolled .logo-monogram {
  color: var(--primary);
  filter: drop-shadow(0 1px 4px rgba(217,117,89,0.25));
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1;
  transition: color var(--transition);
  white-space: nowrap;
}
nav.scrolled .logo-name { color: var(--secondary); }

.logo-tagline {
  font-size: 0.56rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  line-height: 1;
  transition: color var(--transition);
  white-space: nowrap;
}
nav.scrolled .logo-tagline { color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.3px;
  transition: color var(--transition);
}
nav.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--primary) !important; }

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(217,117,89,0.4) !important;
}
.nav-admin {
  font-size: 0.78rem !important;
  opacity: 0.45;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px !important;
  transition: opacity var(--transition) !important;
}
.nav-admin:hover {
  opacity: 0.85;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
nav.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--text); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: var(--text); }

/* ─── HERO ──────────────────────────────────────────────────────────────── */
#home {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.70) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 820px;
  animation: heroFadeIn 1.2s ease 0.3s both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 22px;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 500;
}
.hero-badge svg {
  width: 13px;
  height: 13px;
  stroke: var(--accent);
  fill: none;
  flex-shrink: 0;
}
.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  letter-spacing: -0.5px;
}
.hero-content p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  opacity: 0.88;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 38px;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(6px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}
.hero-pill .pill-icon { font-size: 1rem; display: flex; align-items: center; }
.hero-pill svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex-shrink: 0; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 17px 44px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 24px rgba(217,117,89,0.45);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(217,117,89,0.55);
}
.btn-primary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: scrollBounce 2.2s infinite;
  cursor: pointer;
}
.hero-scroll-hint svg {
  width: 20px; height: 20px;
  stroke: rgba(255,255,255,0.55);
  fill: none;
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ─── SECTIONS COMMON ───────────────────────────────────────────────────── */
section { padding: 108px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { margin-bottom: 64px; }

.section-label {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.9rem);
  color: var(--secondary);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
}

/* ─── GALLERY ───────────────────────────────────────────────────────────── */
#gallery { background: var(--white); }

.gallery-grid {
  columns: 3;
  column-gap: 14px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  background: var(--bg-alt);
}
.gallery-item img {
  width: 100%;
  transition: transform 0.55s ease;
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,58,92,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-item-overlay svg {
  width: 40px; height: 40px;
  stroke: white; fill: none;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-item:hover .gallery-item-overlay { background: rgba(27,58,92,0.3); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-item-overlay svg { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.96);
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: white;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  font-size: 1.3rem;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

/* ─── ABOUT / DESCRIPTION ───────────────────────────────────────────────── */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.about-text p {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 22px;
  font-size: 0.98rem;
}
.capacity-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.badge {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 11px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--secondary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.badge:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(217,117,89,0.15);
}
.badge-icon {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  color: var(--primary);
}
.badge-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 500;
}
.highlight-icon {
  width: 34px; height: 34px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  color: var(--primary);
}
.highlight-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* Amenities panel */
.amenities-panel {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.amenities-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--secondary);
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.875rem;
  color: var(--text);
}
.amenity-icon {
  font-size: 1.15rem;
  width: 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.amenity-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.amenity-label { line-height: 1.3; }

.rating-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 0.9rem; }
.rating-score { font-size: 1.3rem; font-weight: 700; color: var(--secondary); }
.rating-text { font-size: 0.85rem; color: var(--text-muted); }

/* ─── AVAILABILITY / CALENDAR ───────────────────────────────────────────── */
#availability { background: var(--white); }

.calendar-shell {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 44px 44px 36px;
  box-shadow: var(--shadow);
  max-width: 920px;
  margin: 0 auto;
}
.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}
.calendar-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--secondary);
}
.cal-arrow {
  background: var(--bg);
  border: 1.5px solid var(--border);
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--secondary);
}
.cal-arrow:hover { background: var(--bg-alt); border-color: var(--primary); }
.cal-arrow:disabled { opacity: 0.35; cursor: not-allowed; }

.calendar-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.cal-month-header {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.84rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-weight: 500;
  user-select: none;
  position: relative;
}
.cal-day.empty { cursor: default; }
.cal-day.past { color: #D5CBCA; cursor: not-allowed; font-weight: 400; }
/* Dates within the minimum stay window — not selectable as checkout */
.cal-day.below-min {
  color: #c8aa98;
  cursor: not-allowed;
  font-style: italic;
}
.cal-day.below-min::after {
  content: '';
  position: absolute;
  width: 50%; height: 1px;
  background: #c8aa98;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.cal-day.available {
  background: #e8f2e8;
  border-radius: 4px;
}
/* Departure day: left=last booked night, right=free for new arrivals */
.cal-day.transition-out {
  background: linear-gradient(to right, #f5e4e4 50%, #e8f2e8 50%);
  border-radius: 4px;
  cursor: pointer;
}
/* Arrival day: left=free morning, right=new guests arriving */
.cal-day.transition-in {
  background: linear-gradient(to right, #e8f2e8 50%, #f5e4e4 50%);
  border-radius: 4px;
  cursor: pointer;
}
.cal-day.unavailable {
  background: #f5e4e4;
  color: #c4a0a0;
  cursor: not-allowed;
  font-weight: 400;
  border-radius: 4px;
}
.cal-day.unavailable::after {
  content: '';
  position: absolute;
  width: 60%; height: 1px;
  background: #d4a0a0;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.cal-day.today { color: var(--primary); font-weight: 700; }
.cal-day:not(.past):not(.unavailable):not(.empty):hover {
  background: var(--bg-alt);
}
.cal-day.in-range {
  background: var(--primary-light);
  border-radius: 0;
  color: var(--text);
}
.cal-day.selected-start,
.cal-day.selected-end {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 700;
  border-radius: 50% !important;
  z-index: 1;
}
.cal-day.range-start-cap { border-radius: 50% 0 0 50% !important; }
.cal-day.range-end-cap   { border-radius: 0 50% 50% 0 !important; }

.calendar-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1.5px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cal-legend {
  display: flex;
  gap: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.cal-legend-item { display: flex; align-items: center; gap: 6px; }
.leg-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.leg-dot.avail   { background: var(--primary); }
.leg-dot.unavail { background: #D5CBCA; }
.leg-dot.range   { background: var(--primary-light); border: 1px solid var(--primary); }

.cal-summary { text-align: right; }
.cal-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}
.cal-price span { font-size: 0.88rem; font-weight: 400; color: var(--text-muted); }
.cal-details { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.cal-total { font-size: 0.95rem; font-weight: 700; color: var(--primary); margin-top: 6px; }

.cal-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 12px;
}
.cal-book-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(217,117,89,0.35);
}

/* ─── LOCATION ──────────────────────────────────────────────────────────── */
#location { background: var(--bg); }

.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}
.map-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}
.map-frame iframe { width: 100%; height: 100%; border: none; display: block; }

.location-points { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.location-point { display: flex; gap: 16px; align-items: flex-start; }
.loc-icon {
  width: 46px; height: 46px;
  background: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  color: var(--primary);
}
.loc-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.loc-text h4 {
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 3px;
  font-size: 0.92rem;
}
.loc-text p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; }

/* ─── CONTACT ───────────────────────────────────────────────────────────── */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 90px;
  align-items: start;
}
.contact-info > p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  font-size: 0.97rem;
}
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-detail {
  display: flex; align-items: center;
  gap: 14px;
  font-size: 0.875rem;
  color: var(--text);
}
.detail-icon {
  width: 42px; height: 42px;
  background: var(--bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--primary);
}
.detail-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.detail-text a { color: var(--primary); }
.detail-text a:hover { text-decoration: underline; }

/* Form */
.contact-form-box {
  background: var(--bg);
  border-radius: 24px;
  padding: 44px;
  border: 1.5px solid var(--border);
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 7px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 17px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(217,117,89,0.12);
}
.form-group textarea { height: 130px; resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Read-only date fields populated from the availability calendar */
.date-from-calendar {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px !important;
}
.date-from-calendar:focus { outline: none; box-shadow: none; }
.form-date-hint {
  font-size: 0.78rem;
  color: #999;
  margin: -10px 0 16px;
  text-align: center;
}

/* Pulse highlight on the availability calendar when user clicks a date field */
@keyframes cal-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(217,117,89,0.45); }
  60%  { box-shadow: 0 0 0 12px rgba(217,117,89,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,117,89,0); }
}
.cal-pulse-active { animation: cal-pulse 0.7s ease-out; }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
  margin-top: 4px;
}
.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(217,117,89,0.35);
}

/* ─── SEO CONTENT SECTION ───────────────────────────────────────────────── */
.seo-section { background: var(--bg-alt, #f8f6f2); padding: 72px 0; }
.seo-article { max-width: 820px; margin: 0 auto; }
.seo-article h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--secondary); margin-bottom: 1.2rem; }
.seo-article h3 { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--secondary); margin: 2rem 0 0.75rem; }
.seo-article p  { color: var(--text-muted, #555); line-height: 1.8; margin-bottom: 1rem; font-size: 1rem; }
.seo-highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 2rem; }
.seo-highlight-item { background: #fff; border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.seo-highlight-item strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary, #D97559); }
.seo-highlight-item span   { font-size: .95rem; color: var(--secondary); font-weight: 500; }

/* ─── FOOTER ────────────────────────────────────────────────────────────── */
footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.65);
  padding: 72px 24px 32px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 280px;
}
.footer-col h4 {
  color: white;
  font-size: 0.75rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-rating { display: flex; align-items: center; gap: 8px; }
.stars { color: var(--accent); font-size: 0.85rem; }
.airbnb-link { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.airbnb-link:hover { color: var(--primary); }

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav { padding: 18px 32px; }
  nav.scrolled { padding: 12px 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .location-grid { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-grid { columns: 2; }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .logo-monogram svg { width: 36px !important; height: 42px !important; }
  .logo-name { font-size: 1rem; }
  .logo-tagline { font-size: 0.52rem; }
  nav { padding: 14px 20px; }
  nav.scrolled { padding: 10px 20px; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; font-size: 1.15rem; }
  .nav-cta { font-size: 1.05rem !important; }
  .hamburger { display: flex; }
  section { padding: 72px 20px; }
  .about-grid { gap: 36px; }
  .about-highlights { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .calendar-shell { padding: 24px 18px; }
  .calendar-months { grid-template-columns: 1fr; gap: 28px; }
  .calendar-footer { flex-direction: column; align-items: flex-start; }
  .cal-summary { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-form-box { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: 1; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

@media (max-width: 520px) {
  .gallery-grid { columns: 1; }
  .hero-pills { gap: 8px; }
  .hero-pill { font-size: 0.75rem; padding: 6px 14px; }
  .capacity-badges { gap: 8px; }
  .badge { padding: 9px 14px; font-size: 0.82rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ─── REVIEWS — EDITORIAL SPOTLIGHT ─────────────────────────────────────── */
#reviews {
  background: var(--secondary);
  overflow: hidden;
}

/* Override header colours for dark background */
#reviews .section-label { color: rgba(255,255,255,0.45); }
#reviews .section-title { color: #fff; }

.reviews-header-line {
  width: 48px;
  height: 2px;
  background: var(--primary);
  margin: 20px auto 0;
}

/* ── Featured review ── */
.reviews-featured {
  max-width: 960px;
  margin: 0 auto 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
  overflow: hidden;
  transition: opacity .35s ease, transform .35s ease;
}
.reviews-featured.swapping {
  opacity: 0;
  transform: translateY(-10px) scale(.98);
}

.rf-quote {
  background: var(--primary);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
}
.rf-quote .rf-quotemark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 72px;
  line-height: .8;
  color: rgba(255,255,255,0.22);
  margin-bottom: 14px;
}
.rf-quote .rf-text {
  font-size: 1rem;
  line-height: 1.82;
  color: #fff;
  font-weight: 300;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rf-expand-btn {
  margin-top: 18px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background .2s;
  width: fit-content;
  font-family: inherit;
}
.rf-expand-btn:hover { background: rgba(255,255,255,0.3); }

.rf-author {
  padding: 48px 44px;
  background: rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.rf-author .rf-stars     { color: var(--accent); font-size: 1rem; margin-bottom: 20px; letter-spacing: 2px; }
.rf-author .rf-name      { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.rf-author .rf-date      { color: rgba(255,255,255,0.45); font-size: 0.8rem; }
.rf-translate {
  margin-top: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: .2s;
  font-family: inherit;
  width: fit-content;
}
.rf-translate:hover { background: rgba(255,255,255,0.2); color: #fff; }
.rf-author .rf-source    { margin-top: 24px; font-size: 0.73rem; color: rgba(255,255,255,0.28); font-style: italic; }

/* ── Ticker ── */
.reviews-ticker-label {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  margin-bottom: 16px;
}
.reviews-ticker-wrap { position: relative; overflow: hidden; }
.reviews-ticker-fade-l,
.reviews-ticker-fade-r {
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.reviews-ticker-fade-l { left:  0; background: linear-gradient(to right, var(--secondary), transparent); }
.reviews-ticker-fade-r { right: 0; background: linear-gradient(to left,  var(--secondary), transparent); }

.reviews-ticker-track {
  display: flex;
  gap: 14px;
  animation: reviewsScroll 420s linear infinite;
  width: max-content;
  padding-bottom: 4px;
}
.reviews-ticker-track:hover { animation-play-state: paused; }

@keyframes reviewsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.r-chip {
  flex-shrink: 0;
  width: 255px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  user-select: none;
}
.r-chip:hover  { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22); transform: translateY(-2px); }
.r-chip.is-active { border-color: var(--primary); background: rgba(217,117,89,0.14); }

.r-chip-head  { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.r-chip-av    { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0; }
.r-chip-name  { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.8); }
.r-chip-date  { font-size: 11px; color: rgba(255,255,255,0.38); }
.r-chip-stars { color: var(--accent); font-size: 10px; margin-bottom: 5px; letter-spacing: 1px; }
.r-chip-text  { font-size: 12px; color: rgba(255,255,255,0.58); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Footer ── */
.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
}
.reviews-airbnb-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  transition: color .2s;
}
.reviews-airbnb-link:hover { color: #fff; }

/* ── Full-review modal ── */
.review-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.review-modal-overlay.open { display: flex; }
.review-modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 600px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 44px; position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  animation: rmIn .25s ease;
}
@keyframes rmIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.review-modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 22px;
  cursor: pointer; color: #bbb; line-height: 1; transition: color .2s;
}
.review-modal-close:hover { color: #333; }
.review-modal-stars { color: var(--accent); font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.review-modal-qmark { font-family: 'Playfair Display', Georgia, serif; font-size: 52px; line-height: .8; color: var(--primary); opacity: .3; margin-bottom: 10px; }
.review-modal-text  { font-size: 1rem; line-height: 1.85; color: #333; }
.review-modal-translate {
  display: inline-block;
  margin-top: 16px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.78rem;
  color: var(--primary);
  cursor: pointer;
  transition: .2s;
  font-family: inherit;
}
.review-modal-translate:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.review-modal-footer {
  margin-top: 28px; padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
}
.review-modal-av     { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; color: #fff; flex-shrink: 0; }
.review-modal-name   { font-weight: 700; font-size: 15px; color: var(--secondary); }
.review-modal-date   { font-size: 12px; color: var(--text-muted); }
.review-modal-source { font-size: 11px; color: var(--text-muted); font-style: italic; margin-top: 2px; }

/* ── Responsive ── */
@media (max-width: 820px) {
  .reviews-featured { grid-template-columns: 1fr; }
  .rf-quote  { padding: 36px 28px; }
  .rf-author { padding: 28px; }
}
@media (max-width: 520px) {
  .r-chip { width: 220px; }
}
