/* Theme: Aqua Pure Spa — Aquatic Wellness Resort */
:root {
  --admin-surface: rgba(248, 246, 242, 0.94);
  --admin-surface-raised: rgba(255, 255, 255, 0.9);
  --admin-surface-muted: rgba(240, 235, 228, 0.88);
  --admin-surface-subtle: rgba(240, 235, 228, 0.82);
  --admin-surface-soft: rgba(224, 242, 241, 0.55);
  --admin-surface-input: rgba(255, 255, 255, 0.96);
  --admin-surface-chip: rgba(20, 184, 166, 0.12);
  --admin-surface-chip-soft: rgba(20, 184, 166, 0.1);
  --admin-surface-role: rgba(248, 246, 242, 0.9);
  --admin-surface-session: rgba(248, 246, 242, 0.88);
  --admin-surface-table: rgba(255, 255, 255, 0.82);
  --admin-surface-legend: rgba(248, 246, 242, 0.92);
  --admin-surface-summary: rgba(248, 246, 242, 0.94);
  --admin-surface-calendar-end: rgba(224, 242, 241, 0.92);
  --admin-surface-calendar-inset: rgba(255, 255, 255, 0.84);
  --admin-surface-time-col: rgba(240, 235, 228, 0.96);
  --admin-surface-row-alt: rgba(248, 246, 242, 0.95);
  --admin-surface-hover: rgba(20, 184, 166, 0.08);
  --admin-surface-weekend: rgba(20, 184, 166, 0.1);
  --admin-surface-weekend-alt: rgba(20, 184, 166, 0.08);
  --admin-surface-today: rgba(15, 118, 110, 0.14);
  --admin-surface-cell: rgba(255, 255, 255, 0.45);
  --admin-surface-event: rgba(255, 255, 255, 0.98);
  --admin-surface-event-strong: rgba(248, 246, 242, 0.99);
  --admin-surface-event-alt: rgba(224, 242, 241, 0.92);
  --admin-surface-event-new: rgba(20, 184, 166, 0.18);
  --admin-surface-event-hover: rgba(255, 255, 255, 0.96);
  --admin-surface-blocked: rgba(240, 235, 228, 0.94);
  --admin-surface-blocked-alt: rgba(20, 184, 166, 0.12);
  --admin-surface-blocked-event: rgba(240, 235, 228, 0.96);
  --admin-border: rgba(15, 118, 110, 0.18);
  --admin-border-soft: rgba(15, 118, 110, 0.12);
  --admin-border-mid: rgba(15, 118, 110, 0.2);
  --admin-border-strong: rgba(15, 118, 110, 0.24);
  --admin-border-input: rgba(15, 118, 110, 0.28);
  --admin-border-nav: rgba(15, 118, 110, 0.16);
  --admin-border-chip: rgba(15, 118, 110, 0.2);
  --admin-border-summary: rgba(15, 118, 110, 0.22);
  --admin-border-hover: rgba(13, 148, 136, 0.42);
  --admin-border-hover-soft: rgba(13, 148, 136, 0.35);
  --admin-border-focus: rgba(20, 184, 166, 0.45);
  --admin-border-dashed: rgba(15, 118, 110, 0.36);
  --admin-border-today: rgba(13, 148, 136, 0.38);
  --admin-border-event: rgba(15, 118, 110, 0.2);
  --admin-focus: rgba(20, 184, 166, 0.28);
  --admin-tint-1: rgba(248, 246, 242, 0.96);
  --admin-tint-2: rgba(255, 255, 255, 0.94);
  --admin-glow: rgba(20, 184, 166, 0.16);
  --admin-glow-soft: rgba(20, 184, 166, 0.14);
  --admin-glow-end: rgba(248, 246, 242, 0.28);
  --admin-glow-end-fade: rgba(248, 246, 242, 0.22);
  --admin-table-head: rgba(224, 242, 241, 0.88);
  --admin-table-head-strong: rgba(224, 242, 241, 0.96);
  --admin-table-head-soft: rgba(224, 242, 241, 0.92);
  --admin-summary-shadow: 0 8px 20px rgba(10, 61, 61, 0.08);
  --admin-accent-solid: rgba(15, 118, 110, 0.88);
  --admin-accent-event: rgba(13, 148, 136, 0.95);
  --admin-event-text: var(--text);
  --admin-today: #0f766e;
  --admin-error: #dc2626;
  --admin-success: #0d9488;
  --admin-danger: #dc2626;
  --admin-empty: rgba(74, 107, 107, 0.55);
  --gold: var(--accent);
  --gold-deep: var(--accent-deep);
  --pearl: #f0fdfa;
  --pearl-soft: #ecfeff;
  --aqua-deep: #0c4a6e;
  --aqua-mid: #0e7490;
  --aqua-rich: #0891b2;
  --teal-deep: var(--aqua-deep);
  --teal-mid: var(--aqua-mid);
  --teal-rich: var(--aqua-rich);
  --bg: var(--pearl);
  --bg-soft: var(--pearl-soft);
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #0c3347;
  --muted: #3d6b7a;
  --line: rgba(8, 145, 178, 0.18);
  --accent: #0d9488;
  --accent-deep: #0c4a6e;
  --accent-bright: #22d3ee;
  --accent-soft: rgba(34, 211, 238, 0.14);
  --shadow: 0 24px 60px rgba(12, 74, 110, 0.14);
  --shadow-soft: 0 12px 32px rgba(12, 74, 110, 0.09);
  --hero-overlay: linear-gradient(180deg, rgba(12, 74, 110, 0.12) 0%, rgba(12, 74, 110, 0.5) 42%, rgba(12, 74, 110, 0.9) 100%);
  --body-bg: linear-gradient(180deg, #f0fdfa 0%, #ecfeff 40%, #e0f2fe 100%);
  --header-bg: rgba(240, 253, 250, 0.78);
  --button-bg: linear-gradient(135deg, #0d9488, #0c4a6e);
  --button-text: #f0fdfa;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
  --font-serif: "Lora", Georgia, serif;
  --font-sans: "Raleway", system-ui, sans-serif;
  --transition: 0.22s ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--body-bg);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

/* Ambient water glow + floating bubbles */
.water-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 38% at 8% 18%, rgba(34, 211, 238, 0.1), transparent 58%),
    radial-gradient(ellipse 48% 32% at 92% 78%, rgba(13, 148, 136, 0.08), transparent 52%),
    radial-gradient(ellipse 40% 28% at 50% 50%, rgba(8, 145, 178, 0.04), transparent 60%);
}

