/* =====================================================
   Manuel Resort — Design System
   Tropical Lagoon · Sleek · Animated · Responsive
   ===================================================== */

:root {
  --lagoon-950: #042f2e;
  --lagoon-900: #0a4d4a;
  --lagoon-800: #0d6662;
  --lagoon-700: #0f766e;
  --lagoon-600: #0d9488;
  --lagoon-500: #14b8a6;
  --lagoon-400: #2dd4bf;
  --lagoon-300: #5eead4;
  --lagoon-100: #ccfbf1;
  --lagoon-50: #f0fdfa;

  --sand-100: #faf8f5;
  --sand-200: #f3efe8;
  --ink: #0c1f1e;
  --ink-soft: #3d5553;
  --ink-muted: #6b7f7d;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --gold: #c9a227;
  --gold-light: #e8c547;
  --coral: #e07a5f;
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
  --info: #0284c8;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(4, 47, 46, 0.06);
  --shadow: 0 8px 30px rgba(4, 47, 46, 0.1);
  --shadow-lg: 0 20px 50px rgba(4, 47, 46, 0.15);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--lagoon-500); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

/* ---------- Background atmosphere ---------- */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(20, 184, 166, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(201, 162, 39, 0.08), transparent),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(13, 148, 136, 0.06), transparent),
    var(--sand-100);
}

.bg-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: visible; /* allow Bookings dropdown + mobile menu */
  background: rgba(4, 47, 46, 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-nav.scrolled,
.site-nav.solid {
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(4, 47, 46, 0.06), var(--shadow-sm);
}

.site-nav .nav-inner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 2001;
}

.site-nav .brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  max-width: 42px;
  max-height: 42px;
  padding: 0;
  margin: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: box-shadow var(--transition);
}
.site-nav .brand:hover {
  transform: none;
  color: inherit;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.site-nav .brand-logo,
.site-nav a.brand img.brand-logo,
.site-nav .brand img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
  margin: 0;
  padding: 0;
  filter: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #000;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.nav-links > li > a,
.nav-links .dropdown-toggle {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.site-nav.scrolled .nav-links > li > a,
.site-nav.scrolled .nav-links .dropdown-toggle,
.site-nav.solid .nav-links > li > a,
.site-nav.solid .nav-links .dropdown-toggle {
  color: var(--ink-soft);
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links .dropdown-toggle:hover {
  color: var(--lagoon-300);
  background: rgba(255, 255, 255, 0.1);
}

.site-nav.scrolled .nav-links > li > a:hover,
.site-nav.scrolled .nav-links > li > a.active,
.site-nav.solid .nav-links > li > a:hover,
.site-nav.solid .nav-links > li > a.active {
  color: var(--lagoon-700);
  background: var(--lagoon-50);
}

.nav-dropdown { position: relative; z-index: 2100; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition);
  list-style: none;
  z-index: 2200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-dropdown-menu a:hover {
  background: var(--lagoon-50);
  color: var(--lagoon-700);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem !important;
  background: var(--gold) !important;
  color: var(--ink) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.35);
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--ink) !important;
  transform: translateY(-1px);
}
.site-nav.scrolled .nav-cta,
.site-nav.solid .nav-cta {
  background: var(--lagoon-700) !important;
  color: white !important;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  z-index: 2100;
  position: relative;
}
.site-nav.scrolled .nav-toggle,
.site-nav.solid .nav-toggle { background: var(--lagoon-100); }
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.site-nav.scrolled .nav-toggle span,
.site-nav.solid .nav-toggle span { background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, var(--lagoon-600), var(--lagoon-800));
  color: white;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.45);
  color: white;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  color: var(--ink);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: white;
}
.btn-outline:hover {
  background: white;
  color: var(--lagoon-800);
  border-color: white;
}
.btn-outline-dark {
  background: transparent;
  border-color: var(--lagoon-700);
  color: var(--lagoon-700);
}
.btn-outline-dark:hover {
  background: var(--lagoon-700);
  color: white;
}
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-danger { background: var(--danger); color: white; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Shift down so the baked-in oval logo sits under the nav bar */
  object-position: center 42%;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
  filter: brightness(1.05) contrast(1.06) saturate(1.08);
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

/* Soft veil — covers baked-in hero logo under nav + keeps text readable */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 47, 46, 0.75) 0%, rgba(4, 47, 46, 0.35) 12%, transparent 28%),
    radial-gradient(ellipse 70% 55% at 50% 48%, rgba(0, 0, 0, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 220, 80, 0.07) 48%, rgba(0, 220, 255, 0.08) 52%, transparent 65%);
  background-size: 200% 200%;
  animation: heroSheen 10s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
