/* ==========================================================================
   THE GREEN GROVE RESORT — MASTER PRODUCTION STYLESHEET
   Brand: Tropical Luxury Boutique Resort in Varkala, Kerala
   Palette: Deep Forest Green, Warm Ivory, Soft Sage, Champagne Gold, Charcoal
   ========================================================================== */

/* 1. Design Tokens & CSS Custom Properties (Permanent Dark Luxury Sanctuary Theme) */
:root {
  --forest-950: #030805;
  --forest-900: #07130d;
  --forest-800: #0d1e16;
  --forest-700: #14281e;
  --forest-600: #1b3528;
  --forest-500: #234635;
  
  --sage-900: #0e1d15;
  --sage-700: #183324;
  --sage-500: #244b36;
  --sage-300: #3c7154;
  --sage-100: #14281e;
  --sage-50:  #0d1e16;

  --ivory-50:  #040a07;
  --ivory-100: #060e09;
  --ivory-200: #0d1e16;
  --ivory-300: #14281e;

  --gold-300: #e2cca0;
  --gold-400: #d4b87d;
  --gold-500: #c5a059;
  --gold-600: #b99a62;

  --charcoal-900: #ffffff;
  --charcoal-800: #f8fafc;
  --charcoal-700: #e2e8f0;
  --charcoal-600: #cbd5e1;
  --charcoal-500: #94a3b8;

  --whatsapp-green: #25D366;
  --whatsapp-hover: #20ba59;
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(10, 23, 17, 0.05);
  --shadow-md: 0 4px 12px rgba(10, 23, 17, 0.08);
  --shadow-lg: 0 12px 28px -6px rgba(10, 23, 17, 0.12);
  --shadow-xl: 0 24px 48px -12px rgba(10, 23, 17, 0.2);
  --shadow-gold: 0 8px 24px -4px rgba(197, 160, 89, 0.35);

  --transition-fast: 0.18s ease;
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: #e2e8f0;
  background-color: #060e09;
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  overflow-x: hidden;
  background-color: #060e09;
  color: #e2e8f0;
  min-height: 100vh;
}

img, picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* 3. Strict SVG & Icon Rules (NEVER BLOW UP) */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-xs { width: 14px !important; height: 14px !important; min-width: 14px !important; max-width: 14px !important; }
.icon-sm { width: 16px !important; height: 16px !important; min-width: 16px !important; max-width: 16px !important; }
.icon-md { width: 20px !important; height: 20px !important; min-width: 20px !important; max-width: 20px !important; }
.icon-lg { width: 24px !important; height: 24px !important; min-width: 24px !important; max-width: 24px !important; }
.icon-xl { width: 32px !important; height: 32px !important; min-width: 32px !important; max-width: 32px !important; }

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: rgba(197, 160, 89, 0.18) !important;
  color: var(--gold-400) !important;
  border: 1.5px solid rgba(197, 160, 89, 0.45) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}
.icon-badge svg {
  color: var(--gold-400) !important;
  stroke: var(--gold-400) !important;
}
.icon-badge-gold {
  background-color: rgba(197, 160, 89, 0.22) !important;
  color: var(--gold-400) !important;
  border: 1.5px solid var(--gold-500) !important;
}
.icon-badge-forest {
  background-color: rgba(15, 36, 26, 0.85) !important;
  color: var(--gold-400) !important;
  border: 1.5px solid var(--gold-500) !important;
}

/* 4. Layout & Grid Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.container-sm {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.section-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.section-lg {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.grid {
  display: grid;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .map-card-span-2 { grid-column: span 2; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* 5. Typography */
.font-serif { font-family: var(--font-serif); }
.font-sans  { font-family: var(--font-sans); }

.text-xs { font-size: 0.75rem; line-height: 1.25rem; }
.text-sm { font-size: 0.875rem; line-height: 1.375rem; }
.text-base { font-size: 1rem; line-height: 1.625rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.75rem; }
.text-5xl { font-size: 3rem; line-height: 1.15; }
.text-6xl { font-size: 3.75rem; line-height: 1.1; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.2em; }

