@font-face { font-family: 'Monomakh Unicode'; src: url('fonts/MonomakhUnicode.otf') format('opentype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Cormorant Garamond'; src: url('fonts/CormorantGaramond-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; }

:root {
  --clr-dark: #0d0600;
  --clr-brown: #1e0d00;
  --clr-mid: #2e1500;
  --clr-amber: #c17a00;
  --clr-gold: #e8a800;
  --clr-gold-light: #ffd566;
  --clr-orange: #d4520a;
  --clr-cream: #f8ead0;
  --clr-text: #f0d8a8;
  --clr-muted: #b08850;
  --font-display: 'Monomakh Unicode', serif;
  --font-body: 'Cormorant Garamond', serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s ease;
  --shadow-gold: 0 0 30px rgba(232,168,0,0.35);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.6);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--clr-dark);
  color: var(--clr-text);
  overflow-x: hidden;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6,
.section__label, .section__title, .booking__title, .hero__title,
.exhibition-card__title, .ticket-card__type, .logo__museum,
.logo__brand, .form-label, .nav__link, .mobile-nav__link,
.photo-hero__title, .photo-hero__label {
  font-family: var(--font-display);
}

p, li, address, input, select, textarea, .checkbox-text, .form-input, .booking__contacts {
  font-family: var(--font-body);
}

.particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  position: relative;
  padding-block: 80px;
  z-index: 1;
}

.section__label {
  display: block;
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFE8C2;
  margin-bottom: 14px;
}

.section__label::before,
.section__label::after {
  content: '──── ';
  opacity: 0.5;
}

.section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  text-align: center;
  color: var(--clr-gold);
  text-shadow: 0 0 20px rgba(232,168,0,0.4);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  font-family: var(--font-display);
}

.btn--primary {
  background: linear-gradient(135deg, var(--clr-orange) 0%, #a83200 100%);
  color: var(--clr-cream);
  border-color: var(--clr-amber);
  box-shadow: 0 4px 20px rgba(212,82,10,0.45);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #e86820 0%, var(--clr-orange) 100%);
  box-shadow: 0 6px 30px rgba(212,82,10,0.7);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  border-color: var(--clr-amber);
  color: var(--clr-gold-light);
}

.btn--outline:hover {
  background: rgba(232,168,0,0.12);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-amber) 100%);
  color: var(--clr-dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(232,168,0,0.4);
}

.btn--gold:hover {
  background: linear-gradient(135deg, var(--clr-gold-light) 0%, var(--clr-gold) 100%);
  box-shadow: 0 6px 30px rgba(232,168,0,0.65);
  transform: translateY(-2px);
}

.btn--wide { width: 100%; text-align: center; }

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn:hover::after { transform: translateX(100%); }

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(13,6,0,0.97) 0%, rgba(13,6,0,0.75) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232,168,0,0.15);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.7);
  border-bottom-color: rgba(232,168,0,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 95px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(232,168,0,0.5));
  transition: filter var(--transition), transform var(--transition);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__museum {
  color: #FFE8C2;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo__brand {
  color: #D5640D;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo:hover .logo__img {
  filter: drop-shadow(0 0 20px rgba(232,168,0,0.85));
  transform: scale(1.04);
}

.nav__list { display: flex; gap: 8px; }

.nav__link {
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  padding: 10px 14px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: center;
}

.nav__link:hover { color: var(--clr-gold-light); }
.nav__link:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--clr-gold);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: rgba(13,6,0,0.97);
  border-top: 1px solid rgba(232,168,0,0.1);
}

.mobile-nav--open { max-height: 400px; }

.mobile-nav__list {
  padding: 12px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav__link {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text);
  padding: 10px 0;
  border-bottom: 1px solid rgba(232,168,0,0.08);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav__link:hover {
  color: var(--clr-gold);
  padding-left: 8px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  overflow: hidden;
  background: url('image/main.jpg') center center / cover no-repeat;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13, 6, 0, 0.20) 0%, rgba(13, 6, 0, 0.35) 45%, rgba(13, 6, 0, 0.15) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(193,122,0,0.18) 0%, transparent 70%);
  animation: pulse-glow 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  min-height: calc(100vh - 90px);
  position: relative;
  z-index: 2;
}

.hero__text {
  max-width: 520px;
  text-align: center;
  margin-right: -50px;
  margin-top: 45vh;
}

.hero__title {
  font-size: clamp(70px, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--clr-cream);
  text-shadow: 0 4px 25px rgba(0,0,0,0.85), 0 0 20px rgba(232,168,0,0.35);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--clr-amber);
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}

