/* ═══════════════════════════════════════════════════
   Pakistan Farm House — Luxury Farmhouse Website
   Palette: dark green · white · beige · gold
   ═══════════════════════════════════════════════════ */

:root {
  --green-950: #0c2418;
  --green-900: #123524;
  --green-800: #1a4a2e;
  --green-700: #255c3d;
  --green-100: #e4efe7;
  --beige-100: #faf6ee;
  --beige-200: #f3ecdd;
  --beige-300: #e8dcc4;
  --gold-500: #c9a24b;
  --gold-400: #d9b968;
  --gold-600: #a9853a;
  --ink: #22301f;
  --muted: #5f6d5f;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(18, 53, 36, 0.08);
  --shadow-md: 0 12px 34px rgba(18, 53, 36, 0.14);
  --shadow-lg: 0 24px 60px rgba(12, 36, 24, 0.28);
  --radius: 18px;
  --radius-lg: 26px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --nav-h: 78px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--beige-100);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

.container { width: min(1180px, 92%); margin-inline: auto; }
.gold { color: var(--gold-500); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; color: var(--green-900); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }

.section { padding: clamp(70px, 9vw, 120px) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--gold-400); }
.section-sub { color: var(--muted); margin-top: 16px; font-size: 0.98rem; }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--green-950);
  box-shadow: 0 10px 26px rgba(201, 162, 75, 0.4);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(201, 162, 75, 0.55); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: var(--white); color: var(--green-900); transform: translateY(-3px); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp svg { fill: currentColor; stroke: none; width: 22px; height: 22px; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 211, 102, 0.5); }

.btn-block { width: 100%; }

/* ── Navbar ──────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}
.navbar.scrolled {
  background: rgba(12, 36, 24, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  height: 66px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--gold-400), var(--gold-600));
  color: var(--green-950);
  flex-shrink: 0;
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.15; }
.brand-text strong { color: var(--gold-400); }
.brand-text em {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--gold-400); }
.nav-cta {
  margin-left: 10px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--green-950) !important;
  font-weight: 600;
  padding: 10px 22px !important;
}
.nav-cta:hover { transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span { width: 26px; height: 2.4px; background: var(--white); border-radius: 3px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ── Hero ────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 36, 24, 0.62) 0%, rgba(12, 36, 24, 0.42) 40%, rgba(12, 36, 24, 0.78) 100%),
    radial-gradient(ellipse at center, transparent 30%, rgba(12, 36, 24, 0.35) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 110px; color: var(--white); }

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero-eyebrow .line { width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400)); }
.hero-eyebrow .line:last-child { background: linear-gradient(270deg, transparent, var(--gold-400)); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  font-weight: 600;
  max-width: 900px;
  margin-inline: auto;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.hero-sub {
  max-width: 620px;
  margin: 22px auto 38px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(46px, 7vh, 80px);
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--gold-400);
}
.hero-stats span { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.mouse {
  width: 24px; height: 38px;
  border: 1.6px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.wheel { width: 3px; height: 7px; background: var(--gold-400); border-radius: 3px; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(9px); opacity: 0.2; } }

/* ── Facilities ──────────────────────────── */
.facilities {
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 162, 75, 0.07), transparent 40%),
    radial-gradient(circle at 94% 88%, rgba(26, 74, 46, 0.06), transparent 40%),
    var(--beige-100);
}
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.facility-card {
  background: var(--white);
  border: 1px solid rgba(26, 74, 46, 0.07);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.facility-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.facility-card::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.facility-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.facility-card:hover::before { transform: scaleX(1); }
.facility-card:hover::after { opacity: 1; }

.f-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--green-800), var(--green-950));
  color: var(--gold-400);
  margin-bottom: 20px;
  transition: transform 0.4s ease, background 0.4s ease;
}
.f-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.facility-card:hover .f-icon { transform: rotate(-6deg) scale(1.08); background: linear-gradient(145deg, var(--gold-400), var(--gold-600)); color: var(--green-950); }

.facility-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.facility-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