.text-forest { color: #f1f5f9; }
.text-forest-dark { color: #ffffff; }
.text-gold { color: var(--gold-400); }
.text-gold-light { color: var(--gold-300); }
.text-sage { color: #cbd5e1; }
.text-charcoal { color: #ffffff; }
.text-muted { color: #cbd5e1; }
.text-white { color: #ffffff; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background-color: rgba(15, 36, 26, 0.9);
  color: var(--gold-400);
  border: 1px solid rgba(197, 160, 89, 0.45);
  margin-bottom: 1rem;
}
.section-kicker-dark {
  background-color: rgba(15, 36, 26, 0.95);
  color: var(--gold-400);
  border: 1px solid rgba(197, 160, 89, 0.45);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.section-title-dark {
  color: #ffffff;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.75rem; }
}

.section-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.65;
}
.section-desc-dark {
  color: rgba(226, 237, 229, 0.85);
}

.italic-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-500);
}

/* 6. Backgrounds & Themes */
.bg-ivory { background-color: #060e09; color: #e2e8f0; }
.bg-ivory-light { background-color: #0a150f; color: #e2e8f0; }
.bg-white { background-color: #0d1e16; color: #e2e8f0; }
.bg-sage-soft { background-color: #0a150f; color: #e2e8f0; }
.bg-forest-dark { background-color: #07130d; color: #ffffff; }
.bg-forest-deep { background-color: #030805; color: #ffffff; }

/* 7. Buttons & Badges */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--forest-800);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(24, 58, 43, 0.25);
}
.btn-primary:hover {
  background-color: var(--forest-900);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(24, 58, 43, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--forest-950);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #dfc78f 0%, var(--gold-400) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -2px rgba(197, 160, 89, 0.5);
  color: var(--forest-950);
}

.btn-outline-gold {
  border: 1.5px solid var(--gold-500);
  color: var(--gold-500);
  background: transparent;
}
.btn-outline-gold:hover {
  background-color: var(--gold-500);
  color: var(--forest-950);
  transform: translateY(-2px);
}

.btn-outline-forest {
  border: 1.5px solid rgba(197, 160, 89, 0.55);
  color: #ffffff;
  background: rgba(15, 36, 26, 0.85);
}
.btn-outline-forest:hover {
  background-color: var(--gold-500);
  color: #060e09;
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--sage-100);
  color: var(--forest-800);
  border: 1px solid rgba(123, 153, 135, 0.35);
}
.badge-pill-gold {
  background-color: rgba(197, 160, 89, 0.22);
  color: var(--gold-600);
  font-weight: 700;
  border: 1px solid rgba(197, 160, 89, 0.55);
}
.badge-pill-dark {
  background-color: rgba(15, 36, 26, 0.75);
  color: var(--gold-300);
  border: 1px solid rgba(197, 160, 89, 0.25);
}

/* 8. Header & Navigation */
.announcement-bar {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 36, 26, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding: 0.85rem 0;
  transition: all var(--transition-base);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  border: 1px solid var(--gold-500);
}
.logo-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  display: block;
}
.logo-tagline {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-400);
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
}
.nav-link {
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.35rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-400);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gold-400);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gold-400);
  border-radius: var(--radius-sm);
}
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
}

.mobile-menu {
  display: none;
  padding: 1.25rem 0 0.5rem 0;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  margin-top: 0.85rem;
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  transition: background-color var(--transition-fast);
}
.mobile-menu a:hover, .mobile-menu a.active {
  background-color: var(--forest-800);
  color: var(--gold-400);
}

/* 9. Hero Section */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem 1.5rem;
  color: #ffffff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) contrast(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 9, 0.28) 0%, rgba(6, 14, 9, 0.48) 50%, rgba(6, 14, 9, 0.88) 100%);
  z-index: 1;
}

