/* ==========================================================================
   פה ושם 🧭 - סיורי עומק בארץ ישראל | יאיר מורה דרך מוסמך
   Here&there (Po Vasham) Guided Tours - Boutique Cartographic Design
   ========================================================================== */

:root {
  --primary: #06172e;          /* Deep Judean Olive & Ancient Cypress */
  --primary-light: #0752ad;    /* Highland Pine */
  --primary-dark: #040f1f;     /* Night Stone */
  --accent: #0752ad;           /* Warm Sun-baked Terracotta Clay */
  --accent-hover: #053f86;     /* Deep Red Ochre */
  --gold-carto: #4796c8;       /* Antique Brass / Cartographic Gold */
  --gold-light: #eef5fb;       /* Gold sheen */
  --coral: #c84338;            /* Mineral Ochre */
  --sand: #eaf3fa;             /* Soft Negev Dune */
  --bg-main: #fdfcf8;          /* Warm Jerusalem Limestone / Parchment */
  --bg-card: #ffffff;
  --text-main: #18221e;        /* Deep Organic Ink */
  --text-muted: #57655f;       /* Weathered Slate */
  --border: #e6dfd3;           /* Antiquarian Journal Border */
  --border-delicate: #efe9df;  /* Delicate divider */
  --success: #1b8a5a;          /* Morning & WhatsApp Emerald */
  --shadow-sm: 0 1px 3px rgba(35, 30, 20, 0.05);
  --shadow-md: 0 8px 20px -4px rgba(6, 23, 46, 0.07), 0 3px 6px -2px rgba(6, 23, 46, 0.04);
  --shadow-xl: 0 20px 35px -8px rgba(6, 23, 46, 0.12), 0 8px 12px -4px rgba(6, 23, 46, 0.06);
  --radius-lg: 1.15rem;
  --radius-full: 9999px;
  --font-serif: 'Frank Ruhl Libre', 'David Libre', Georgia, 'Times New Roman', serif;
  --font-carto: 'Cinzel', serif;
  --font-hebrew: 'Assistant', 'Heebo', system-ui, -apple-system, sans-serif;
  --font-english: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Accessibility Variables Overrides */
body.high-contrast {
  --bg-main: #000000 !important;
  --bg-card: #121212 !important;
  --text-main: #ffffff !important;
  --text-muted: #e2e8f0 !important;
  --border: #facc15 !important;
  --primary: #60a5fa !important;
  --accent: #facc15 !important;
}

body.grayscale-mode {
  filter: grayscale(100%) !important;
}

body.highlight-links a {
  outline: 3px solid #f59e0b !important;
  background-color: #fef08a !important;
  color: #000000 !important;
  text-decoration: underline !important;
}

body.readable-font {
  font-family: Arial, sans-serif !important;
  letter-spacing: 0.05em !important;
  line-height: 1.8 !important;
}

/* Base resets & typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  position: relative;
  min-height: 100vh;
  font-family: var(--font-hebrew);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  transition: font-size 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  background-image: radial-gradient(var(--border) 0.6px, transparent 0.6px);
  background-size: 28px 28px;
}

/* RTL / LTR Direction handling */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: var(--font-hebrew);
}

html[dir="ltr"] body {
  direction: ltr;
  text-align: left;
  font-family: var(--font-english);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
  position: relative;
}

.section-title::after {
  content: '✦ 🧭 ✦';
  display: block;
  font-size: 0.85rem;
  color: var(--gold-carto);
  letter-spacing: 0.35rem;
  margin-top: 0.4rem;
  font-weight: 400;
  opacity: 0.85;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 10px rgba(6, 23, 46, 0.04);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand-icon {
  font-size: 1.85rem;
  animation: gentle-bob 3s infinite ease-in-out;
}

.brand-badge {
  font-family: var(--font-hebrew);
  font-size: 0.75rem;
  background: #fdf5e6;
  color: #8c5b16;
  border: 1px solid #ebd4a8;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(35, 30, 20, 0.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(6, 23, 46, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 23, 46, 0.38);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(7, 82, 173, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(7, 82, 173, 0.45);
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.92);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fdfaf6;
}