.water-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), rgba(34, 211, 238, 0.12) 55%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  animation: bubble-rise linear infinite;
  opacity: 0.5;
}

.water-bubble--1 { width: 12px; height: 12px; left: 12%; bottom: -20px; animation-duration: 14s; animation-delay: 0s; }
.water-bubble--2 { width: 18px; height: 18px; left: 28%; bottom: -30px; animation-duration: 18s; animation-delay: 2s; }
.water-bubble--3 { width: 8px; height: 8px; left: 62%; bottom: -15px; animation-duration: 12s; animation-delay: 4s; }
.water-bubble--4 { width: 22px; height: 22px; left: 78%; bottom: -35px; animation-duration: 20s; animation-delay: 1s; }
.water-bubble--5 { width: 14px; height: 14px; left: 45%; bottom: -25px; animation-duration: 16s; animation-delay: 6s; }

@keyframes bubble-rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: 0.5; }
  90% { opacity: 0.35; }
  100% { transform: translateY(-105vh) translateX(24px); opacity: 0; }
}

main { position: relative; z-index: 1; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--header-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  background: rgba(240, 253, 250, 0.94);
  border-color: rgba(8, 145, 178, 0.22);
  box-shadow: 0 16px 40px rgba(12, 74, 110, 0.12);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-soft), rgba(20, 184, 166, 0.22));
  color: var(--accent);
  border: 1px solid var(--line);
}

.brand-mark svg { width: 1.2rem; height: 1.2rem; }

.brand-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-deep);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

@media (min-width: 900px) { .main-nav { display: flex; } }

.main-nav a {
  position: relative;
  cursor: pointer;
  transition: color var(--transition);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent-bright);
  border-radius: 2px;
  transition: width var(--transition);
}

.main-nav a:hover { color: var(--accent-deep); }
.main-nav a:hover::after { width: 100%; }