/* Page Cover Banner for Inner Pages (Rooms, Amenities, Gallery, Contact) */
.page-cover-banner {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 3.5rem 1.5rem;
  overflow: hidden;
  background-color: #060e09;
}
.page-cover-banner .page-cover-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-cover-banner .page-cover-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.86) contrast(1.04);
}
.page-cover-banner .page-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 9, 0.35) 0%, rgba(6, 14, 9, 0.58) 55%, rgba(6, 14, 9, 0.94) 100%);
  z-index: 1;
}
.page-cover-banner .page-cover-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
@media (min-width: 640px) {
  .hero-title { font-size: 3.5rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 4.25rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(240, 245, 241, 0.95);
  margin-bottom: 2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-booking-bar {
  background: rgba(15, 36, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  max-width: 1060px;
  margin: 0 auto;
}
.booking-bar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  text-align: left;
  align-items: flex-end;
}
@media (min-width: 600px) {
  .booking-bar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .booking-bar-grid {
    grid-template-columns: 1.35fr 1.35fr 0.8fr 0.8fr 0.8fr 1.5fr;
  }
}
.booking-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.booking-field label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 0.15rem;
}
.booking-field input, .booking-field select {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 23, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all var(--transition-fast);
  color-scheme: dark;
}
.booking-field input[type="date"] {
  color-scheme: dark;
  -webkit-appearance: none;
}
.booking-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.9;
}
.booking-field input:focus, .booking-field select:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(10, 23, 17, 0.98);
  box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.25);
}

/* PMS Booking Engine Elements */
.pms-booking-bar {
  background: rgba(15, 36, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  max-width: 1060px;
  margin: 0 auto;
}
.pms-submit-btn {
  width: 100%;
  padding: 0.76rem 1.25rem;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-600) 100%);
  color: var(--forest-950);
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}
.pms-submit-btn:hover {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}
.pms-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  color: rgba(226, 237, 229, 0.8);
}
.pms-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.pms-meta-item strong {
  color: var(--gold-400);
}

/* Modal PMS Form Grid */
.modal-pms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.modal-pms-counts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

/* 10. Luxury Cards (Cottage, Feature, Highlight) - Permanent Dark Luxury Theme */
.card {
  background: #0d1e16;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  color: #e2e8f0;
  transition: all var(--transition-base);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  border-color: var(--gold-500);
}

.card-dark {
  background: #0d1e16;
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: #ffffff;
}
.card-dark:hover {
  border-color: var(--gold-500);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

/* Cottage Listing Card */
.cottage-card {
  background: #0d1e16;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}
.cottage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.6);
  border-color: var(--gold-500);
}
.cottage-card-media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background-color: #07130d;
}
.cottage-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.cottage-card:hover .cottage-card-media img {
  transform: scale(1.05);
}
.cottage-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(15, 36, 26, 0.92);
  color: var(--gold-400);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-md);
}

.cottage-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.cottage-card-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.cottage-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.cottage-card-desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.cottage-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #e2e8f0;
}
.cottage-feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cottage-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cottage-price-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--forest-800);
  line-height: 1;
}
.cottage-price-label {
  font-size: 0.75rem;
  color: var(--charcoal-500);
}

/* 11. Interactive Gallery & Lightbox */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.filter-pill {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(15, 36, 26, 0.85);
  color: #e2e8f0;
  border: 1px solid rgba(197, 160, 89, 0.35);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.filter-pill:hover {
  background: rgba(197, 160, 89, 0.25);
  color: #ffffff;
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
}
.filter-pill.active {
  background: var(--gold-500);
  color: var(--forest-950);
  border-color: var(--gold-500);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.45);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d1e16;
  border: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-500);
}
.gallery-card-thumb {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.gallery-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.gallery-card:hover .gallery-card-thumb img {
  transform: scale(1.08);
}
.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 23, 17, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8125rem;
}
.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}
.gallery-card-info {
  padding: 1rem 1.25rem;
}
.gallery-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest-900);
}
.gallery-card-cat {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  margin-top: 0.2rem;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(10, 23, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
}
.lightbox-modal.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--forest-900);
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-fast);
}
.lightbox-close:hover {
  background: var(--gold-500);
  color: var(--forest-950);
}
.lightbox-img-wrap {
  max-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background: #000;
}
.lightbox-img-wrap img {
  max-height: 65vh;
  width: auto;
  object-fit: contain;
}