.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: white;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.icon-btn:hover {
  background: #f4eee2;
  color: var(--primary);
  border-color: var(--gold-carto);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* Hero Section - Warm Jerusalem Limestone & Topographical Motif */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #fdfcf8 0%, #fbfaf6 50%, #fdfcf8 100%);
  border-bottom: 1.5px solid var(--border);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(71, 150, 200, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(7, 82, 173, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.015em;
}

.hero-title .highlight {
  background: linear-gradient(120deg, var(--accent) 0%, #053f86 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid #ded5c5;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 2px 6px rgba(6, 23, 46, 0.04);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  max-width: 420px;
  width: 100%;
}

.guide-avatar-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1e3a8a, #0d9488);
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-avatar-svg {
  width: 100%;
  height: 100%;
}

.floating-pill {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.85rem;
  color: #065f46;
}

html[dir="ltr"] .floating-pill {
  right: auto;
  left: 1rem;
}

/* ==========================================================================
   THE INTERACTIVE ILLUSTRATED MAP SECTION (80% SCREEN WIDTH, NORTH-SOUTH SCROLL)
   ========================================================================== */
.map-section {
  padding: 4rem 0 6rem;
  background: #fdfbf7;
  position: relative;
}

.map-controls-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.map-view-toggle {
  display: inline-flex;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.map-toggle-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.map-toggle-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

/* Quick Region Jump Bar */
.region-jump-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.region-jump-chip {
  background: white;
  border: 1px solid var(--border);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.region-jump-chip:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* 
   The Map Canvas Container:
   Occupies ~80% of screen width, tall vertical scroll (North to South voyage)
*/
.map-outer-scroll {
  width: 82vw;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  border-radius: 2rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  background: #fdfaf3;
  overflow: hidden;
}

.map-interactive-canvas {
  position: relative;
  width: 100%;
  /* 9:16 aspect ratio mapped to high res image */
  aspect-ratio: 768 / 1376;
  min-height: 1400px;
  background-image: url('assets/israel_illustrated_map_he.jpg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
  user-select: none;
  transition: background-image 0.3s ease;
}

/* English Map background when in LTR */
html[lang="en"] .map-interactive-canvas {
  background-image: url('assets/israel_illustrated_map.jpg');
}

/* Stylized Compass Rose on top left */
.compass-rose {
  position: absolute;
  top: 2rem;
  left: 2rem;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  opacity: 0.9;
}

html[dir="ltr"] .compass-rose {
  left: auto;
  right: 2rem;
}

/* ==========================================================================
   CLEAN, REFINED & DELICATE CARTOGRAPHIC MAP PINS
   ========================================================================== */
.map-hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 25;
  cursor: pointer;
  outline: none;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.2s ease;
}

.map-hotspot-pin:hover,
.map-hotspot-pin:focus-visible {
  z-index: 45;
  transform: translate(-50%, -55%) scale(1.08);
}

.pin-marker-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

/* Delicate concentric cartographic beacon */
.pin-beacon-outer {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(234, 243, 250, 0.9);
  border: 1.5px solid #0752ad;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(7, 82, 173, 0.25);
  transition: all 0.25s ease;
}

.pin-beacon-inner {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0752ad;
  box-shadow: 0 0 0 2px #ffffff;
  transition: transform 0.25s ease;
}

.map-hotspot-pin:hover .pin-beacon-outer {
  background: #fef08a;
  border-color: #4796c8;
  box-shadow: 0 0 14px rgba(71, 150, 200, 0.6);
  transform: scale(1.15);
}

.map-hotspot-pin:hover .pin-beacon-inner {
  background: #dc2626;
  transform: scale(1.2);
}

.pin-radar-dot {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.35);
  animation: pulse-ring 2.8s infinite ease-out;
  pointer-events: none;
}

/* Refined, semi-transparent parchment label */
.pin-label-pill {
  margin-top: 0.25rem;
  background: rgba(255, 252, 245, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(7, 82, 173, 0.3);
  color: #38210f;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(60, 30, 10, 0.1), 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
  pointer-events: auto;
}

.map-hotspot-pin:hover .pin-label-pill {
  background: rgba(255, 255, 255, 0.98);
  border-color: #0752ad;
  color: #1e3a8a;
  box-shadow: 0 4px 15px rgba(7, 82, 173, 0.35), 0 0 0 1px rgba(71, 150, 200, 0.4);
  transform: translateY(-2px);
}

.pin-tour-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #047857;
  background: rgba(209, 250, 229, 0.85);
  border: 1px solid rgba(167, 243, 208, 0.8);
  padding: 0.05rem 0.4rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.map-hotspot-pin:hover .pin-tour-badge {
  background: #10b981;
  color: white;
  border-color: #059669;
}

/* ==========================================================================
   ADMIN CMS & EDIT MODE STYLING (ממשק ניהול ועריכה עצמאי ליאיר)
   ========================================================================== */
.admin-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  background: #1e3a8a;
  color: white;
  border: 2px solid #60a5fa;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.25rem;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
  transition: all 0.25s ease;
  cursor: pointer;
}

.admin-fab:hover {
  background: #1d4ed8;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.5);
}

html[dir="ltr"] .admin-fab {
  right: auto;
  left: 2rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.admin-tab-btn {
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 0.5rem 0.5rem 0 0;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.admin-tab-btn.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
  background: #eff6ff;
}

.admin-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.admin-item-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.admin-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.admin-del-btn {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  border-radius: 0.5rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-del-btn:hover {
  background: #dc2626;
  color: white;
}

/* Toast Notifications */
.admin-toast {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  background: #065f46;
  color: white;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: fadeInToast 0.3s ease;
}

html[dir="ltr"] .admin-toast {
  right: auto;
  left: 2rem;
}

@keyframes fadeInToast {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Highlight pulse for tour card when navigated from map pin */
@keyframes tourPulseHighlight {
  0% { box-shadow: 0 0 0 0 rgba(71, 150, 200, 0.7); transform: scale(1.02); }
  70% { box-shadow: 0 0 0 18px rgba(71, 150, 200, 0); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 rgba(71, 150, 200, 0); transform: scale(1); }
}

.tour-card.highlight-pulse {
  border-color: #4796c8 !important;
  animation: tourPulseHighlight 1.5s ease-out 2;
}

/* Rich About Section Highlights Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.about-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   ENGLISH CARTOGRAPHIC MAP TYPOGRAPHY OVERLAY LAYER
   ========================================================================== */
.map-geo-labels-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  display: none; /* Shown in English mode */
}

html[lang="en"] .map-geo-labels-layer {
  display: block;
}

.geo-label {
  position: absolute;
  font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3b2210;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  text-shadow: 
    0 1px 2px rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(255, 250, 235, 0.8),
    0 -1px 2px rgba(255, 255, 255, 0.9),
    1px 0 2px rgba(255, 255, 255, 0.9),
    -1px 0 2px rgba(255, 255, 255, 0.9);
}

.geo-label-curved-sea {
  font-size: 1.15rem;
  color: #0284c7;
  transform: translate(-50%, -50%) rotate(-72deg);
  letter-spacing: 0.2em;
  opacity: 0.85;
}

.geo-label-primary {
  font-size: 0.95rem;
  color: #291a0c;
  font-weight: 900;
}

.geo-label-secondary {
  font-size: 0.75rem;
  color: #573b22;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ==========================================================================
   ANIMATIONS: PAUSED BY DEFAULT, ONLY RUN ON HOVER!
   ========================================================================== */

/* By default, ALL animated elements are PAUSED! */
.animated-part {
  animation-play-state: paused !important;
}

/* Only when the user HOVERS over the pin, animations START! */
.map-hotspot-pin:hover .animated-part,
.map-hotspot-pin:focus .animated-part,
.map-hotspot-pin.active .animated-part {
  animation-play-state: running !important;
}

/* 1. Hermon: Skiers sliding downhill */
@keyframes ski-slide {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate(32px, 24px);
    opacity: 0;
  }
}

.skier-animated {
  animation: ski-slide 1.8s infinite linear;
}

/* 2. Haifa: Cable car cabin swinging & traveling up/down */
@keyframes cable-car-travel {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-22px, 20px) rotate(4deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.haifa-cable-cabin {
  animation: cable-car-travel 2.8s infinite ease-in-out;
  transform-origin: center top;
}

/* 3. Jerusalem: Guards marching on the ramparts & Kid sliding Monster tongue */
@keyframes guards-march {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(18px);
  }
  100% {
    transform: translateX(0);
  }
}

.jerusalem-guard {
  animation: guards-march 2.6s infinite ease-in-out;
}

@keyframes monster-slide-kid {
  0% {
    transform: translate(0, 0) scale(0.9);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    transform: translate(22px, 18px) scale(1.1);
    opacity: 0;
  }
}

.monster-slider-kid {
  animation: monster-slide-kid 1.8s infinite ease-in;
}

/* 4. Tel Aviv: Cyclist pedaling */
@keyframes cyclist-pedal {
  0% {
    transform: translateX(-16px);
  }
  100% {
    transform: translateX(24px);
  }
}

.telaviv-cyclist {
  animation: cyclist-pedal 2.4s infinite linear;
}

/* 5. Masada: Leaping ibex & Floating Dead Sea swimmer */
@keyframes ibex-bound {
  0%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-9px) rotate(-5deg);
  }
  70% {
    transform: translateY(-2px) rotate(2deg);
  }
}

.masada-ibex-jump {
  animation: ibex-bound 1.6s infinite ease-in-out;
}

@keyframes swimmer-bob {
  0%, 100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(4px) rotate(1.5deg);
  }
}

.dead-sea-floating {
  animation: swimmer-bob 2.2s infinite ease-in-out;
}

/* 6. Ramon Crater: Campfire smoke curling */
@keyframes smoke-curl {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-16px) scale(1.5);
    opacity: 0;
  }
}

.ramon-smoke {
  animation: smoke-curl 1.8s infinite ease-out;
}

/* 7. Eilat: Dolphin leaping out of water */
@keyframes dolphin-jump {
  0%, 100% {
    transform: translate(0, 8px) rotate(-15deg);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    transform: translate(-12px, -14px) rotate(15deg);
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  95% {
    transform: translate(-22px, 8px) rotate(35deg);
    opacity: 0;
  }
}

.eilat-dolphin-leap {
  animation: dolphin-jump 2.2s infinite ease-in-out;
}

/* Standard animation utilities */
@keyframes pulse-ring {
  0% {
    r: 12;
    opacity: 0.8;
  }
  100% {
    r: 28;
    opacity: 0;
  }
}

@keyframes gentle-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Interactive Map Info Box (Desktop Tooltip) */
.map-tooltip {
  position: absolute;
  z-index: 40;
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  width: 320px;
  pointer-events: auto;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.map-tooltip.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.tooltip-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e40af;
  background: #dbeafe;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.tooltip-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.tooltip-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.tooltip-actions {
  display: flex;
  gap: 0.5rem;
}

/* Mobile Drawer / Bottom Sheet */
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-radius: 1.5rem 1.5rem 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
  z-index: 100;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  overflow-y: auto;
}

.bottom-sheet.open {
  transform: translateY(0);
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: #cbd5e1;
  border-radius: var(--radius-full);
  margin: 0 auto 1.25rem;
}

.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.sheet-close-btn {
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
}

/* Accessible List View fallback */
.accessible-regions-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.accessible-regions-grid.active {
  display: grid;
}

.region-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.region-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

/* ==========================================================================
   TOURS CATALOG SECTION
   ========================================================================== */
.tours-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.tours-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  background: white;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.tour-card {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.tour-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #cbd5e1;
}

.tour-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-img {
  transform: scale(1.05);
}

.tour-region-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

html[dir="ltr"] .tour-region-badge {
  right: auto;
  left: 1rem;
}

.tour-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.tour-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tour-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: auto;
}