/* ── Buttons & Ripple ── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--button-bg);
  color: var(--button-text);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.button:hover {
  box-shadow: 0 16px 40px rgba(10, 61, 61, 0.2);
}

.button-small { padding: 0.55rem 1.1rem; font-size: 0.82rem; }

.button-ghost {
  background: transparent;
  color: var(--accent-deep);
  border: 1.5px solid var(--line);
  box-shadow: none;
}

.button-ghost:hover {
  background: var(--accent-soft);
  border-color: rgba(15, 118, 110, 0.3);
}

.ripple-btn::before,
.ripple-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(20, 184, 166, 0.25) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.ripple-btn:hover::before,
.ripple-card:hover::before { opacity: 1; }

.ripple-card { position: relative; overflow: hidden; }

/* ── Hero (immersive full-width) ── */
.hero-immersive {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 4rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media .hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-caustics {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 60%, rgba(34, 211, 238, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 75% 30%, rgba(255, 255, 255, 0.08), transparent 50%);
  mix-blend-mode: soft-light;
  animation: caustics-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes caustics-drift {
  0% { opacity: 0.6; transform: translateX(-2%) scale(1); }
  100% { opacity: 0.9; transform: translateX(2%) scale(1.03); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 60%
  );
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #f8f6f2;
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1rem;
  font-weight: 600;
}

.eyebrow--light { color: rgba(224, 242, 241, 0.85); }

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.01em;
}

.hero-content p {
  color: rgba(240, 235, 228, 0.88);
  max-width: 32rem;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-immersive .button-ghost {
  color: #f8f6f2;
  border-color: rgba(248, 246, 242, 0.35);
}

.hero-immersive .button-ghost:hover {
  background: rgba(248, 246, 242, 0.12);
  border-color: rgba(248, 246, 242, 0.5);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(248, 246, 242, 0.1);
  border: 1px solid rgba(248, 246, 242, 0.18);
  color: rgba(240, 235, 228, 0.9);
  backdrop-filter: blur(8px);
}

.hero-badges svg { width: 0.9rem; height: 0.9rem; opacity: 0.85; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.hero-scroll-hint:hover { opacity: 1; }

.hero-scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(240, 253, 250, 0.85));
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 16px;
  background: rgba(34, 211, 238, 0.9);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { transform: translateY(-100%); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(300%); opacity: 0; }
}

/* ── Scroll reveal ── */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible,
.reveal-stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }

/* ── Stats band ── */
.stats-band {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  background: linear-gradient(90deg, var(--aqua-deep), var(--aqua-mid) 50%, var(--accent));
  color: #ecfeff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  color: #f0fdfa;
}

.stat-item span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ── About split layout ── */
.about-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .about-split { grid-template-columns: 0.9fr 1.1fr; }
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(12, 74, 110, 0.55));
  pointer-events: none;
}

.about-copy .feature-grid {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .about-copy .feature-grid { grid-template-columns: 1fr; }
}

/* ── Wave dividers ── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 768px) {
  .wave-divider svg { height: 80px; }
}

.wave-divider--pearl { color: var(--pearl); background: var(--aqua-deep); }
.wave-divider--pearl-flip { color: var(--pearl); background: var(--aqua-mid); }
.wave-divider--teal { color: var(--aqua-mid); background: var(--pearl); }
.wave-divider--aqua { color: var(--aqua-mid); background: var(--pearl); }
.wave-divider--aqua-soft { color: var(--aqua-rich); background: var(--pearl); }
.wave-divider--teal-soft { color: var(--aqua-rich); background: var(--pearl); }

/* ── Sections ── */
.section { padding: 4.5rem 0; }

.section-pearl { background: var(--pearl); }

.section-aqua,
.section-teal {
  background: linear-gradient(165deg, var(--aqua-deep) 0%, var(--aqua-mid) 48%, var(--aqua-rich) 100%);
  color: #e0f2fe;
  padding-bottom: 3rem;
}

.section-booking {
  background: linear-gradient(180deg, var(--aqua-rich) 0%, var(--aqua-deep) 100%);
  color: #e0f2fe;
}

.section-heading { margin-bottom: 2.5rem; max-width: 40rem; }

.section-heading--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading--light { color: #e0f2f1; }

.section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.1;
  color: var(--accent-deep);
}

.section-heading--light h2 { color: #f8f6f2; }

.section-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}

.section-heading--light p { color: rgba(224, 242, 254, 0.78); }

/* ── Ritual tabs & panels ── */
.ritual-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.ritual-tab {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(224, 242, 254, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(240, 253, 250, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.ritual-tab:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(34, 211, 238, 0.4);
}

.ritual-tab.is-active {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.55);
  color: #f0fdfa;
}

.ritual-panels { position: relative; }

.ritual-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(224, 242, 254, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}

.ritual-panel.is-active {
  display: grid;
  animation: panel-fade 0.45s ease;
}

@keyframes panel-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .ritual-panel.is-active { grid-template-columns: 1fr 1fr; align-items: center; }
}

.ritual-panel-copy h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  margin: 0 0 0.75rem;
  color: #f0fdfa;
}

.ritual-panel-copy p {
  margin: 0 0 1.25rem;
  color: rgba(224, 242, 254, 0.82);
  line-height: 1.7;
}