/* 12. Booking Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(10, 23, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open {
  display: flex;
}
.modal-dialog {
  position: relative;
  max-width: 520px;
  width: 100%;
  background: var(--forest-900);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}
.modal-dialog.modal-dialog-lg {
  max-width: 960px;
  width: 95vw;
  max-height: 94vh;
  overflow-y: auto;
  padding: 1.75rem 1.25rem 1.25rem;
}
@media (max-width: 640px) {
  .modal-dialog.modal-dialog-lg {
    padding: 1.25rem 0.6rem 0.75rem;
    width: 98vw;
    max-height: 96vh;
    border-radius: var(--radius-lg);
  }
}

.booking-embed-card {
  background: #0d1e16;
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.booking-embed-card:hover {
  border-color: var(--gold-500);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}
.modal-close:hover {
  background: var(--gold-500);
  color: var(--forest-950);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-400);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(10, 23, 17, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.875rem;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold-500);
  background: rgba(10, 23, 17, 0.95);
}

/* Contact form inputs */
.form-control-light {
  background: rgba(15, 36, 26, 0.9);
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: #ffffff;
}
.form-control-light:focus {
  background: rgba(15, 36, 26, 0.98);
  border-color: var(--gold-500);
}

/* 13. Floating WhatsApp Action Button */
.whatsapp-float {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
}
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 86px;
    right: 20px;
  }
}

/* ClearHost Floating Book Now Button - Safari & Chrome Parity */
#ch-floating-book-btn {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif) !important;
}
@media (max-width: 640px) {
  #ch-floating-book-btn {
    bottom: max(18px, env(safe-area-inset-bottom, 18px)) !important;
    right: 18px !important;
    padding: 12px 22px !important;
    font-size: 15px !important;
  }
}
.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-base);
  position: relative;
  text-decoration: none;
}
.whatsapp-float-btn svg {
  width: 34px !important;
  height: 34px !important;
  fill: #ffffff !important;
  color: #ffffff !important;
}
.whatsapp-float-btn:hover {
  transform: scale(1.08);
  background-color: #20bd5a;
}
.whatsapp-tooltip {
  display: none;
  margin-right: 0.85rem;
  background-color: var(--forest-900);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
@media (min-width: 640px) {
  .whatsapp-float:hover .whatsapp-tooltip {
    display: block;
  }
}
.pulse-beacon {
  display: none !important;
}

/* Floating ClearHost Booking Widget Button */
.btn-floating-book {
  position: fixed;
  bottom: 24px;
  right: 92px;
  z-index: 9998;
  padding: 13px 24px;
  background: linear-gradient(135deg, #1f4837 0%, #143226 100%);
  color: #ffffff;
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1.5px solid rgba(197, 160, 89, 0.65);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 23, 17, 0.35), 0 0 0 1px rgba(197, 160, 89, 0.25);
  transition: all var(--transition-fast, 0.2s ease);
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-floating-book:hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, #c5a059 0%, #a7823b 100%);
  color: #0d1e16;
  border-color: #f0f6f2;
  box-shadow: 0 12px 28px rgba(197, 160, 89, 0.5);
}
@media (max-width: 640px) {
  .btn-floating-book {
    bottom: 84px;
    right: 16px;
    padding: 11px 18px;
    font-size: 13.5px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  }
}

/* 14. Footer */
.site-footer {
  background-color: var(--forest-950);
  color: rgba(226, 237, 229, 0.75);
  font-size: 0.8125rem;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(197, 160, 89, 0.25);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}
.footer-title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
}
.footer-links li {
  margin-bottom: 0.65rem;
}
.footer-links a:hover {
  color: var(--gold-400);
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(226, 237, 229, 0.5);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* 15. Responsive Utility Helpers */
@media (max-width: 639px) {
  .hide-sm { display: none !important; }
}
@media (max-width: 1023px) {
  .hide-lg { display: none !important; }
}

/* ==========================================================================
   16. Luxury Modern Animation & Interactive Experiential System
   ========================================================================== */

/* A. Hero Ambient Move In/Out Zoom Animation */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) contrast(1.04);
  animation: heroMoveInOut 16s ease-in-out infinite alternate;
  will-change: transform;
  transform-origin: center center;
}
@keyframes heroMoveInOut {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    transform: scale(1.07) translate3d(-0.6%, -0.4%, 0);
  }
  100% {
    transform: scale(1.02) translate3d(0.5%, 0.3%, 0);
  }
}