@keyframes heroSheen {
  0%, 100% { background-position: 0% 50%; opacity: 0.55; }
  50% { background-position: 100% 50%; opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 5rem;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(420px, 82vw);
  height: auto;
  margin-bottom: 1.35rem;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55));
  animation: heroLogoIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translateY(36px) scale(0.92); filter: drop-shadow(0 0 0 transparent); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.55)); }
}

.hero-line {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 400;
  line-height: 1.55;
  max-width: 34rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.9s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-line::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 1.1rem;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffe566, #00e5ff);
  animation: lineGrow 0.8s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes lineGrow {
  from { width: 0; opacity: 0; }
  to { width: 48px; opacity: 1; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  animation: fadeUp 0.9s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-actions .btn-outline {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.85);
}
.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--lagoon-900);
}
.hero-actions .btn-gold {
  box-shadow: 0 8px 28px rgba(255, 200, 40, 0.35);
}
.hero-actions .btn-gold:hover {
  box-shadow: 0 12px 36px rgba(255, 200, 40, 0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  animation: bounce 2.2s infinite;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll .bar {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, #00e5ff, transparent);
}

/* Legacy class kept for inner pages */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 47, 46, 0.4) 0%, rgba(4, 47, 46, 0.2) 40%, rgba(4, 47, 46, 0.7) 100%);
  z-index: 1;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: #fff;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 400;
  opacity: 0.92;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.55;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 42vh;
  min-height: 280px;
  max-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero .hero-media img { animation: none; }
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  color: white;
}
.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.2rem);
  animation: fadeUp 0.7s both;
}
.page-hero p {
  opacity: 0.9;
  max-width: 480px;
  margin-top: 0.5rem;
  animation: fadeUp 0.7s 0.1s both;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
  position: relative;
}
.section-sm { padding: 3.5rem 0; }
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon-600);
  margin-bottom: 0.75rem;
}
.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
}
.section-header p {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* ---------- Quick booking cards ---------- */
.booking-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: -4.5rem;
  position: relative;
  z-index: 5;
}
.booking-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.booking-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(4, 47, 46, 0.18);
}
.booking-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.booking-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}
.booking-card:hover .booking-card-img img { transform: scale(1.08); }
.booking-card-body {
  padding: 1.5rem 1.6rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.booking-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.booking-card-body p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  flex: 1;
}
.booking-card-rate {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--lagoon-700);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.booking-card-rate span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-muted);
}

/* ---------- Facility grid ---------- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.facility-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}
.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition);
}
.facility-item:hover img { transform: scale(1.1); }
.facility-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 47, 46, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: white;
}
.facility-item h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.facility-item p {
  font-size: 0.82rem;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Room cards ---------- */
.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.room-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.room-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
}
.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.room-card:hover .room-card-img img { transform: scale(1.06); }
.room-type-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--surface-glass);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lagoon-800);
}
.room-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.room-card-body h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.room-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
}
.room-meta span { display: flex; align-items: center; gap: 0.3rem; }
.room-card-body p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.room-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--lagoon-700);
  font-weight: 600;
}
.room-price small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--ink-muted);
}

/* ---------- Menu ---------- */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.menu-tab {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--sand-200);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--transition);
}
.menu-tab:hover, .menu-tab.active {
  background: var(--lagoon-700);
  border-color: var(--lagoon-700);
  color: white;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.menu-item {
  display: flex;
  gap: 1.15rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.menu-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.menu-item-img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--lagoon-100);
}
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.menu-item-info h4 .price {
  color: var(--lagoon-700);
  white-space: nowrap;
}
.menu-item-info p {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ---------- Gallery (artistic mosaic) ---------- */
.gallery-section { padding-top: 3.5rem; }
.gallery-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}
.gallery-intro h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 0.35rem;
}
.gallery-intro p { color: var(--ink-muted); max-width: 360px; }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.gallery-tile {
  position: relative;
  grid-column: span 3;
  grid-row: span 2;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.55s;
  animation: tileIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
.gallery-tile.wide { grid-column: span 6; }
.gallery-tile.tall { grid-row: span 3; }
.gallery-tile.wide.tall { grid-column: span 6; grid-row: span 3; }

.gallery-tile:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s;
  filter: saturate(1.05);
}
.gallery-tile:hover img { transform: scale(1.1); filter: saturate(1.15) brightness(1.03); }