.tour-footer .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tours-arsenal-callout {
  margin-top: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #a7f3d0;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(4, 120, 87, 0.06);
}

.tour-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-serif);
}

.tour-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-hebrew);
}

/* ==========================================================================
   PAST TOURS SHOWCASE (סיורים מהתקופה האחרונה / ארכיון חוויות)
   ========================================================================== */
.past-tours-wrapper {
  position: relative;
}

.past-tour-card {
  background: #fdfbf7;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1.5px dashed #dcd3c3;
  box-shadow: 0 4px 12px rgba(35, 30, 20, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.past-tour-card:hover {
  transform: translateY(-5px);
  border-style: solid;
  border-color: var(--gold-carto);
  box-shadow: 0 14px 28px -6px rgba(6, 23, 46, 0.1);
  background: #ffffff;
}

.past-tour-card .tour-img-wrap {
  filter: saturate(0.88) contrast(1.02);
}

.past-tour-card:hover .tour-img-wrap {
  filter: saturate(1.05);
}

.past-tour-seal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(234, 243, 250, 0.95);
  backdrop-filter: blur(6px);
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  z-index: 5;
}

html[dir="ltr"] .past-tour-seal {
  right: auto;
  left: 1rem;
}

.past-dates-badge {
  display: inline-block;
  background: #f1f5f3;
  border: 1px solid #d5e3dc;
  color: #1b4d36;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.past-tour-btn {
  width: 100%;
  padding: 0.75rem;
  background: #fdfaf4;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 0.65rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.past-tour-btn:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(7, 82, 173, 0.35);
  transform: translateY(-2px);
}

/* ==========================================================================
   ARTICLES & BLOG SECTION (SEO & STORIES)
   ========================================================================== */
.articles-section {
  padding: 5rem 0;
  background: white;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.article-card {
  background: var(--bg-main);
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.article-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.article-snippet {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */
.reviews-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 90% 10%, #eff6ff 0%, #fefce8 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviewer-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.reviewer-tour {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   BOOKING MODAL & MORNING CHECKOUT SIMULATION
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Specific styling for Edit Tour Modal to elevate it above Admin Panel Modal */
#editTourModalOverlay {
  z-index: 400 !important;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
}

#editTourModalOverlay.open {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

#editTourModalOverlay .modal-card {
  z-index: 401;
  position: relative;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border);
  animation: editModalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes editModalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-card {
  background: white;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
}

html[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background: white;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Morning Payment Method Tabs */
.morning-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ecfdf5;
  color: #047857;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid #a7f3d0;
  margin-bottom: 1rem;
}

.payment-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.payment-option-card {
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
  background: white;
  transition: all 0.2s ease;
}

.payment-option-card.selected {
  border-color: #047857;
  background: #f0fdf4;
}

.bit-logo-badge {
  background: #0070ba;
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 0.85rem;
}

.order-summary-box {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px dashed var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & ACCESSIBILITY)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 90;
  width: 3.75rem;
  height: 3.75rem;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

html[dir="ltr"] .floating-whatsapp {
  left: auto;
  right: 2rem;
}

.accessibility-drawer {
  position: fixed;
  top: 5rem;
  left: 1rem;
  z-index: 120;
  background: white;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--primary);
  width: 280px;
  display: none;
}

.accessibility-drawer.open {
  display: block;
}

html[dir="ltr"] .accessibility-drawer {
  left: auto;
  right: 1rem;
}

.a11y-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.a11y-action-btn {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.a11y-action-btn:hover {
  background: #e2e8f0;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: white;
  letter-spacing: -0.01em;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #f8fafc;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text {
    margin: 0 auto 2rem;
  }
  .hero-badges, .hero-cta {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .map-wrapper {
    padding: 0.75rem;
  }
}

/* ==========================================================================
   SLIDESHOW (סלייד-שואו תמונות במתחם "קצת עליי")
   ========================================================================== */
.guide-slideshow-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #1e293b;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.25rem;
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-slide.active {
  opacity: 1;
  z-index: 2;
}

.slideshow-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slideshow-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.slideshow-arrow:hover {
  background: rgba(15, 23, 42, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.slideshow-prev {
  right: 0.75rem;
}

.slideshow-next {
  left: 0.75rem;
}

html[dir="ltr"] .slideshow-prev {
  right: auto;
  left: 0.75rem;
}

html[dir="ltr"] .slideshow-next {
  left: auto;
  right: 0.75rem;
}

.slideshow-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}

.slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.slideshow-dot.active {
  background: #f59e0b;
  width: 20px;
  border-radius: 4px;
}

/* ==========================================================================
   DIGITAL ASSETS & SOCIAL MEDIA LINKS (נכסים דיגיטליים)
   ========================================================================== */
.digital-assets-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-asset-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.social-asset-link:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
}

.hero-social-block {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   SOCIAL SHARE BAR & FLOATING SHARE BUTTON
   ========================================================================== */
.share-fab {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 95;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  border: 1.5px solid #6ee7b7;
  border-radius: var(--radius-full);
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 6px 18px rgba(4, 120, 87, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.share-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.45);
}

html[dir="ltr"] .share-fab {
  right: auto;
  left: 2rem;
}

.share-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.share-option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-option-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.share-btn-wa { background: #dcfce7; color: #15803d; border-color: #86efac; }
.share-btn-fb { background: #eff6ff; color: #1d4ed8; border-color: #93c5fd; }
.share-btn-tw { background: #f8fafc; color: #0f172a; border-color: #cbd5e1; }
.share-btn-li { background: #e0f2fe; color: #0369a1; border-color: #7dd3fc; }
.share-btn-copy { background: #eaf3fa; color: #b45309; border-color: #fde68a; }

/* ==========================================================================
   RECOMMENDED SITES & LOCAL GEMS (אתרים ושותפים מומלצים)
   ========================================================================== */
.recommended-section {
  padding: 5rem 0;
  background: #f1f5f9;
  border-top: 1px solid var(--border);
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rec-site-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.rec-site-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}

.rec-site-badge {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.rec-site-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.rec-site-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.rec-site-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: #0752ad;
  transition: color 0.2s ease;
}

.rec-site-btn:hover {
  color: #053f86;
}

/* ==========================================================================
   TOUR CARDS ENHANCED SPECS & BADGES
   ========================================================================== */
.tour-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 0.8rem;
}

.tour-spec-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.tour-spec-tastings {
  background: #eaf3fa;
  color: #0752ad;
  border-color: #fde68a;
}

.tour-pricing-brief {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   ADVANCED BOOKING MODAL (תאריכים, פרטי מסלול, מדרגות מחיר וביטולים)
   ========================================================================== */
.date-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.date-card-item {
  border: 1.5px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.6rem;
  text-align: center;
  cursor: pointer;
  background: white;
  transition: all 0.2s ease;
}

.date-card-item:hover {
  border-color: var(--primary-light);
  background: #f8fafc;
}

.date-card-item.selected {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 0 0 1px var(--primary);
}

.date-card-date {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--primary);
}

.date-card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Prominent Date & Route Info Card (מוקפץ לאחר בחירת תאריך) */
.prominent-info-card {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  animation: slideDownFade 0.3s ease;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.prominent-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed #93c5fd;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.prominent-badge-time {
  font-size: 1.05rem;
  font-weight: 900;
  color: #1e3a8a;
  background: #dbeafe;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.route-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Pricing Table in Modal */
.pricing-tiers-table {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.pricing-tier-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-tier-row:last-child {
  border-bottom: none;
}

.pricing-tier-row.highlighted {
  font-weight: 800;
  color: #047857;
  background: #ecfdf5;
  border-radius: 0.35rem;
  padding: 0.3rem 0.5rem;
}

/* Cancellation Policy Box */
.cancellation-policy-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.75rem;
  padding: 1rem;
  margin: 1.25rem 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #92400e;
}

.checkbox-confirm-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  color: #78350f;
}

/* ==========================================================================
   AI TRANSLATE BUTTON & ADMIN ENHANCEMENTS
   ========================================================================== */
.ai-translate-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  color: white;
  border: 1px solid #a78bfa;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(109, 40, 217, 0.25);
  transition: all 0.2s ease;
}

.ai-translate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(109, 40, 217, 0.4);
  background: #7c3aed;
}

.admin-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.admin-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #e2e8f0;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.2rem;
}

.admin-tag-del {
  color: #ef4444;
  cursor: pointer;
  font-weight: 800;
}

/* ==========================================================================
   REAL SOCIAL MEDIA BRAND SVGs
   ========================================================================== */
.social-asset-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.4rem;
  text-decoration: none;
  position: relative;
}

.social-asset-link .social-brand-svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

.social-asset-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.social-asset-link.facebook:hover {
  border-color: #1877F2;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}

.social-asset-link.instagram:hover {
  border-color: #d6249f;
  box-shadow: 0 6px 16px rgba(214, 36, 159, 0.35);
}

.social-asset-link.linkedin:hover {
  border-color: #0A66C2;
  box-shadow: 0 6px 16px rgba(10, 102, 194, 0.35);
}

.social-asset-link.tiktok:hover {
  border-color: #000000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.social-asset-link.youtube:hover {
  border-color: #FF0000;
  box-shadow: 0 6px 16px rgba(255, 0, 0, 0.35);
}

.social-asset-link.whatsapp:hover {
  border-color: #25D366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.share-option-btn .social-brand-svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   CONTACT US BUTTON & MODAL
   ========================================================================== */
.nav-contact-btn {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-contact-btn:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
  color: #1d4ed8;
  transform: translateY(-1px);
}

.contact-modal-card {
  max-width: 580px;
}

.inquiry-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s ease;
}

.inquiry-card:hover {
  border-color: #93c5fd;
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.inquiry-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   DYNAMIC ABOUT FEATURES & ANIMATION EFFECTS
   ========================================================================== */
.about-features-wrap {
  margin-top: 2rem;
  position: relative;
}

/* Animations for Feature Cards */
@keyframes cardFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes cardPulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.22);
    border-color: #38bdf8;
  }
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes cardFlip {
  0% {
    transform: perspective(600px) rotateY(-20deg);
    opacity: 0;
  }
  100% {
    transform: perspective(600px) rotateY(0deg);
    opacity: 1;
  }
}

.about-card.anim-fade-up {
  animation: cardFadeUp 0.6s ease backwards;
}

.about-card.anim-slide-in {
  animation: cardSlideIn 0.6s ease backwards;
}

.about-card.anim-pulse {
  animation: cardPulseGlow 3s ease-in-out infinite;
}

.about-card.anim-float {
  animation: cardFloat 4s ease-in-out infinite;
}

.about-card.anim-flip {
  animation: cardFlip 0.7s ease backwards;
}

/* Carousel / Slideshow Layout for Feature Cards */
.about-features-carousel {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
}

.about-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  gap: 1.25rem;
}

.about-carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .about-carousel-slide {
    flex: 0 0 calc(50% - 0.625rem);
    max-width: calc(50% - 0.625rem);
  }
}

@media (min-width: 1024px) {
  .about-carousel-slide {
    flex: 0 0 calc(33.333% - 0.85rem);
    max-width: calc(33.333% - 0.85rem);
  }
}

.about-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.about-carousel-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.about-carousel-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.about-carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.about-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.about-carousel-dot.active {
  background: var(--primary);
  width: 22px;
  border-radius: 9999px;
}

.admin-feature-card-row {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   TOUR MULTI-MEDIA & VIDEO SLIDESHOW STYLES
   ========================================================================== */

/* 1. Media Edit Grid (Inside Admin Forms) */
.tour-media-edit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.tour-media-item-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tour-media-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tour-media-preview-box {
  width: 100%;
  height: 90px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-media-preview-box img,
.tour-media-preview-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-media-type-tag {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  background: rgba(15, 23, 42, 0.75);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.tour-media-cover-tag {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  background: #f59e0b;
  color: #78350f;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tour-media-card-controls {
  padding: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}

.tour-media-ctrl-btn {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.tour-media-ctrl-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.tour-media-ctrl-btn.del:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

/* 2. Tour Media Showcase Carousel (In Booking Modal for Bookers) */
.tour-showcase-container {
  border-radius: 1rem;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #0f172a;
}

.showcase-viewer {
  position: relative;
  width: 100%;
  height: 320px;
  background: #090d16;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.showcase-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.showcase-main-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: black;
}

.showcase-main-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.showcase-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  z-index: 5;
}

.showcase-nav-btn:hover {
  background: var(--primary);
  border-color: var(--gold-carto);
  transform: translateY(-50%) scale(1.1);
}

.showcase-nav-btn.prev {
  right: 0.75rem;
}

.showcase-nav-btn.next {
  left: 0.75rem;
}

.showcase-counter-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(15, 23, 42, 0.75);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.showcase-caption-overlay {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  color: white;
  padding: 1.25rem 1rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 4;
}

.showcase-filmstrip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.6rem 0.75rem;
  background: #1e293b;
  scrollbar-width: thin;
}

.showcase-filmstrip::-webkit-scrollbar {
  height: 4px;
}

.showcase-filmstrip::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 9999px;
}

.showcase-filmstrip-thumb {
  width: 68px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 0.4rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s ease;
  background: #0f172a;
}

.showcase-filmstrip-thumb:hover {
  opacity: 0.9;
}

.showcase-filmstrip-thumb.active {
  border-color: var(--gold-carto);
  opacity: 1;
  transform: scale(1.06);
  box-shadow: 0 0 10px rgba(71, 150, 200, 0.5);
}

.showcase-filmstrip-thumb img,
.showcase-filmstrip-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-thumb-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: white;
  font-size: 0.85rem;
}

/* 3. Media Badge on Homepage Tour Card */
.tour-media-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.75);
  color: white;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.tour-card:hover .tour-media-card-badge,