/* D. Safe & High-Performance Scroll Reveal System */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.stagger-group > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stagger-group.is-revealed > * {
  opacity: 1;
  transform: none;
}

/* E. Resort Ambient Mood Control (Theme switch disabled - Permanent Dark Sanctuary) */
.mood-pill-btn {
  display: none !important;
}

/* Campfire Twilight Mode Theme Overrides */
[data-resort-mood="campfire"] {
  --ivory-100: #08140e;
  --ivory-50: #040a07;
  --charcoal-900: #f8fafc;
  --charcoal-800: #f1f5f9;
  --charcoal-700: #e2e8f0;
  --charcoal-600: #cbd5e1;
  --forest-950: #030805;
  --forest-900: #07130d;
}
[data-resort-mood="campfire"] body {
  background-color: #060e09;
  color: #e2e8f0;
}
[data-resort-mood="campfire"] .card,
[data-resort-mood="campfire"] .cottage-card,
[data-resort-mood="campfire"] .sunset-explorer-card {
  background: #0d1e16 !important;
  border-color: rgba(197, 160, 89, 0.4) !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(197, 160, 89, 0.2);
}
[data-resort-mood="campfire"] h1,
[data-resort-mood="campfire"] h2,
[data-resort-mood="campfire"] h3,
[data-resort-mood="campfire"] h4,
[data-resort-mood="campfire"] .cottage-card-title,
[data-resort-mood="campfire"] .section-title,
[data-resort-mood="campfire"] .font-serif {
  color: #ffffff !important;
}
[data-resort-mood="campfire"] .text-forest,
[data-resort-mood="campfire"] .text-forest-dark {
  color: #e8f5ec !important;
}
[data-resort-mood="campfire"] .text-muted,
[data-resort-mood="campfire"] .cottage-card-desc,
[data-resort-mood="campfire"] p {
  color: #cbd5e1 !important;
}
[data-resort-mood="campfire"] .cottage-card-features,
[data-resort-mood="campfire"] .cottage-feature-item {
  color: #e2e8f0 !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}
[data-resort-mood="campfire"] .cottage-perk-list li {
  color: #e2e8f0 !important;
}
[data-resort-mood="campfire"] .badge-pill {
  background-color: rgba(197, 160, 89, 0.22) !important;
  color: var(--gold-300) !important;
  border-color: rgba(197, 160, 89, 0.4) !important;
}
[data-resort-mood="campfire"] .form-control-light,
[data-resort-mood="campfire"] input,
[data-resort-mood="campfire"] select,
[data-resort-mood="campfire"] textarea {
  background: #14281e !important;
  color: #ffffff !important;
  border-color: rgba(197, 160, 89, 0.45) !important;
}
[data-resort-mood="campfire"] label {
  color: var(--gold-300) !important;
}
[data-resort-mood="campfire"] .trail-item {
  background: #14281e !important;
  border-color: rgba(197, 160, 89, 0.3) !important;
  color: #e2e8f0 !important;
}
[data-resort-mood="campfire"] .trail-item strong {
  color: #ffffff !important;
}
[data-resort-mood="campfire"] .cottage-price-num,
[data-resort-mood="campfire"] .cottage-price-badge {
  color: var(--gold-400) !important;
}

/* F. Varkala Sunset & Proximity Styling */
.sunset-explorer-card {
  background: #0d1e16;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  padding: 2.25rem;
  margin-top: 2.5rem;
  color: #e2e8f0;
}
.sunset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sunset-countdown-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--forest-900);
  color: var(--gold-300);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
}
.proximity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .proximity-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .proximity-grid { grid-template-columns: repeat(5, 1fr); }
}
.trail-item {
  padding: 1.15rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(197, 160, 89, 0.25);
  background: rgba(15, 36, 26, 0.75);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.trail-item:hover, .trail-item.active {
  border-color: var(--gold-500);
  background: rgba(197, 160, 89, 0.18);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.trail-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}
.trail-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.trail-stat {
  font-size: 0.8125rem;
  color: var(--gold-light, #dfd0b2);
  font-weight: 600;
  margin-top: 0.35rem;
}
.trail-display-box {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(15, 36, 26, 0.9);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.875rem;
  color: #e2e8f0;
  line-height: 1.6;
}
.trail-display-box strong {
  color: var(--gold-400);
}

/* G. Interactive Cottage Switcher */
.cottage-switcher-wrap {
  margin: 3.5rem 0 2rem;
}
.cottage-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.cottage-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 36, 26, 0.75);
  border: 1.5px solid rgba(197, 160, 89, 0.25);
  cursor: pointer;
  transition: all var(--transition-base);
}
.cottage-tab:hover, .cottage-tab.active {
  background: #0f241a;
  border-color: var(--gold-500);
  box-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}
