/* ===== MUSEUM WEBSITE - MAIN STYLESHEET ===== */
:root {
  /* Основные бренд-тона — «Небо над Тянь-Шанем», лазурит + айвори */
  --primary: #1b3a6b;           /* лазурит — CTA, hero overlay, stats, акценты */
  --primary-light: #2b5490;     /* мягкий синий — hover, карточки */
  --primary-dark: #122950;      /* тёмная ночь — навбар, футер, заголовки */
  --primary-darker: #0d1a2e;    /* тени, самые тёмные контрасты */

  /* Смысловые акценты — охристо-красный, как в флаге */
  --accent: #c0392b;            /* охра-красный — экспонаты, избранное, featured */
  --accent-light: #d85a4a;
  --accent-dark: #8a2a20;
  --muted: #8a7d6a;             /* тёплый песочный — бордеры, мета */
  --muted-light: #c4b9a5;

  /* Нейтрали — войлочный айвори */
  --cream: #f5ece0;             /* айвори — фон секций/карточек */
  --cream-light: #fbf6ec;       /* мягкий кремовый — фон страницы */
  --light: #fbf6ec;             /* алиас */
  --light-2: #f5ece0;           /* алиас */

  /* Текст */
  --text: #111b2e;
  --text-muted: #5e6b80;
  --white: #ffffff;
  --border: #d9cfbf;

  /* Системные */
  --red: #c0392b;
  --gold: #b8914a;              /* латунь — CTA-акценты, иконки, избранное */
  --gold-light: #d4ae6b;        /* светлая латунь */
  --shadow: 0 4px 20px rgba(13,26,46,0.12);
  --shadow-lg: 0 8px 40px rgba(13,26,46,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font-main: 'Tilda Sans', 'Manrope', 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; color: var(--primary-dark); }
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text-muted); line-height: 1.8; }