.past-tour-card:hover .tour-media-card-badge {
  background: var(--primary);
  border-color: var(--gold-carto);
  transform: scale(1.04);
}

/* ==========================================================================
   HOMEPAGE LAYOUT MANAGER STYLES (Admin CMS)
   ========================================================================== */
.admin-layout-sections-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.admin-layout-row {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.85rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.admin-layout-row:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.admin-layout-row.hidden-section {
  opacity: 0.6;
  background: #f8fafc;
  border-style: dashed;
}

.layout-pos-badge {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.layout-section-info {
  flex: 1;
  min-width: 220px;
}

.layout-section-title {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.layout-section-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.layout-actions-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.layout-btn {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.layout-btn:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: var(--primary);
  color: var(--primary);
}

.layout-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: var(--border);
}

.layout-btn.toggle-vis {
  color: #047857;
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.layout-btn.toggle-vis.hidden {
  color: #dc2626;
  border-color: #fca5a5;
  background: #fef2f2;
}

/* ==========================================================================
   FEATURE CARD EDIT MODAL & SLIDESHOW MANAGER STYLES
   ========================================================================== */

#editFeatureModalOverlay,
#editPolaroidModalOverlay {
  z-index: 400 !important;
}

#editFeatureModalOverlay .modal-card,
#editPolaroidModalOverlay .modal-card {
  z-index: 401;
}

/* Admin Slideshow Grid */
.admin-slideshow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.admin-slideshow-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
}