.cottage-tab .tab-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
}
.cottage-tab .tab-title {
  font-size: 1rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-top: 0.2rem;
}
.cottage-tab.active .tab-title {
  color: #ffffff;
}

.cottage-panel {
  display: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.cottage-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.cottage-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  background: #0d1e16;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(197, 160, 89, 0.15);
}
@media (min-width: 900px) {
  .cottage-detail-grid { 
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
}
.cottage-photo-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
}
.cottage-photo-showcase picture {
  display: block;
  width: 100%;
  height: 100%;
}
.cottage-photo-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.signature-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 36, 26, 0.92);
  color: var(--gold-400);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-500);
  z-index: 2;
}

/* Photo Mosaic Grid - Clean edge-to-edge frame, no empty space */
.photo-mosaic-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  line-height: 0;
  background: #0d1e16;
}
.photo-mosaic-item picture {
  display: block;
  width: 100%;
  height: 100%;
}
.photo-mosaic-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}
.photo-mosaic-item:hover img {
  transform: scale(1.03);
}
.photo-mosaic-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 14, 9, 0.94) 100%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.cottage-info-pane {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cottage-price-badge {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
}
.cottage-info-pane h3 {
  color: #ffffff !important;
}
.cottage-info-pane p {
  color: #cbd5e1 !important;
  line-height: 1.65;
}
.cottage-perk-list {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  list-style: none;
  padding: 0;
}
.cottage-perk-list li {
  color: #e2e8f0 !important;
}
.pane-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* H. Number Counter Styling */
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 900px) {
  .stats-counter-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-counter-box {
  padding: 2.25rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.25);
  transition: all var(--transition-base);
}
.stat-counter-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-500);
  transform: translateY(-4px);
}
.counter-num {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
}
.counter-label {
  font-size: 0.8125rem;
  color: rgba(226, 237, 229, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* I. Luxury Glass Shine Sweep */
.card, .cottage-card, .cottage-photo-showcase {
  position: relative;
  overflow: hidden;
}
.card::after, .cottage-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.16) 50%, transparent 80%);
  transform: rotate(25deg);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.card:hover::after, .cottage-card:hover::after {
  opacity: 1;
  transform: translate(320%, 0) rotate(25deg);
}

/* J. Proactive WhatsApp Concierge Tooltip */
.whatsapp-concierge-pop {
  position: absolute;
  bottom: calc(100% + 14px);
  right: 0;
  background: var(--forest-900);
  border: 1px solid var(--gold-500);
  color: #ffffff;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
  font-size: 0.8125rem;
  line-height: 1.45;
  width: 250px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 101;
}
.whatsapp-concierge-pop.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.whatsapp-concierge-pop::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 22px;
  width: 10px;
  height: 10px;
  background: var(--forest-900);
  border-right: 1px solid var(--gold-500);
  border-bottom: 1px solid var(--gold-500);
  transform: rotate(45deg);
}
.concierge-close {
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--gold-400);
  background: transparent;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 6px;
}
.concierge-close:hover {
  color: #ffffff;
}