.gallery-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 47, 46, 0.88) 100%);
  opacity: 0.85;
  transition: opacity 0.45s;
}
.gallery-tile:hover .gallery-tile-shade { opacity: 1; }

.gallery-tile-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.25rem;
  color: #fff;
  transform: translateY(8px);
  opacity: 0.95;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-tile:hover .gallery-tile-meta { transform: translateY(0); }
.gallery-tile-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lagoon-300);
  margin-bottom: 0.35rem;
}
.gallery-tile-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.gallery-tile-meta p {
  font-size: 0.82rem;
  opacity: 0.85;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@keyframes tileIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.gallery-collection { margin-bottom: 2.75rem; }
.gallery-collection-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(13, 148, 136, 0.15);
}
.gallery-collection-head h3 {
  font-size: 1.35rem;
  margin: 0;
}
.gallery-collection-head span {
  font-size: 0.8rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

.gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 280px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--lagoon-400) transparent;
}
.gallery-rail-card {
  position: relative;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.gallery-rail-card:hover { transform: translateY(-3px); }
.gallery-rail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-rail-card:hover img { transform: scale(1.06); }
.gallery-rail-card span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(4, 47, 46, 0.85));
}

/* Legacy class retained for admin thumbs */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(4, 47, 46, 0.8));
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 47, 46, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fadeIn 0.3s; }
.lightbox-figure {
  margin: 0;
  text-align: center;
  max-width: min(92vw, 1100px);
}
.lightbox img,
.lightbox-figure img {
  max-width: 90vw;
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.lightbox-caption {
  color: rgba(255,255,255,0.9);
  margin-top: 0.85rem;
  font-size: 1rem;
  font-weight: 500;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.25s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  transition: background 0.25s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.28); }