.admin-slideshow-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.admin-slideshow-card.is-first {
  border-color: var(--gold-carto);
  box-shadow: 0 0 0 2px rgba(71, 150, 200, 0.35);
}

.admin-slideshow-preview {
  width: 100%;
  height: 85px;
  background: #0f172a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-slideshow-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-slideshow-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  background: rgba(15, 23, 42, 0.75);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.admin-slideshow-badge.cover {
  background: #f59e0b;
  color: #78350f;
  font-weight: 800;
}

.admin-slideshow-controls {
  padding: 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}

.admin-slideshow-ctrl-btn {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.3rem;
  padding: 0.2rem 0.35rem;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.admin-slideshow-ctrl-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.admin-slideshow-ctrl-btn.del:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

/* Section Header Editor Boxes */
.admin-section-header-box {
  transition: all 0.2s ease;
}

.admin-section-header-box:hover {
  border-color: var(--primary);
}

/* ==========================================================================
   AMBIENT FLOATING POLAROID PHOTOS LAYER
   ========================================================================== */
.polaroid-ambient-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10; /* Inverted Stacking Context: visible in gutters over section backgrounds */
}

/* Level 0: Section backgrounds remain underneath polaroids */
.main-content,
.hero,
.section {
  position: relative;
  z-index: auto;
}