/* ── Availability ────────────────────────── */
.availability {
  background: linear-gradient(180deg, var(--green-950) 0%, var(--green-900) 100%);
  position: relative;
}
.availability::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(201, 162, 75, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
.availability .section-head h2 { color: var(--white); }
.availability .section-sub { color: rgba(255, 255, 255, 0.65); }

.avail-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.cal-card, .slots-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-head h3 { font-size: 1.35rem; }
.cal-nav {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--beige-300);
  background: var(--beige-100);
  color: var(--green-800);
  font-size: 0.9rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.cal-nav:hover { background: var(--green-900); color: var(--gold-400); transform: scale(1.06); }

.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  border: none;
  background: transparent;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cal-day-num { line-height: 1; }
.cal-day.empty { pointer-events: none; }
.cal-day.past { color: #c3c8c3; pointer-events: none; }

.cal-day.available { background: #e7f4ea; color: #1e6b38; }
.cal-day.available:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(30, 107, 56, 0.25); }
.cal-day.partial { background: #fdf5df; color: #96731a; }
.cal-day.partial:hover { transform: scale(1.1); box-shadow: 0 6px 16px rgba(150, 115, 26, 0.25); }
.cal-day.booked { background: #fdeaea; color: #b3392f; pointer-events: none; }
.cal-day.booked .cal-day-num { text-decoration: line-through; }
.cal-day.selected {
  background: var(--green-900) !important;
  color: var(--gold-400) !important;
  box-shadow: 0 8px 20px rgba(18, 53, 36, 0.4);
}
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--gold-500); }

/* Mini per-slot dots: one for each of the 4 time slots */
.cal-day-dots { display: flex; gap: 3px; }
.cal-day-dots i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #35a75a;
}
.cal-day-dots i.off { background: #d9534f; }
.cal-day.selected .cal-day-dots i { background: var(--gold-400); }
.cal-day.selected .cal-day-dots i.off { background: rgba(255, 255, 255, 0.35); }

/* Hover tooltip: "N of 4 slots open" */
.cal-day[data-tip]::before {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--green-900);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 9px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(18, 53, 36, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 6;
}
.cal-day[data-tip]:hover::before,
.cal-day[data-tip]:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.cal-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed var(--beige-300);
  font-size: 0.8rem;
  color: var(--muted);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend .legend-hint { flex-basis: 100%; font-style: italic; opacity: 0.75; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot-green { background: #35a75a; }
.dot-red { background: #d9534f; }
.dot-yellow { background: #e6b73c; }

.slots-card { display: flex; flex-direction: column; }
.slots-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.slots-date { font-size: 0.85rem; color: var(--gold-600); font-weight: 500; margin-bottom: 20px; }

.slot-list { display: flex; flex-direction: column; gap: 12px; }
.slot {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  text-align: left;
  padding: 15px 17px;
  border-radius: 15px;
  border: 1.5px solid var(--beige-300);
  background: var(--beige-100);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.slot:hover { border-color: var(--gold-500); transform: translateX(5px); box-shadow: var(--shadow-sm); }
.slot.unavailable {
  opacity: 0.55;
  border-style: dashed;
  cursor: not-allowed;
}
.slot.unavailable:hover { border-color: var(--beige-300); transform: none; box-shadow: none; }
.slot.unavailable .slot-icon { color: var(--muted); }
.slot.unavailable .slot-info strong { text-decoration: line-through; }
.slot.selected {
  border-color: var(--green-800);
  background: var(--green-900);
  box-shadow: 0 10px 24px rgba(18, 53, 36, 0.3);
}
.slot.selected .slot-info strong { color: var(--gold-400); }
.slot.selected .slot-info em { color: rgba(255, 255, 255, 0.65); }

.slot-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--white);
  color: var(--green-800);
  border: 1px solid var(--beige-300);
}
.slot.selected .slot-icon { background: rgba(255, 255, 255, 0.1); color: var(--gold-400); border-color: transparent; }
.slot-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.slot-info { flex: 1; }
.slot-info strong { display: block; font-size: 0.95rem; color: var(--green-900); }
.slot-info em { font-style: normal; font-size: 0.76rem; color: var(--muted); }

.slot-state {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.slot-state.ok { background: #e7f4ea; color: #1e6b38; }
.slot-state.busy { background: #fdeaea; color: #b3392f; }
.slot-state.wait { background: #fdf5df; color: #96731a; }

.slots-note {
  margin-top: auto;
  padding: 15px 17px;
  margin-top: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 162, 75, 0.12), rgba(201, 162, 75, 0.05));
  border: 1px dashed rgba(169, 133, 58, 0.4);
  font-size: 0.82rem;
  color: var(--ink);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.slots-note svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--gold-600); fill: none; stroke-width: 1.8; stroke-linecap: round; margin-top: 2px; }

/* ── Booking form ────────────────────────── */
.book-form-section { position: relative; overflow: hidden; }
.book-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.book-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12, 36, 24, 0.94) 0%, rgba(12, 36, 24, 0.82) 55%, rgba(12, 36, 24, 0.6) 100%);
}
.book-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.book-copy { color: rgba(255, 255, 255, 0.85); }
.book-copy h2 { color: var(--white); margin-bottom: 18px; }
.book-copy > p { font-weight: 300; max-width: 460px; }

.book-points { list-style: none; margin: 28px 0; display: grid; gap: 13px; }
.book-points li { display: flex; align-items: center; gap: 12px; font-size: 0.94rem; }
.book-points svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.18);
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.book-call { display: flex; align-items: baseline; gap: 12px; font-size: 0.9rem; }
.book-call a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-400);
  border-bottom: 1px dashed rgba(201, 162, 75, 0.5);
  transition: color 0.25s ease;
}
.book-call a:hover { color: var(--white); }