.about {
  background-image: url('image/br2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.about__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

p { font-size: 18px; }

.about__text {
  max-width: 560px;
  margin: 0 auto;
  font-size: 24px;
  color: var(--clr-cream);
  line-height: 1.9;
}

.about__sparkles {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.sparkle { font-size: 1.4rem; color: var(--clr-gold); }
.sparkle--1 { animation: twinkle 2.5s 0s ease-in-out infinite; }
.sparkle--2 { animation: twinkle 2.5s 0.6s ease-in-out infinite; }
.sparkle--3 { animation: twinkle 2.5s 1.2s ease-in-out infinite; }

.exhibitions {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #C75800 0%, #542B10 55%, #46250E 100%);
}

.exhibitions::before,
.tickets::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.95) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 28%, rgba(255,240,210,0.85) 0 1.4px, transparent 3px),
    radial-gradient(circle at 43% 16%, rgba(255,255,255,0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 24%, rgba(255,236,190,0.8) 0 1.2px, transparent 3px),
    radial-gradient(circle at 86% 30%, rgba(255,255,255,0.75) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 74%, rgba(255,255,255,0.55) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 72%, rgba(255,255,255,0.45) 0 1px, transparent 2px);
  background-size: 100% 100%;
  opacity: 0.85;
  animation: stars-drift 16s ease-in-out infinite alternate;
  z-index: 0;
}

.exhibitions > *, .tickets > * {
  position: relative;
  z-index: 1;
}

.exhibitions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.exhibition-card {
  background: linear-gradient(145deg, rgba(78,35,10,0.96) 0%, rgba(39,16,6,0.98) 100%);
  border: 1px solid rgba(255,232,194,0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease var(--card-delay), transform 0.6s ease var(--card-delay), box-shadow 0.35s ease, border-color 0.35s ease;
}

.exhibition-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.exhibition-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 60px rgba(0,0,0,0.7), 0 0 30px rgba(199,88,0,0.25);
  border-color: rgba(255,232,194,0.35);
}

.exhibition-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.exhibition-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.exhibition-card:hover .exhibition-card__img { transform: scale(1.06); }

.exhibition-card__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,232,194,0.14) 0%, transparent 60%);
  pointer-events: none;
}

.exhibition-card__body { padding: 24px; }

.exhibition-card__title {
  font-size: 1.05rem;
  color: #FFE8C2;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.exhibition-card__desc {
  font-size: 18px;
  color: var(--clr-muted);
  margin-bottom: 20px;
  line-height: 1.75;
}

.tickets {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #542B10 0%, #46250E 100%);
}

.tickets__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
  max-width: 780px;
  margin-inline: auto;
}

.ticket-card {
  position: relative;
  background: linear-gradient(145deg, rgba(78,35,10,0.96) 0%, rgba(39,16,6,0.98) 100%);
  border: 2px solid rgba(255,232,194,0.22);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,213,102,0.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(40px);
}

.ticket-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ticket-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 30px rgba(199,88,0,0.25);
  border-color: rgba(255,232,194,0.35);
}

.ticket-card__shine {
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(255,213,102,0.08) 80%, transparent 90%);
  animation: rotate-shine 8s linear infinite;
  pointer-events: none;
}

.ticket-card__type {
  font-size: 40px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFE8C2;
  margin-bottom: 12px;
}

.ticket-card__price {
  font-size: 60px;
  font-weight: 900;
  color: #FAD476;
  text-shadow: 0 0 20px rgba(255,255,255,0.22), 0 0 28px rgba(199,88,0,0.25);
  margin-bottom: 4px;
  line-height: 1;
}

.ticket-card__price span {
  font-size: 36px;
  font-weight: 400;
  color: var(--clr-muted);
  letter-spacing: 0.05em;
}

.ticket-card__note {
  font-size: 16px;
  color: #FFE8C2;
  margin: 12px 0 20px;
  line-height: 1.65;
}

.tickets__info {
  text-align: center;
  margin-top: 48px;
  font-size: 20px;
  color: #FFE8C2;
  background: rgba(0,0,0,0.35);
  padding: 12px 24px;
  border-radius: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

hr {
  border: none;
  height: 4px;
  background-color: #FAD476;
  border-radius: 10px;
}

.booking {
  background: linear-gradient(to bottom, #160800, var(--clr-dark));
  background-image: url('image/br1.jpg');
  background-size: cover;
  background-position: center;
}

.booking__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.booking__title {
  font-size: clamp(40px, 2.5vw, 18px);
  color: var(--clr-gold);
  line-height: 1.3;
  margin-bottom: 28px;
}

.booking__title span { color: var(--clr-gold-light); }

.booking__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 30px;
  color: var(--clr-text);
}

.booking__contacts p { font-size: 26px; }

.booking__contacts a {
  color: var(--clr-gold);
  transition: color var(--transition), text-shadow var(--transition);
}

.booking__contacts a:hover {
  color: var(--clr-gold-light);
  text-shadow: 0 0 10px rgba(232,168,0,0.5);
}

.booking__form,
.booking__info {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.booking__form.is-visible,
.booking__info.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.booking__info.is-visible { transition-delay: 0s; }
.booking__form.is-visible { transition-delay: 0.15s; }

.booking__form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(193,122,0,0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(6px);
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-amber);
}

.form-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(193,122,0,0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--clr-cream);
  font-size: 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--clr-muted);
  opacity: 0.7;
}