/* Level 25: Central content containers stay cleanly above the ambient background */
.container,
.about-container {
  position: relative;
  z-index: 25;
}

.polaroid-card {
  position: absolute;
  width: 215px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 11px 11px 18px 11px;
  border-radius: 3px;
  box-shadow: 0 14px 32px rgba(30, 25, 18, 0.16), 0 3px 8px rgba(30, 25, 18, 0.08);
  border: 1px solid rgba(215, 205, 190, 0.7);
  opacity: 0;
  transform: scale(0.82) rotate(var(--rot, -3deg));
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  isolation: isolate;
}

.polaroid-ambient-card {
  position: absolute;
  width: 215px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  padding: 11px 11px 18px 11px;
  border-radius: 3px;
  box-shadow: 0 14px 32px rgba(30, 25, 18, 0.16), 0 3px 8px rgba(30, 25, 18, 0.08);
  border: 1px solid rgba(215, 205, 190, 0.7);
  opacity: 0;
  transform: scale(0.82) rotate(var(--rot, -3deg));
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  isolation: isolate;
}

.polaroid-card.active,
.polaroid-ambient-card.active {
  opacity: 1 !important;
  transform: scale(1) rotate(var(--rot, -3deg));
}

.polaroid-card.fading,
.polaroid-ambient-card.fading {
  opacity: 0;
  transform: scale(0.9) translateY(12px) rotate(var(--rot, -3deg));
}