.book-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}
.book-card h3 { font-size: 1.5rem; margin-bottom: 24px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-800);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--beige-300);
  background: var(--beige-100);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.15);
}
.field input.invalid, .field select.invalid { border-color: #d9534f; background: #fdf5f5; }

.form-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); text-align: center; }
.form-success {
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: #1e6b38;
  background: #e7f4ea;
  padding: 12px;
  border-radius: 12px;
}

/* ── Gallery ─────────────────────────────── */
.gallery { background: var(--beige-200); }

.gal-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
}
.gal-filter {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--beige-300);
  background: var(--white);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.28s ease;
}
.gal-filter:hover { border-color: var(--gold-500); color: var(--green-900); transform: translateY(-2px); }
.gal-filter.active {
  background: var(--green-900);
  border-color: var(--green-900);
  color: var(--gold-400);
  box-shadow: 0 8px 20px rgba(18, 53, 36, 0.25);
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 18px;
}
.gal-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.gal-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(12, 36, 24, 0.85));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.gal-item::after {
  content: "⤢";
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.92);
  color: var(--green-950);
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gal-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gal-item:hover img { transform: scale(1.08); }
.gal-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gal-item:hover::after { opacity: 1; transform: scale(1); }
.gal-item.hidden { display: none; }

.video-gallery { margin-top: clamp(50px, 7vw, 80px); }
.video-gallery h3 { text-align: center; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 32px; }
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.video-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-950);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.video-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.video-item video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ── Lightbox ────────────────────────────── */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 22, 15, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  animation: lbIn 0.3s ease;
}
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  margin-inline: auto;
}
.lightbox figcaption { color: var(--beige-300); margin-top: 16px; font-size: 0.95rem; letter-spacing: 0.04em; }
.lb-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}
.lb-close:hover { background: var(--gold-500); color: var(--green-950); transform: rotate(90deg); }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.1rem;
  transition: background 0.25s ease;
}
.lb-nav:hover { background: var(--gold-500); color: var(--green-950); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* ── Reviews ─────────────────────────────── */
.reviews {
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 162, 75, 0.08), transparent 45%),
    var(--beige-100);
}
.review-slider { position: relative; max-width: 860px; margin-inline: auto; overflow: hidden; }
.review-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.3, 1);
}
.review-card {
  flex: 0 0 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26, 74, 46, 0.07);
  padding: clamp(30px, 5vw, 52px);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 6px; left: 26px;
  font-family: var(--font-display);
  font-size: 6.5rem;
  color: rgba(201, 162, 75, 0.18);
  line-height: 1;
}
.review-stars { color: var(--gold-500); font-size: 1.25rem; letter-spacing: 6px; margin-bottom: 20px; }
.review-card p { font-size: clamp(0.98rem, 1.8vw, 1.12rem); color: var(--ink); font-weight: 300; max-width: 640px; margin-inline: auto; }
.review-author { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; text-align: left; }
.avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--av, var(--green-800));
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold-400);
}
.review-author strong { display: block; color: var(--green-900); font-size: 0.98rem; }
.review-author em { font-style: normal; font-size: 0.78rem; color: var(--muted); }

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 30px;
}
.review-controls button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--beige-300);
  background: var(--white);
  color: var(--green-800);
  font-size: 0.95rem;
  transition: all 0.28s ease;
}
.review-controls button:hover { background: var(--green-900); color: var(--gold-400); border-color: var(--green-900); transform: scale(1.08); }
.review-dots { display: flex; gap: 8px; }
.review-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: var(--beige-300);
  transition: all 0.3s ease;
}
.review-dots button.active { background: var(--gold-500); width: 26px; border-radius: 6px; }