/* Universal Reduced Motion Safeguard */
@media (prefers-reduced-motion: reduce) {
  .hero-bg img,
  .hero-media img,
  .living-image,
  .canopy-corner,
  .campfire-glow-container::before,
  .reveal,
  .nature-reveal,
  .stagger-group > * {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

/* ==========================================================================
   17. LUXURY NATURE SOUNDSCAPE & SILK ANIMATION SYSTEM
   ========================================================================== */

/* A. Top Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 1000;
  pointer-events: none;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--forest-600) 0%, var(--gold-500) 70%, var(--gold-400) 100%);
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.6);
  transition: width 0.08s linear;
}

/* B. Global Botanical Ambiance Canvas replaces localized canvases */
#natureCanvas,
.nature-canvas {
  display: none !important;
}

/* C. Silky Nature Scroll Reveal (Failsafe for all browsers and devices) */
.nature-reveal {
  opacity: 1;
  transform: translateY(0);
  filter: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
@media (min-width: 769px) {
  .nature-reveal:not(.is-revealed) {
    opacity: 0.2;
    transform: translateY(18px);
  }
  .nature-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* D. 3D Tilt Cards with Specular Specular Border */
.tilt-card {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: 0 24px 48px -12px rgba(15, 36, 26, 0.16);
}

/* ==========================================================================
   E. BOTANICAL LIVING AMBIANCE & IMMERSIVE NATURE ENGINE
   ========================================================================== */

/* Fullscreen Ambient Canvas (Fireflies, Light Insects, Floating Kerala Leaves, Sun Dappling) */
.grove-ambiance-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 12;
  opacity: 1;
  transition: opacity 0.8s ease;
}

/* Subtle Botanical Veranda Canopy Corners */
.canopy-corner {
  position: fixed;
  pointer-events: none;
  z-index: 11;
  opacity: 0.35;
  transition: opacity 1.2s ease, transform 0.6s ease;
}
.canopy-corner-top-left {
/* Completely Disable Floating Glitters, Canvas Swarms & Cursor Auras Site-wide */
.cursor-aura,
.grove-ambiance-canvas,
#groveAmbianceCanvas,
.campfire-glow-container::before,
.canopy-corner,
.pulse-beacon,
.click-ripple {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  animation: none !important;
}

/* Butter Smooth Scroll Track & Behavior */
html.lenis, html.smooth-scroll {
  scroll-behavior: auto !important;
}

/* 3D Perspective Card Hover Depth & Glare */
.card, .cottage-card, .amenity-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}
.card:hover, .cottage-card:hover, .amenity-card:hover {
  box-shadow: 0 20px 45px -12px rgba(15, 36, 26, 0.14), 0 0 1px 1px rgba(197, 160, 89, 0.25);
}

/* Card Media Gentle Zoom on Hover */
.card-media, .cottage-card-media {
  overflow: hidden;
  position: relative;
}
.card-media img, .cottage-card-media img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .card-media img, .cottage-card:hover .cottage-card-media img {
  transform: scale(1.06);
}

/* Magnetic Button Elastic Micro-Interactions */
.btn-magnetic {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* G. Glassmorphic Hero PMS Ribbon */
.hero-pms-ribbon {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 50px -10px rgba(10, 23, 17, 0.22);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}
.hero-pms-ribbon .pms-search-form {
  margin: 0;
}

/* H. Botanical Leaf Accents in Typography */
.section-kicker::before {
  content: '❧ ';
  color: var(--gold-500);
  font-size: 0.95em;
}



@media (max-width: 640px) {
  .announcement-bar {
    padding: 0.45rem 0.75rem;
    font-size: 0.6875rem;
  }
  .announcement-bar .container {
    justify-content: center;
    gap: 0.4rem;
  }
  .mood-pill-btn {
    padding: 0.25rem 0.65rem;
    font-size: 0.6875rem;
  }
  .whatsapp-float {
    bottom: 86px;
    right: 20px;
  }
  .whatsapp-concierge-pop {
    width: 240px;
    max-width: calc(100vw - 32px);
    right: 0;
  }
}