/* ===== CONTAINER ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { position: relative; display: inline-block; padding-bottom: 15px; }
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
}
.section-header p { margin-top: 15px; font-size: 1.05rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--cream);
  box-shadow: 0 4px 15px rgba(184,145,74,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18,41,80,0.45);
  color: var(--cream);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}
.btn-dark {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--primary-darker);
  transform: translateY(-2px);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-danger { background: var(--red); color: var(--white); }
.btn-danger:hover { background: #a93226; color: var(--white); }
.btn-accent {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 4px 15px rgba(192,57,43,0.3);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,57,43,0.4);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(184,145,74,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 30px;
  max-width: 1400px;
  margin: 0 auto;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-brand .brand-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.navbar-brand .brand-icon-img {
  width: 44px;
  height: 44px;
  background: var(--light-2);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.navbar-brand .brand-icon-img svg { width: 100%; height: 100%; display: block; }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  color: rgba(255,255,255,0.92);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 4px 8px;
}
.lang-btn {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 14px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lang-btn:hover, .lang-btn.active {
  background: var(--gold);
  color: var(--primary-dark);
}
.navbar-ticket-btn {
  background: var(--gold);
  color: var(--primary-dark);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.navbar-ticket-btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  color: var(--primary-dark);
}
.navbar-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.navbar-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,41,80,0.78) 0%, rgba(184,145,74,0.6) 45%, rgba(212,174,107,0.42) 100%);
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(184,145,74,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184,145,74,0.1) 0%, transparent 50%);
}
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-shape {
  position: absolute;
  border: 1px solid rgba(184,145,74,0.2);
  border-radius: 50%;
  animation: heroFloat 8s ease-in-out infinite;
}
.hero-shape:nth-child(1) { width: 400px; height: 400px; right: -100px; top: -100px; animation-delay: 0s; }
.hero-shape:nth-child(2) { width: 250px; height: 250px; right: 100px; top: 50px; animation-delay: 2s; border-color: rgba(184,145,74,0.12); }
.hero-shape:nth-child(3) { width: 150px; height: 150px; right: 200px; top: 150px; animation-delay: 4s; border-color: rgba(184,145,74,0.08); }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
  padding: 0 40px;
  margin-left: 5%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.25);
  border: 1px solid rgba(216,90,74,0.55);
  color: #c4b9a5;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--white);
}
.hero-title .highlight {
  color: var(--gold-light);
  position: relative;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  text-align: center;
  cursor: pointer;
  animation: bounce 2s infinite;
}
.hero-scroll svg { display: block; margin: 6px auto 0; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-item {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 500;
}

/* ===== FEATURED EXHIBITS ===== */
.featured-section { background: var(--light); }
.exhibits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.exhibit-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}
.exhibit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.exhibit-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.exhibit-card:hover .exhibit-card-img { transform: scale(1.05); }
.exhibit-card-img-wrap {
  overflow: hidden;
  position: relative;
}
.exhibit-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.exhibit-card-body { padding: 20px; }
.exhibit-card-category {
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.exhibit-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.exhibit-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.exhibit-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.exhibit-card-hall {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== EVENTS SECTION ===== */
.events-section { background: var(--white); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.event-card {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.event-card-date {
  min-width: 80px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  text-align: center;
}
.event-day { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--gold-light); }
.event-month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.8); margin-top: 4px; }
.event-card-body { padding: 20px; flex: 1; }
.event-type-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  background: rgba(184,145,74,0.15);
  color: var(--gold);
}
.event-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.event-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event-meta-item { display: flex; align-items: center; gap: 6px; }
.event-price {
  margin-top: 12px;
  font-weight: 700;
  color: var(--primary-dark);
}
.event-price.free { color: #27ae60; }

/* ===== VIRTUAL TOUR PROMO ===== */
.virtual-promo {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.virtual-promo::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,145,74,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.virtual-promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.virtual-promo-content { color: var(--white); }
.virtual-promo-content h2 { color: var(--white); margin-bottom: 20px; }
.virtual-promo-content p { color: rgba(255,255,255,0.75); margin-bottom: 32px; font-size: 1.05rem; }
.virtual-promo-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.tour-preview {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(184,145,74,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.tour-preview-icon {
  font-size: 4rem;
  opacity: 0.8;
}
.tour-preview-text { font-size: 1.1rem; font-weight: 600; color: var(--gold-light); }
.tour-preview-360 {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a227' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; position: relative; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; position: relative; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); font-size: 0.85rem; }
.breadcrumb .current { color: var(--gold-light); font-size: 0.85rem; font-weight: 600; }

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.about-image-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--gold);
  color: var(--primary-dark);
  padding: 20px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow);
}
.about-image-badge .year { font-size: 2rem; line-height: 1; display: block; }
.about-image-badge .label { font-size: 0.75rem; margin-top: 4px; }
.about-features { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-feature-icon {
  width: 46px; height: 46px;
  background: rgba(184,145,74,0.12);
  color: var(--gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.about-feature h4 { margin-bottom: 4px; font-size: 1rem; }
.about-feature p { font-size: 0.88rem; }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.info-card h3 { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid var(--light-2); }
.info-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--light-2);
}
.info-item:last-child { border-bottom: none; }
.info-item-icon {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.info-item-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.info-item-value { font-weight: 600; color: var(--text); }
.schedule-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--light-2); }
.schedule-item:last-child { border-bottom: none; }
.schedule-day { font-weight: 600; }
.schedule-time { color: var(--text-muted); font-size: 0.9rem; }
.schedule-time.closed { color: var(--red); }

/* ===== EXHIBITS PAGE ===== */
.exhibits-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 70px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.exhibits-toolbar-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.search-input-wrap svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  background: var(--light);
  transition: var(--transition);
  outline: none;
  color: var(--text);
}
.search-input:focus { border-color: var(--gold); background: var(--white); }
.filter-select {
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.88rem;
  background: var(--light);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text);
  min-width: 130px;
}
.filter-select:focus { border-color: var(--gold); }
.exhibits-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.exhibits-count strong { color: var(--primary-dark); }
.exhibits-main { padding: 50px 0; background: var(--light); min-height: 400px; }