/* ── Footer ──────────────────────────────── */
.footer { background: var(--green-950); color: rgba(255, 255, 255, 0.75); }

.footer-cta {
  background:
    radial-gradient(circle at 15% 50%, rgba(201, 162, 75, 0.14), transparent 45%),
    linear-gradient(135deg, var(--green-900), var(--green-800));
  padding: clamp(40px, 6vw, 64px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-cta h2 { color: var(--white); font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin-bottom: 8px; }
.footer-cta p { font-weight: 300; }

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.1fr 1.2fr;
  gap: clamp(30px, 4vw, 54px);
  padding: clamp(50px, 7vw, 80px) 0 50px;
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--gold-500);
  border-radius: 2px;
}

.footer-brand .brand { margin-bottom: 18px; }
.footer-brand > p { font-size: 0.88rem; font-weight: 300; line-height: 1.8; max-width: 320px; }

.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--green-950); transform: translateY(-4px); }
.socials svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.8; fill: none; }
.socials svg[fill="currentColor"] { fill: currentColor; stroke: none; }

.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a {
  font-size: 0.9rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
  position: relative;
}
.footer-links a::before {
  content: "→";
  position: absolute;
  left: -2px;
  opacity: 0;
  color: var(--gold-400);
  transition: opacity 0.25s ease;
}
.footer-links a:hover { color: var(--gold-400); padding-left: 20px; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact { list-style: none; display: grid; gap: 16px; font-size: 0.88rem; }
.footer-contact li { display: flex; gap: 13px; align-items: flex-start; line-height: 1.6; }
.footer-contact svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--gold-400);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-contact a:hover { color: var(--gold-400); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.map-frame iframe { width: 100%; height: 220px; border: 0; display: block; filter: saturate(0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 0.8rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ── WhatsApp float ──────────────────────── */
.wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease;
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.12); animation-play-state: paused; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  55% { box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ── 3D FX (fx.js) ───────────────────────── */
.hero-content { will-change: transform, opacity; }
.hero-video, .book-bg { will-change: transform; }

/* Cards flip up in 3D as they scroll into view */
.reveal.fx-3d {
  transform: perspective(1000px) rotateX(16deg) translateY(48px) scale(0.95);
  transform-origin: 50% 100%;
}
.reveal.fx-3d.visible {
  transform: perspective(1000px) rotateX(0deg) translateY(0) scale(1);
}

/* Fast, transition-free tracking while tilting under the cursor */
.facility-card.tilting {
  transition: transform 0.09s linear, box-shadow 0.35s ease;
}

/* ── Reveal animations ───────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float { animation: none; }
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1020px) {
  .avail-wrap { grid-template-columns: 1fr; }
  .book-inner { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    background: rgba(12, 36, 24, 0.97);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.15rem; }
  .nav-cta { margin-left: 0; margin-top: 10px; }

  .hero-stats { gap: 22px 34px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-cta-inner { justify-content: center; text-align: center; }
  .cal-card, .slots-card { padding: 22px 18px; }
  .cal-weekdays, .cal-grid { gap: 4px; }
  .cal-day-dots { gap: 2.5px; }
  .cal-day[data-tip]::before { display: none; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}