.form-input:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(232,168,0,0.15);
}

.form-select { cursor: pointer; }

.form-select option {
  background: #1e0d00;
  color: var(--clr-cream);
}

.form-group--checkbox { margin-top: 6px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  color: var(--clr-text);
  font-size: 16px;
  line-height: 1.5;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-box {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1px solid rgba(255,232,194,0.5);
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4);
  position: relative;
}

.checkbox-input:checked + .checkbox-box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #FFE8C2;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-input:focus-visible + .checkbox-box {
  outline: 2px solid var(--clr-gold);
  outline-offset: 2px;
}

.checkbox-text {
  display: block;
  font-size: 16px;
}

.footer {
  background: #050200;
  border-top: 1px solid rgba(193,122,0,0.2);
  padding-block: 36px;
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__logo img {
  height: 44px;
  filter: drop-shadow(0 0 8px rgba(232,168,0,0.4));
  transition: filter var(--transition);
}

.footer__logo:hover img {
  filter: drop-shadow(0 0 16px rgba(232,168,0,0.7));
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--clr-muted);
}

.footer__nav { display: flex; gap: 20px; }

.footer__link {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: color var(--transition);
}

.footer__link:hover { color: var(--clr-gold); }

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

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 7s 1s ease-in-out infinite; }

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

.animate-reveal { animation: reveal 0.9s 0.3s both ease-out; }
.animate-reveal-delay { animation: reveal 0.9s 0.6s both ease-out; }

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes rotate-shine {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes stars-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(10px, -8px, 0) scale(1.03); opacity: 1; }
  100% { transform: translate3d(-8px, 6px, 0) scale(1); opacity: 0.75; }
}

/* PHOTO PAGE */
.photo-page {
  position: relative;
  padding-top: 140px;
  padding-bottom: 100px;
  overflow: hidden;
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)), url('image/gallery-bg.jpg') center center / cover no-repeat;
  background-color: #9C4800;
}

.photo-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,180,60,0.16), transparent 35%), radial-gradient(circle at bottom right, rgba(255,180,60,0.14), transparent 35%);
  pointer-events: none;
}

.photo-hero {
  text-align: center;
  margin-bottom: 50px;
}

.photo-hero__label {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.25em;
  color: #FFE8C2;
}

.photo-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.2;
  color: #FFE8C2;
  text-transform: uppercase;
  text-shadow: 0 0 25px rgba(232,168,0,0.4);
  margin-bottom: 10px;
}

.photo-big { margin-bottom: 35px; }

.photo-big img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  border-radius: 26px;
  border: 2px solid rgba(255,232,194,0.14);
  box-shadow: 0 10px 40px rgba(0,0,0,0.55);
  cursor: pointer;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.photo-grid img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 18px;
  transition: 0.45s ease;
  border: 1px solid rgba(255,232,194,0.15);
  box-shadow: 0 8px 26px rgba(0,0,0,0.45);
  cursor: pointer;
}

.photo-grid img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 24px rgba(232,168,0,0.2);
}

.photo-video { margin-bottom: 40px; }

.photo-video video {
  width: 100%;
  border-radius: 26px;
  border: 2px solid rgba(255,232,194,0.14);
  box-shadow: 0 10px 40px rgba(0,0,0,0.55);
}

.photo-big--last { margin-bottom: 60px; }

.photo-text { text-align: center; }

.photo-text p {
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: 26px;
  line-height: 1.8;
  color: #FFE8C2;
}

/* LIGHTBOX */
.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 99999;
  padding: 24px;
}

.photo-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.photo-lightbox img {
  max-width: 96vw;
  max-height: 96vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0,0,0,0.7);
}

.photo-lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 60px;
  cursor: pointer;
  line-height: 1;
}

/* SOCIAL */
.social-title {
  margin-top: 12px;
  font-weight: 600;
  color: #ffb347;
}

.vk-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  text-decoration: none;
  color: #4c75a3;
  font-weight: 500;
}

.vk-link:hover { opacity: 0.8; }