.polaroid-card.stack-mode,
.polaroid-card.stack-mode.active,
.polaroid-ambient-card.stack-mode,
.polaroid-ambient-card.stack-mode.active {
  opacity: 1 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  isolation: isolate;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease, box-shadow 0.3s ease;
}

.polaroid-card.stack-mode:hover,
.polaroid-ambient-card.stack-mode:hover {
  transform: scale(1.06) rotate(var(--rot, -3deg)) !important;
  box-shadow: 0 18px 40px rgba(30, 25, 18, 0.28), 0 5px 12px rgba(30, 25, 18, 0.15);
}


.polaroid-img-wrap {
  width: 100%;
  height: 165px;
  background: #eae5dc;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.98) saturate(1.1);
  display: block;
}

/* Subtle vintage vignette inside the photo */
.polaroid-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 25px rgba(20, 15, 10, 0.15);
  pointer-events: none;
}

/* Washi tape snippet at the top */
.polaroid-tape {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-1.5deg);
  width: 65px;
  height: 20px;
  background: rgba(235, 222, 195, 0.72);
  backdrop-filter: blur(2px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border-left: 2px dashed rgba(195, 175, 140, 0.5);
  border-right: 2px dashed rgba(195, 175, 140, 0.5);
}

.polaroid-caption {
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  margin-top: 10px;
  text-align: center;
  font-family: var(--polaroid-font-family, 'Caveat', 'Segoe Print', cursive, sans-serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--polaroid-caption-color, #27201c);
  font-weight: 700;
  direction: rtl;
  word-break: break-word;
  text-shadow: 0.5px 0.5px 0 rgba(0, 0, 0, 0.05);
  min-height: 1.6rem;
  unicode-bidi: plaintext;
}

[dir="ltr"] .polaroid-caption,
html[lang="en"] .polaroid-caption,
body.lang-en .polaroid-caption {
  direction: ltr;
}

/* Responsive Mobile & Tablet Ambient Polaroid Rules */
@media (max-width: 1023px) {
  .polaroid-ambient-layer {
    display: block !important;
    pointer-events: none !important;
    overflow: hidden !important;
  }

  .polaroid-card,
  .polaroid-card.stack-mode,
  .polaroid-card *,
  .polaroid-ambient-card,
  .polaroid-ambient-card.stack-mode,
  .polaroid-ambient-card * {
    pointer-events: none !important;
    touch-action: none !important;
    user-select: none !important;
  }

  .polaroid-card,
  .polaroid-ambient-card {
    width: 140px;
    padding: 7px 7px 13px 7px;
    border-radius: 3px;
    box-shadow: 0 8px 20px rgba(30, 25, 18, 0.14), 0 2px 6px rgba(30, 25, 18, 0.06);
    border: 1px solid rgba(215, 205, 190, 0.65);
    background: #ffffff !important;
    background-color: #ffffff !important;
    isolation: isolate;
  }

  .polaroid-card.active,
  .polaroid-ambient-card.active {
    opacity: 1 !important;
    transform: scale(1) rotate(var(--rot, -3deg));
  }

  .polaroid-card.fading,
  .polaroid-ambient-card.fading {
    opacity: 0;
    transform: scale(0.9) translateY(8px) rotate(var(--rot, -3deg));
  }

  .polaroid-card.stack-mode:hover,
  .polaroid-ambient-card.stack-mode:hover {
    transform: scale(1) rotate(var(--rot, -3deg)) !important;
    box-shadow: 0 8px 20px rgba(30, 25, 18, 0.14), 0 2px 6px rgba(30, 25, 18, 0.06) !important;
  }

  .polaroid-img-wrap {
    height: 105px;
  }

  .polaroid-tape {
    width: 44px;
    height: 14px;
    top: -7px;
  }

  .polaroid-caption {
    font-size: 0.92rem;
    margin-top: 5px;
    min-height: 1.25rem;
    line-height: 1.18;
    background-color: #ffffff;
  }
}

@media (max-width: 480px) {
  .polaroid-card,
  .polaroid-ambient-card {
    width: 125px;
    padding: 6px 6px 11px 6px;
    box-shadow: 0 6px 15px rgba(30, 25, 18, 0.12), 0 2px 4px rgba(30, 25, 18, 0.05);
    background: #ffffff !important;
    background-color: #ffffff !important;
    isolation: isolate;
  }

  .polaroid-card.active,
  .polaroid-ambient-card.active {
    opacity: 1 !important;
  }

  .polaroid-img-wrap {
    height: 92px;
  }

  .polaroid-tape {
    width: 38px;
    height: 12px;
    top: -6px;
  }

  .polaroid-caption {
    font-size: 0.85rem;
    margin-top: 4px;
    min-height: 1.15rem;
    background-color: #ffffff;
  }
}

/* Admin Polaroid Color Swatches */
.polaroid-color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px var(--border), 0 2px 4px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  outline: none;
}
.polaroid-color-swatch:hover {
  transform: scale(1.15);
}
.polaroid-color-swatch.active {
  box-shadow: 0 0 0 2.5px var(--primary), 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
}
.polaroid-color-swatch.active::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
}