/* ===== SINGLE EXHIBIT ===== */
.exhibit-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  padding: 60px 0;
}
.exhibit-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
  transition: opacity 0.25s ease;
}
.exhibit-detail > div:first-child { position: sticky; top: 90px; align-self: start; }
.exhibit-img.swapping { opacity: 0.35; }
.exhibit-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.exhibit-thumb {
  width: 80px;
  height: 64px;
  padding: 0;
  border-radius: 8px;
  border: 2px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  background: var(--light);
  transition: var(--transition);
  opacity: 0.6;
}
.exhibit-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exhibit-thumb:hover { opacity: 1; border-color: var(--primary-light); }
.exhibit-thumb.active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,145,74,0.2);
}
.exhibit-info h1 { margin-bottom: 10px; }
.exhibit-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.meta-chip {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.meta-chip-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.meta-chip-value { font-weight: 700; color: var(--primary-dark); font-size: 0.95rem; }
.exhibit-description { line-height: 1.9; margin-bottom: 28px; color: var(--text); }
.audio-player-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--white);
  margin-bottom: 24px;
}
.audio-player-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold-light); margin-bottom: 16px; }
.audio-lang-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.audio-lang-tab {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: var(--transition);
}
.audio-lang-tab.active {
  background: var(--gold);
  color: var(--primary-dark);
}
.audio-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}
.audio-play-btn {
  width: 46px; height: 46px;
  background: var(--gold);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.audio-play-btn:hover { background: var(--gold-light); transform: scale(1.05); }
.audio-progress-bar { flex: 1; height: 4px; background: rgba(255,255,255,0.2); border-radius: 4px; cursor: pointer; }
.audio-progress-fill { height: 100%; background: var(--gold); border-radius: 4px; width: 0%; transition: width 0.1s; }
.audio-time { font-size: 0.78rem; color: rgba(255,255,255,0.6); white-space: nowrap; }

/* ===== VIRTUAL TOUR ===== */
.tour-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: calc(100vh - 70px);
  margin-top: 70px;
  overflow: hidden;
}
.tour-sidebar {
  background: var(--primary);
  overflow-y: auto;
  padding: 20px;
}
.tour-sidebar-title {
  color: var(--gold-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  font-weight: 700;
}
.room-list { display: flex; flex-direction: column; gap: 8px; }
.room-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
  text-align: left;
  cursor: pointer;
}
.room-btn:hover, .room-btn.active {
  background: rgba(184,145,74,0.2);
  color: var(--gold-light);
}
.room-btn-num {
  width: 28px; height: 28px;
  background: rgba(184,145,74,0.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.tour-viewport {
  position: relative;
  background: #000;
  overflow: hidden;
}
#panorama-viewer {
  width: 100%;
  height: 100%;
  position: relative;
}
.panorama-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1a2e, #1b3a6b);
  color: var(--white);
  gap: 20px;
}
.panorama-icon { font-size: 5rem; opacity: 0.6; }
.panorama-text { font-size: 1.2rem; color: rgba(255,255,255,0.7); }
.tour-controls {
  position: absolute;
  top: 16px; right: 16px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.tour-ctrl-btn {
  background: rgba(18,41,80,0.8);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.tour-ctrl-btn:hover { background: rgba(184,145,74,0.8); color: var(--primary-dark); }
.tour-instructions-bar {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  background: rgba(18,41,80,0.8);
  color: rgba(255,255,255,0.8);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 0.82rem;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ===== TICKETS PAGE ===== */
.tickets-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  padding: 60px 0;
}
.ticket-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-section { margin-bottom: 30px; }
.form-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--light-2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-section-title span { color: var(--gold); }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
  background: var(--white);
  color: var(--text);
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,145,74,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ticket-type-grid {
  display: grid;
  gap: 12px;
}
.ticket-type-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}
.ticket-type-option:hover { border-color: var(--gold); background: rgba(184,145,74,0.04); }
.ticket-type-option.selected { border-color: var(--gold); background: rgba(184,145,74,0.08); }
.ticket-type-option input[type="radio"] { display: none; }
.ticket-radio-circle {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.ticket-type-option.selected .ticket-radio-circle {
  border-color: var(--gold);
  background: var(--gold);
}
.ticket-type-option.selected .ticket-radio-circle::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.ticket-type-info { flex: 1; }
.ticket-type-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.ticket-type-desc { font-size: 0.8rem; color: var(--text-muted); }
.ticket-type-price { font-weight: 800; color: var(--gold); font-size: 1.05rem; white-space: nowrap; }

/* Order Summary */
.order-summary {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  position: sticky;
  top: 90px;
}
.order-summary h3 { color: var(--gold-light); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}
.summary-row:last-of-type { border-bottom: none; }
.summary-label { color: rgba(255,255,255,0.7); }
.summary-value { font-weight: 600; }
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid rgba(184,145,74,0.4);
}
.summary-total-label { font-size: 1rem; font-weight: 700; color: var(--gold-light); }
.summary-total-price { font-size: 1.6rem; font-weight: 800; color: var(--gold-light); }
.summary-currency { font-size: 0.85rem; }

/* QR Code Success */
.booking-success {
  text-align: center;
  padding: 40px 20px;
}
.booking-success-icon {
  width: 80px; height: 80px;
  background: #e8f8e8;
  color: #27ae60;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}
.qr-code-wrap {
  margin: 24px auto;
  display: inline-block;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.booking-ref {
  background: var(--light);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--primary-dark);
  margin: 16px auto;
  display: inline-block;
}

/* ===== EVENTS PAGE ===== */
.events-tabs {
  display: flex;
  gap: 4px;
  background: var(--light);
  padding: 4px;
  border-radius: 50px;
  width: fit-content;
  margin: 0 auto 40px;
}
.events-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}
.events-tab.active { background: var(--primary); color: var(--white); }
.events-tab:hover:not(.active) { background: var(--border); color: var(--text); }

/* Calendar */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-header { text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; padding: 10px; }
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  border-radius: 8px;
  cursor: default;
  color: var(--text-muted);
  position: relative;
}
.cal-day.has-event {
  background: rgba(184,145,74,0.12);
  color: var(--primary-dark);
  font-weight: 700;
  cursor: pointer;
}
.cal-day.has-event::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
.cal-day.has-event:hover { background: var(--gold); color: var(--primary-dark); }
.cal-day.today { border: 2px solid var(--primary); color: var(--primary-dark); font-weight: 700; }
.cal-day.empty { opacity: 0; cursor: default; }