.ritual-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.ritual-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(240, 253, 250, 0.9);
}

.ritual-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  flex-shrink: 0;
}

.ritual-panel-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(224, 242, 254, 0.15);
}

.ritual-panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ritual-panel:hover .ritual-panel-visual img {
  transform: scale(1.03);
}

/* ── Feature cards ── */
.feature-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-icon svg { width: 1.25rem; height: 1.25rem; }

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-deep);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Gallery horizontal scroll ── */
.gallery-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding: 0.5rem 1rem 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(224, 242, 241, 0.3) transparent;
}

.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-thumb {
  background: rgba(224, 242, 241, 0.3);
  border-radius: 999px;
}

.gallery-card {
  position: relative;
  flex: 0 0 min(85vw, 380px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  border: 1px solid rgba(224, 242, 241, 0.15);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:first-child { flex-basis: min(90vw, 440px); }

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.gallery-card .gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image { transform: scale(1.04); }

.gallery-copy {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(10, 61, 61, 0.85));
  color: #f8f6f2;
}

.gallery-copy span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  display: block;
  margin-bottom: 0.2rem;
}

.gallery-copy strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
}

/* ── Package carousel (resort booking cards) ── */
.package-carousel-hint {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

@media (min-width: 1100px) {
  .package-carousel-hint { display: none; }
}

.package-carousel-wrap {
  margin: 0 -1rem;
  padding: 0 1rem;
}

.package-carousel,
.price-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 118, 110, 0.25) transparent;
}

.package-carousel::-webkit-scrollbar,
.price-grid::-webkit-scrollbar { height: 6px; }

.package-carousel::-webkit-scrollbar-thumb,
.price-grid::-webkit-scrollbar-thumb {
  background: rgba(15, 118, 110, 0.25);
  border-radius: 999px;
}

.price-card {
  flex: 0 0 min(88vw, 340px);
  scroll-snap-align: start;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.price-card:hover {
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.price-card h3 {
  margin: 0;
  padding: 1.5rem 1.5rem 1rem;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: #f0fdfa;
  background: linear-gradient(135deg, var(--aqua-mid), var(--accent));
  position: relative;
}

.price-card h3::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 20' preserveAspectRatio='none'%3E%3Cpath d='M0,10 C360,20 480,0 720,10 C960,20 1080,0 1440,10 L1440,20 L0,20 Z' fill='%23ffffff' fill-opacity='0.92'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: 100% 100%;
}

.price-card > p {
  padding: 1rem 1.5rem;
  margin: 0;
  color: var(--muted);
}

.price-card ul {
  padding: 0.5rem 1.5rem 1.5rem;
  margin: 0;
  list-style: none;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.price-card li:last-child { border-bottom: 0; }

.price-card span { color: var(--muted); }

.price-card li > strong:last-child {
  color: var(--accent);
  font-size: 1.05rem;
  white-space: nowrap;
}

.price-card-description {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.45;
}

/* ── Booking ── */
.booking-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .booking-grid { grid-template-columns: 0.85fr 1.15fr; }
}

.booking-copy h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 500;
  margin: 0.5rem 0 1rem;
  color: #f8f6f2;
}

.booking-copy p {
  color: rgba(224, 242, 241, 0.8);
  margin: 0;
}

.booking-panel {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .booking-panel { grid-template-columns: 1fr 1fr; }
}

.calendar-panel,
.booking-form,
.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(224, 242, 241, 0.2);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.calendar-panel h3,
.booking-form h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent-deep);
}

.calendar-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.day-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.65rem;
  margin: 1rem 0;
}