/* On-Demand Tour Badges & Styles */
.tour-ondemand-badge {
  background: #d97706 !important;
  color: #ffffff !important;
  font-weight: 700;
}
.ondemand-custom-date-box {
  background: #fffbeb;
  border: 1.5px solid #f59e0b;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Shake animation for incorrect PIN */
@keyframes shake-error {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.shake-animation {
  animation: shake-error 0.4s ease-in-out;
}

/* Admin Polaroid Pool Grid */
.admin-polaroid-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-polaroid-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.admin-polaroid-thumb-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  background: #f1ede7;
}

.admin-polaroid-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-polaroid-info {
  padding: 0.6rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-polaroid-caption-he {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #27201c;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.admin-polaroid-caption-en {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
  direction: ltr;
  unicode-bidi: plaintext;
}

.admin-excel-card {
  transition: all 0.2s ease;
}

.admin-excel-card:hover {
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   STANDALONE ADMIN BACKOFFICE & ADVANCED CONTROLS
   ========================================================================== */

/* Fullscreen Backoffice Dashboard */
.admin-backoffice-page {
  background-color: #f8fafc;
  min-height: 100vh;
}

.admin-gate-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
  background: radial-gradient(circle at 50% 30%, #e2ece6 0%, #d4e4db 100%);
}

.admin-gate-card {
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 20px 40px rgba(6, 23, 46, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--primary);
  text-align: center;
}

.admin-dashboard-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1.5rem;
}

.admin-top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* Segmented Control for Display Mode */
.segmented-control {
  display: inline-flex;
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.25rem;
  gap: 0.25rem;
}

.segmented-option {
  cursor: pointer;
  margin: 0;
}

.segmented-option input[type="radio"] {
  display: none;
}

.segmented-option span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
  user-select: none;
}

.segmented-option input[type="radio"]:checked + span {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Range Slider with Number Input */
.range-with-number {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.range-with-number input[type="range"] {
  flex-grow: 1;
  accent-color: var(--primary);
  height: 6px;
  cursor: pointer;
}

.range-with-number input[type="number"] {
  width: 75px;
  text-align: center;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  background: #eef5f1;
  color: var(--primary);
  border: 1px solid #c7e0d3;
}

.badge-warning {
  background: #eaf3fa;
  color: #92400e;
  border-color: #fde68a;
}

/* Bulk Photo Upload Dropzone */
.bulk-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 0.85rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bulk-dropzone:hover,
.bulk-dropzone.dragover {
  border-color: var(--primary);
  background: #f0fdf4;
}

.dropzone-icon {
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

.dropzone-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.dropzone-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Bulk Staging Grid */
.bulk-staging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  max-height: 480px;
  overflow-y: auto;
  padding: 0.5rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
}

.staged-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.staged-thumb {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 0.4rem;
  background: #e2e8f0;
}

.staged-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.btn-remove-staged {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fca5a5;
  color: #dc2626;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-remove-staged:hover {
  background: #fee2e2;
  transform: scale(1.1);
}

/* ==========================================================================
   MILESTONE M5: TOUR REGISTRATION CAPACITY & CRM STYLES
   ========================================================================== */
.tour-sold-out-badge {
  background: #dc2626 !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
  animation: pulse-soldout 2.5s infinite ease-in-out;
}

@keyframes pulse-soldout {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(0.98); }
}

.date-card-item.date-card-sold-out {
  opacity: 0.65;
  border-color: #fca5a5 !important;
  background: #fef2f2 !important;
  position: relative;
}

.date-card-item.date-card-sold-out:hover {
  border-color: #ef4444 !important;
}

.crm-subview-btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.crm-subview-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 4px rgba(30, 41, 59, 0.15);
}

.crm-kpi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.crm-kpi-val {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-top: 0.25rem;
}

.crm-kpi-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.crm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.crm-status-new { background: #dbeafe; color: #1e40af; }
.crm-status-contacted { background: #eaf3fa; color: #92400e; }
.crm-status-booked { background: #dcfce7; color: #166534; }
.crm-status-completed { background: #f3e8ff; color: #6b21a8; }
.crm-status-cancelled { background: #fee2e2; color: #991b1b; }

.crm-source-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.crm-activity-item {
  padding: 0.6rem 0.75rem;
  border-radius: 0.45rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
}