.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Promotions ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.promo-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.promo-card:hover { transform: translateY(-4px); }
.promo-card-img { min-height: 200px; }
.promo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.promo-discount {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.promo-card-body h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.promo-card-body p { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.promo-dates { font-size: 0.8rem; color: var(--ink-muted); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 560;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1.5px solid var(--sand-200);
  border-radius: var(--radius-sm);
  background: var(--sand-100);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--lagoon-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
  background: white;
}
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-visual {
  position: relative;
  background: var(--lagoon-900);
  overflow: hidden;
}
.auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}
.auth-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(4,47,46,0.7), rgba(13,102,98,0.5));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: white;
}
.auth-visual-overlay h2 {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}
.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  background: var(--sand-100);
}
.auth-form {
  width: 100%;
  max-width: 420px;
}
.auth-form h1 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}
.auth-form .subtitle {
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

/* ---------- Alerts ---------- */
.alert {
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ---------- Status badges ---------- */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #d1fae5; color: #065f46; }
.badge-completed { background: #e0e7ff; color: #3730a3; }
.badge-cancelled { background: #f3f4f6; color: #4b5563; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-unpaid { background: #fee2e2; color: #991b1b; }
.badge-partial { background: #fef3c7; color: #92400e; }
.badge-paid { background: #d1fae5; color: #065f46; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
}
.contact-info-card {
  background: linear-gradient(160deg, var(--lagoon-800), var(--lagoon-950));
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-info-card h3 { color: white; margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.85rem; opacity: 0.7; font-weight: 500; }
.contact-detail span { font-size: 1rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.mv-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--lagoon-500);
}
.mv-card h4 { margin-bottom: 0.5rem; color: var(--lagoon-700); }
.mv-card p { font-size: 0.9rem; color: var(--ink-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--lagoon-950);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.75rem;
}
.footer-logo {
  width: min(200px, 70%);
  height: auto;
  margin-bottom: 1rem;
  border-radius: 12px;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}
.brand-logo--sidebar {
  height: auto;
  width: 100%;
  max-width: 180px;
  border-radius: 12px;
}
.footer-grid h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 0.55rem; }
.footer-grid a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--lagoon-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  padding: 1.1rem 0;
  background: rgba(0, 0, 0, 0.22);
}
.footer-bottom-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
}
.footer-copy { justify-self: start; }
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  justify-self: center;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
.footer-social a:hover {
  background: var(--lagoon-500);
  color: #fff;
  transform: translateY(-2px);
}
.footer-credit {
  justify-self: end;
  text-align: right;
}
.footer-credit a {
  color: var(--lagoon-300);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-credit a:hover {
  color: #fff;
}
@media (max-width: 768px) {
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-copy,
  .footer-social,
  .footer-credit {
    justify-self: center;
    text-align: center;
  }
}

/* ---------- Floating contact ---------- */
.float-contact {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
  font-size: 1.3rem;
}
.float-btn:hover { transform: scale(1.08); color: white; }
.float-btn.fb { background: #1877f2; }
.float-btn.phone { background: var(--lagoon-600); }
.float-btn.msg { background: #0084ff; }

/* ---------- Dashboard shared ---------- */
.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.dash-sidebar {
  background: var(--lagoon-950);
  color: white;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.dash-sidebar .brand {
  padding: 0 1.25rem 1.5rem;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1rem;
  display: block;
}
.dash-nav { list-style: none; padding: 0 0.75rem; }
.dash-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.dash-nav a:hover, .dash-nav a.active {
  background: rgba(255,255,255,0.1);
  color: white;
}
.dash-nav .nav-section {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  padding: 1rem 1rem 0.4rem;
}
.dash-main { background: var(--sand-100); min-width: 0; }
.dash-topbar {
  background: var(--surface);
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}
.dash-content { padding: 1.75rem; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--lagoon-800);
  font-weight: 600;
}
.stat-card .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--lagoon-50);
  color: var(--lagoon-700);
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}
.data-table-wrap {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.data-table th {
  text-align: left;
  padding: 0.9rem 1rem;
  background: var(--sand-100);
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  border-bottom: 1px solid var(--sand-200);
}
.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--sand-200);
  vertical-align: middle;
}
.data-table tr:hover td { background: var(--lagoon-50); }
.table-actions { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: var(--sand-200);
  color: var(--ink-soft);
  transition: all var(--transition);
  font-size: 0.85rem;
  text-decoration: none;
}
.btn-icon:hover { background: var(--lagoon-100); color: var(--lagoon-700); }
.btn-icon.success:hover { background: #d1fae5; color: #065f46; }
.btn-icon.danger:hover { background: #fee2e2; color: #991b1b; }

.panel {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.panel-header h2, .panel-header h3 {
  font-size: 1.2rem;
  margin: 0;
}

.chart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.chart-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.chart-box h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--ink-soft); }

.sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--ink-muted);
}
.empty-state svg { margin-bottom: 1rem; opacity: 0.4; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .booking-cards { grid-template-columns: 1fr 1fr; }
  .facility-grid { grid-template-columns: repeat(3, 1fr); }
  .room-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
  }
  .gallery-tile { grid-column: span 3; }
  .gallery-tile.wide { grid-column: span 6; }
  .gallery-tile.tall { grid-row: span 3; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chart-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: flex !important;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 2050;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all var(--transition);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-links > li > a,
  .nav-links .dropdown-toggle {
    color: var(--ink-soft) !important;
    padding: 0.85rem 1rem;
    width: 100%;
    text-align: left;
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    display: none;
    padding-left: 1rem;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .site-nav { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); }
  .site-nav .brand { color: var(--lagoon-900); }
  .site-nav .nav-toggle span { background: var(--ink) !important; }
  .site-nav .nav-toggle { background: var(--lagoon-100) !important; }

  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 16/10; max-height: 360px; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-card-img { height: 180px; }
  .menu-grid { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform var(--transition);
    width: 280px;
  }
  .dash-sidebar.open { transform: translateX(0); }
  .sidebar-toggle { display: block; }
  .sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 150;
  }
  .sidebar-overlay.show { display: block; }
}

@media (max-width: 640px) {
  .booking-cards {
    grid-template-columns: 1fr;
    margin-top: -2.5rem;
  }
  .facility-grid { grid-template-columns: 1fr 1fr; }
  .room-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 0.55rem;
  }
  .gallery-tile,
  .gallery-tile.wide,
  .gallery-tile.tall,
  .gallery-tile.wide.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-tile:nth-child(3n+1) { grid-row: span 2; }
  .gallery-intro { flex-direction: column; align-items: flex-start; }
  .gallery-filters { justify-content: flex-start; }
  .lightbox-nav { display: none; }
  .promo-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { padding-bottom: 4.5rem; padding-top: calc(var(--nav-h) + 1.25rem); }
  .hero-logo { width: min(300px, 78vw); margin-bottom: 1rem; }
  .hero-line { font-size: 1rem; margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; }
  .brand-logo { width: 36px !important; height: 36px !important; max-width: 36px !important; max-height: 36px !important; }
  .site-nav .brand { width: 36px; height: 36px; max-width: 36px; max-height: 36px; }
  .section { padding: 3.5rem 0; }
}