.vk-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* MOBILE */
@media (max-width: 1024px) {
  .exhibitions__grid { gap: 20px; }
  .booking__inner { gap: 36px; }
  .hero__text { margin-left: 30px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }

  .header__inner { height: 72px; }
  .logo__img { height: 56px; }
  .logo__museum { font-size: 0.95rem; letter-spacing: 0.12em; }
  .logo__brand { font-size: 1.15rem; }

  .hero {
    min-height: 100svh;
    padding-top: 72px;
    background-position: center top;
  }

  .hero__content {
    min-height: calc(100svh - 72px);
    justify-content: center;
    align-items: center;
  }

  .hero__text {
    margin: 0;
    max-width: 92%;
    margin-top: 0;
    padding: 24px 14px;
    background: rgba(13, 6, 0, 0.35);
    border: 1px solid rgba(255, 232, 194, 0.12);
    border-radius: 18px;
    backdrop-filter: blur(4px);
  }

  .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 18px;
  }

  .hero__scroll-hint {
    bottom: 18px;
    font-size: 1.15rem;
  }

  .section { padding-block: 52px; }
  .section__label { font-size: 0.7rem; letter-spacing: 0.18em; }
  .section__title { font-size: clamp(1.5rem, 6vw, 2rem); margin-bottom: 18px; }

  .about__text {
    font-size: 1rem;
    line-height: 1.8;
    padding-inline: 4px;
  }

  .about__sparkles { gap: 16px; margin-top: 22px; }

  .exhibitions__grid,
  .tickets__grid,
  .booking__inner,
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .exhibition-card__img-wrap { height: 190px; }
  .exhibition-card__body { padding: 18px; }
  .exhibition-card__title { font-size: 0.95rem; }
  .exhibition-card__desc { font-size: 0.9rem; line-height: 1.65; }

  .ticket-card {
    padding: 26px 18px 28px;
    border-radius: 24px;
  }

  .ticket-card__type {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  .ticket-card__price { font-size: 2.5rem; }
  .ticket-card__price span { font-size: 0.9rem; }
  .ticket-card__note { font-size: 0.82rem; max-width: 100%; }

  .tickets__info {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 18px;
  }

  .booking__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 18px;
  }

  .booking__contacts {
    font-size: 1rem;
    gap: 8px;
  }

  .booking__form {
    padding: 20px 16px;
    gap: 14px;
  }

  .form-label { font-size: 0.9rem; }
  .form-input { font-size: 1rem; padding: 11px 14px; }
  .checkbox-label, .checkbox-text { font-size: 0.95rem; }

  .btn {
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    padding: 12px 18px;
  }

  .photo-page {
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .photo-hero { margin-bottom: 35px; }
  .photo-hero__label { font-size: 0.75rem; }
  .photo-hero__title { font-size: 2rem; }

  .photo-grid img {
    height: 340px;
  }

  .photo-big img {
    height: 300px;
    border-radius: 18px;
  }

  .photo-video video {
    border-radius: 18px;
  }

  .photo-text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .photo-lightbox {
    padding: 20px;
  }

  .photo-lightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 14px;
  }

  .photo-lightbox__close {
    top: 14px;
    right: 20px;
    font-size: 42px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer__copy { font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .container { padding-inline: 14px; }
  .header__inner { height: 66px; }
  .logo { gap: 8px; }
  .logo__img { height: 48px; }
  .logo__museum { font-size: 0.8rem; letter-spacing: 0.1em; }
  .logo__brand { font-size: 0.98rem; }

  .hero { background-image: url('image/main-mobile.jpeg'); background-position: center center; }
  .hero__content { align-items: flex-end; justify-content: center; min-height: calc(100svh - 66px); padding-bottom: 40px; }
  .hero__text { max-width: 100%; padding: 14px 12px; }
  .hero__title { font-size: 1.45rem; line-height: 1.15; }

  .section { padding-block: 42px; }
  .section__label { font-size: 0.62rem; }
  .section__title { font-size: 1.35rem; }
  .about__text { font-size: 0.95rem; }

  .exhibition-card__img-wrap { height: 170px; }

  .photo-page { padding-top: 95px; }
  .photo-hero__title { font-size: 1.55rem; line-height: 1.2; }

  .photo-grid img {
    height: 340px;
  }

  .photo-big img {
    height: 360px;
  }

  .photo-lightbox img {
    max-height: 75vh;
  }

  .photo-lightbox__close {
    font-size: 36px;
    right: 16px;
  }

  .ticket-card__price { font-size: 2.1rem; }
  .ticket-card__note { font-size: 0.78rem; }
  .booking__title { font-size: 1.35rem; }
  .booking__contacts, .checkbox-label, .checkbox-text, .form-input, .form-label { font-size: 0.92rem; }
  .footer { padding-block: 26px; }
  .footer__nav { gap: 10px; }
  .footer__link { font-size: 0.62rem; }
}