.day-button,
.slot-button {
  border: 1px solid var(--line);
  background: var(--pearl);
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.day-button {
  min-height: 76px;
  padding: 0.75rem 0.5rem;
  display: grid;
  gap: 0.1rem;
  justify-items: center;
}

.day-button small,
.slot-button small { color: var(--muted); }

.day-button:hover:not(.active),
.slot-button:hover:not(.active):not(.is-booked):not(.is-blocked) {
  border-color: rgba(20, 184, 166, 0.4);
  background: var(--accent-soft);
}

.day-button.active,
.slot-button.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.slot-button {
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.5rem;
}

.slot-button.is-booked,
.slot-button.is-blocked {
  opacity: 0.4;
  cursor: not-allowed;
}

.slot-empty-state {
  grid-column: 1 / -1;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--pearl);
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.booking-form label {
  display: block;
  margin-bottom: 0.8rem;
}

.booking-form label span {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-weight: 500;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  background: var(--pearl);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.booking-submit { width: 100%; margin-top: 0.5rem; }

.form-feedback {
  min-height: 1.25rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.form-feedback.is-error { color: #dc2626; }
.form-feedback.is-success { color: #0d9488; }

.privacy-note {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(248, 246, 242, 0.08);
  border: 1px solid rgba(224, 242, 241, 0.2);
  font-size: 0.9rem;
  color: rgba(224, 242, 241, 0.85);
}

.privacy-note strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #f8f6f2;
}

.privacy-note p { margin: 0; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  margin: 0.5rem 0 0.75rem;
  color: var(--accent-deep);
}

.contact-intro p { color: var(--muted); margin: 0 0 1.25rem; }

.contact-address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--accent-deep);
  font-weight: 500;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.contact-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-card li:last-child { border-bottom: 0; }
.contact-card li span { color: var(--muted); }

/* ── Footer ── */
.site-footer {
  background: var(--accent-deep);
  color: rgba(224, 242, 241, 0.7);
  padding: 2.5rem 0;
  font-size: 0.88rem;
}

.site-footer strong {
  color: #f8f6f2;
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-links { display: flex; gap: 1.25rem; }

.footer-links a {
  cursor: pointer;
  transition: color var(--transition);
}

.footer-links a:hover { color: #f8f6f2; }

/* ── Legacy compat ── */
.walk-in-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.walk-in-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent-bright);
}

.section-soft { background: var(--pearl-soft); }

.feature-number { color: var(--accent); font-weight: 700; font-size: 0.85rem; }

.gallery-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
}

/* ── Responsive ── */
@media (max-width: 980px) {
  .main-nav,
  .button-small { display: none; }

  .site-header {
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
  }

  .hero-immersive {
    min-height: 92vh;
    padding-top: 6rem;
  }

  .booking-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .booking-panel { grid-template-columns: 1fr; }

  .footer-layout {
    flex-direction: column;
    align-items: start;
  }

  .admin-stats-grid,
  .admin-grid,
  .admin-form-grid,
  .admin-shortcut-grid,
  .admin-dashboard-grid { grid-template-columns: 1fr; }

  .admin-dashboard-top {
    align-items: start;
    flex-direction: column;
  }

  .admin-auth-shell { grid-template-columns: 1fr; }
  .admin-auth-role-grid { grid-template-columns: 1fr; }

  .admin-nav-bar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .admin-nav-links {
    display: flex;
    width: 100%;
    order: 3;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }

  .admin-header-actions { margin-left: auto; }
  .admin-session-stack { justify-items: start; }
  .admin-calendar-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 1.2rem), var(--container)); }

  .hero-content h1 { font-size: 2.6rem; }

  .slot-grid { grid-template-columns: 1fr; }

  .day-selector { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .admin-card,
  .admin-auth-card { padding: 1.2rem; }

  .admin-table th,
  .admin-table td { padding: 0.8rem; }
}

@media (min-width: 1100px) {
  .package-carousel,
  .price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
  }

  .price-card { flex: unset; }
}

.lang-select { display: inline-flex; align-items: center; margin-inline: 0.5rem; flex-shrink: 0; }
.lang-select-control { font: inherit; font-size: 0.78rem; padding: 0.35rem 0.5rem; border-radius: 999px; border: 1px solid var(--line, rgba(255,255,255,0.2)); background: var(--surface-strong, rgba(8,32,40,0.9)); color: inherit; cursor: pointer; max-width: 4.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html[dir="rtl"] .nav-bar { direction: rtl; }
html[dir="rtl"] .main-nav { flex-direction: row-reverse; }
html[dir="rtl"] .hero-content,
html[dir="rtl"] .feature-grid,
html[dir="rtl"] .gallery-scroll,
html[dir="rtl"] .booking-grid,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .footer-layout { direction: rtl; }

/* i18n language selector */
.lang-select { display: inline-flex; align-items: center; margin-inline: 0.5rem; flex-shrink: 0; }
.lang-select-control { font: inherit; font-size: 0.78rem; padding: 0.35rem 0.5rem; border-radius: 999px; border: 1px solid var(--line, rgba(0,0,0,0.15)); background: var(--surface-strong, #fff); color: inherit; cursor: pointer; max-width: 4.5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
html[dir="rtl"] .nav-bar, html[dir="rtl"] .site-header .container { direction: rtl; }
html[dir="rtl"] .main-nav { flex-direction: row-reverse; }

/* Lokaly attribution — shared across demo sites */
.footer-made-by {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  text-align: center;
}

.footer-made-by__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: inherit;
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-made-by__link:hover {
  opacity: 0.8;
}

.footer-made-by__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