/* ===== AUDIO GUIDE PAGE ===== */
.audio-guide-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  padding: 50px 0;
}
.audio-exhibit-list {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.audio-exhibit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.audio-exhibit-item:last-child { border-bottom: none; }
.audio-exhibit-item:hover, .audio-exhibit-item.active {
  background: rgba(184,145,74,0.08);
}
.audio-exhibit-item.active .audio-exhibit-num {
  background: var(--gold);
  color: var(--primary-dark);
}
.audio-exhibit-img {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.audio-exhibit-num {
  width: 52px; height: 52px;
  background: var(--light-2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}
.audio-exhibit-title { font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.audio-exhibit-category { font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.audio-playing-indicator {
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}
.audio-playing-indicator span {
  display: block;
  width: 3px;
  background: var(--gold);
  border-radius: 2px;
  animation: soundWave 0.8s ease-in-out infinite;
}
.audio-playing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.audio-playing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes soundWave {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}
.audio-player-main {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}
.audio-player-exhibit-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.audio-player-exhibit-title { margin-bottom: 8px; }
.audio-player-exhibit-category { color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.audio-lang-switcher {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.audio-lang-switch-btn {
  padding: 8px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.audio-lang-switch-btn.active { border-color: var(--gold); background: var(--gold); color: var(--primary-dark); }
.audio-main-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.audio-main-play {
  width: 60px; height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.audio-main-play:hover { background: var(--gold); color: var(--primary-dark); transform: scale(1.08); }
.audio-track-info { flex: 1; }
.audio-track-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.audio-track-subtitle { font-size: 0.82rem; color: var(--text-muted); }
.audio-progress-full {
  width: 100%;
  height: 5px;
  background: var(--border);
  border-radius: 5px;
  cursor: pointer;
  margin-bottom: 8px;
  position: relative;
}
.audio-progress-full-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 5px;
  width: 0%;
}
.audio-times { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-brand { margin-bottom: 16px; }
.footer-brand-name { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-logo-img { width: 40px; height: 40px; flex-shrink: 0; color: var(--light-2); display: inline-flex; align-items: center; justify-content: center; }
.footer-logo-img svg { width: 100%; height: 100%; display: block; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--gold); color: var(--primary-dark); }
.footer-col-title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-light); font-weight: 700; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact-icon { color: var(--gold); font-size: 0.95rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-text { font-size: 0.88rem; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.footer-bottom p { color: rgba(255,255,255,0.4); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 50px;
}
.page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  cursor: pointer;
}
.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary-dark); }
.page-btn.disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== MISC COMPONENTS ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(184,145,74,0.12);
  color: var(--gold);
}
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.alert-success { background: #e8f8e8; color: #27ae60; border: 1px solid #a8e6a8; }
.alert-error { background: #fde8e8; color: var(--red); border: 1px solid #f5c6c6; }
.alert-info { background: #e8f0fe; color: #1565c0; border: 1px solid #a8c5f8; }
.loading-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: var(--transition);
}
.modal-overlay.active .modal { transform: scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { margin: 0; }
.modal-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.modal-close:hover { background: var(--border); color: var(--text); }
.modal-body { padding: 28px; }
.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .virtual-promo-grid { grid-template-columns: 1fr; gap: 40px; }
  .navbar-nav { display: none; }
  .navbar-burger { display: flex; }
}

@media (max-width: 900px) {
  .navbar-ticket-btn { display: none; }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .exhibit-detail { grid-template-columns: 1fr; }
  .exhibit-img { position: static; }
  .tickets-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .audio-guide-layout { grid-template-columns: 1fr; }
  .tour-layout { grid-template-columns: 1fr; height: auto; margin-top: 0; }
  .tour-sidebar { order: 2; }
  .tour-viewport { height: 50vh; order: 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-content { margin-left: 0; padding: 0 20px; }
  .hero-title { font-size: 2rem; }
  .hero-buttons { flex-direction: column; }
  .exhibits-toolbar-inner { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .exhibit-meta-grid { grid-template-columns: 1fr; }
  .section-padding { padding: 50px 0; }
  .events-grid { grid-template-columns: 1fr; }
  .exhibits-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 480px) {
  .navbar-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none; }
  .page-hero { padding: 100px 0 40px; }
  .ticket-form-card { padding: 20px; }
  .audio-player-main { padding: 20px; }
  .hero-shapes { display: none; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .section-padding { padding: 40px 0; }
  .exhibits-grid { grid-template-columns: 1fr; }
  .navbar-brand { font-size: 0.92rem; }
  .navbar-brand .brand-icon-img { width: 36px; height: 36px; }
  .lang-switcher { padding: 3px 6px; }
  .lang-btn { font-size: 0.7rem; padding: 2px 6px; }
}

/* Prevent horizontal overflow from absolutely-positioned decoration */
@media (max-width: 768px) {
  .hero-shape:nth-child(1),
  .hero-shape:nth-child(2),
  .hero-shape:nth-child(3) { right: -150px; }
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.mobile-nav-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(300px, 85vw);
  background: var(--primary);
  padding: 80px 24px 30px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { pointer-events: all; }
.mobile-nav.open .mobile-nav-overlay { opacity: 1; pointer-events: all; }
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(184,145,74,0.15);
  color: var(--gold-light);
}
.mobile-nav-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
}
.mobile-nav-lang {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===== QR CANVAS ===== */
#qr-canvas { display: block; }

/* ===== PRINT STYLES ===== */
@media print {
  .navbar, .footer, .mobile-nav, #search-overlay,
  .breadcrumb, .btn, .lang-switcher, .navbar-right,
  .page-hero .hero-subtitle, form { display: none !important; }

  body { background: white !important; color: #000 !important; font-size: 12pt; }
  .page-hero { background: white !important; color: #000 !important; padding: 16pt 0 8pt; }
  .page-hero h1 { color: #000 !important; font-size: 18pt; }

  .ticket-print-block {
    border: 2pt solid #8a6634;
    border-radius: 8pt;
    padding: 16pt;
    margin: 12pt 0;
    page-break-inside: avoid;
  }
  .ticket-print-block h2 { font-size: 16pt; color: #8a6634; margin-bottom: 8pt; }
  .ticket-print-ref {
    font-size: 20pt;
    font-weight: 800;
    letter-spacing: 4pt;
    color: #8a6634;
    text-align: center;
    padding: 8pt;
    border: 1pt dashed #b8914a;
    margin: 8pt 0;
  }

  #qr-canvas { display: block; margin: 8pt auto; }
  a { color: #000 !important; text-decoration: none !important; }
  * { box-shadow: none !important; text-shadow: none !important; }
}

/* ===== CONTACT PAGE ===== */
.form-group { margin-bottom: 0; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(18,41,80,0.08);
}
.form-input::placeholder { color: var(--text-muted); }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea.form-input { min-height: 120px; }

@media (max-width: 768px) {
  .form-card > form > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
