/* Музей боевой славы им. Подольских курсантов — палитра логотипа */

:root {
  --navy: #1B2B48;
  --navy-dark: #121E34;
  --cadet-red: #C41E24;
  --cadet-red-dark: #9E181D;
  --order-gold: #C5A059;
  --order-gold-dark: #A68442;
  --parchment: #F0EDE6;
  --ink: #1A1A1A;

  --primary: var(--order-gold);
  --primary-dark: var(--order-gold-dark);
  --accent: var(--cadet-red);
  --accent-dark: var(--cadet-red-dark);
  --secondary: var(--navy);
  --dark: var(--navy-dark);
  --cream: var(--parchment);
  --white: #ffffff;
  --text: #3D4554;
  --text-muted: #6B7380;
  --border: rgba(27, 43, 72, 0.12);
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
  --max-w: 1140px;
  --shadow: 0 8px 30px rgba(27, 43, 72, 0.08);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}

h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow--light { color: var(--primary); }

.lead {
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 52ch;
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title .eyebrow { margin-bottom: 0.75rem; }

.section-title h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.text-muted { color: var(--text-muted); }

/* ── Layout ── */
.container {
  width: min(100% - 3rem, var(--max-w));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 6.5rem);
}

.section--alt {
  background: var(--white);
}

.section--dark {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.88);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--dark .eyebrow { color: var(--primary); }
.section--dark .text-muted { color: rgba(255, 255, 255, 0.65); }

/* legacy alias */
.section--light {
  background: var(--white);
  color: var(--text);
}

.section--light .eyebrow { color: var(--primary); }
.section--light .lead { color: var(--text); }
.section--light h2, .section--light h3 { color: var(--secondary); }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 1rem);
  width: min(100% - 1rem, var(--max-w));
}

.site-header .brand {
  flex: 0 1 auto;
}

.site-header .site-nav {
  flex: 1 1 auto;
  margin-inline: auto;
}

.site-header .header-cta {
  flex: 0 0 auto;
  margin-left: 0;
}

.site-header.scrolled,
body.page-home .site-header,
body:not(.page-home) .site-header {
  background: rgba(240, 237, 230, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(27, 43, 72, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.brand__logo {
  width: 46px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.18));
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand__mark {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand__title {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.15;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--secondary);
  width: 48px;
  height: 48px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.05rem;
  min-width: 0;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 1.05vw, 0.94rem);
  font-weight: 500;
  padding: 0.45rem 0.55rem;
  white-space: nowrap;
  color: var(--secondary);
  transition: color 0.25s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-cta__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
  margin-bottom: 0.1rem;
}

.header-cta__phone {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  font-weight: 700;
  white-space: nowrap;
  color: var(--secondary);
}

.header-cta__phone:hover { color: var(--primary); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
}

.btn--ghost:hover {
  background: var(--secondary);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--secondary);
}

.btn--light:hover { background: var(--cream); }

.hero .btn--ghost {
  border-color: var(--white);
  color: var(--white);
}

.hero .btn--ghost:hover {
  background: var(--white);
  color: var(--secondary);
}

/* ── Hero ── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero--plaque {
  background: transparent;
  min-height: auto;
}

.page-home .hero--plaque .hero__inner {
  width: 100%;
  max-width: none;
  padding-block: 0;
  padding-inline: 0;
}

.page-home .hero--plaque .hero__plaque {
  border-inline: none;
}

.hero__bg,
.hero__scrim {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
}

.hero__plaque {
  position: relative;
  background: var(--navy);
  box-shadow: 0 16px 40px rgba(27, 43, 72, 0.18);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  overflow: hidden;
}

.hero__plaque::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 30, 36, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero__content {
  width: min(100%, 44rem);
  padding-inline: clamp(0.5rem, 2vw, 1.5rem);
  text-align: center;
  animation: hero-enter 0.85s var(--ease) both;
  container-type: inline-size;
}

.hero__rail {
  margin-bottom: 1.25rem;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(0.46rem, 2.55vw, 1.05rem);
  font-size: clamp(0.46rem, 2.9cqi, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--order-gold);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.hero__motto {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.65vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 0.62rem 2rem;
  margin-bottom: 1.1rem;
  transform: skewX(-10deg);
  border-block: 3px solid var(--order-gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.hero__motto span {
  display: inline-block;
  transform: skewX(10deg);
}

.hero__headline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.85rem, 6vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7.5vw, 5rem);
  font-weight: 200;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hero--plaque .hero__stat-value {
  color: var(--order-gold);
}

.hero__stat-label {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34ch;
  text-align: center;
}

.hero__lead {
  font-size: 1.32rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-inline: auto;
  margin-bottom: 1.5rem;
  max-width: 44ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.hero--plaque .btn--ghost {
  border-color: var(--order-gold);
  color: var(--white);
}

.hero--plaque .btn--ghost:hover {
  background: var(--order-gold);
  color: var(--navy);
  border-color: var(--order-gold);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content { animation: none; }
}


/* legacy split hero — hide unused parts */
.hero__visual,
.hero__monument,
.hero__badge,
.hero__panel,
.hero__overlay,
.hero__pre,
.hero__title,
.hero__subtitle,
.hero__quote { display: none; }

/* ── Stats ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
  margin-top: -3rem;
  position: relative;
  z-index: 3;
  width: min(100% - 3rem, var(--max-w));
  margin-inline: auto;
}

.stat {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat__label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: stretch;
}

.about-grid__images {
  display: flex;
  align-items: stretch;
  min-height: 100%;
}

.about-grid__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 2px;
}

.about-grid__content {
  display: flex;
  flex-direction: column;
}

.about-grid__photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  margin-block: 1.75rem 2rem;
  box-shadow: var(--shadow);
}

.about-grid__content .btn {
  align-self: flex-start;
  margin-top: auto;
}

.about-grid__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: auto;
}

.about-grid__content > p + p {
  margin-top: 1rem;
}

.about-grid__content h2 {
  margin-bottom: 1rem;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-fact {
  padding: 2rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.about-fact:last-child {
  border-right: none;
}

.about-fact__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.about-fact__label {
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.about-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.about-link-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--order-gold);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.about-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(27, 43, 72, 0.12);
}

.about-link-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.about-link-card p {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-link-card span {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.about-grid__images::before { display: none; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
  margin-block: 1.75rem 2rem;
}

.feature-list li {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--secondary);
  padding-left: 1.75rem;
  position: relative;
}

.page-home .about-grid p,
.page-home .about-grid .feature-list li {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ── News ── */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
}

.news-header h2 { font-size: clamp(2rem, 4vw, 3.25rem); }

.news-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.75rem;
}

.news-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease);
}

.news-card:hover { transform: translateY(-5px); }

.news-card--featured { grid-row: span 2; }

.news-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.news-card--featured img { aspect-ratio: 4/3; }

.news-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__date {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--secondary);
}

.news-card--featured h3 { font-size: 1.65rem; }

.news-card p {
  font-size: 1.05rem;
  color: var(--text);
  flex: 1;
  line-height: 1.65;
}

.news-card__link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.25rem;
}

.news-card__link:hover { color: var(--primary-dark); }

/* ── Events ── */
.events-list { display: flex; flex-direction: column; }

.event-row {
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--border);
}

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

.event-row__day {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.event-row__month {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.event-row__tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.event-row h4 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.event-row p { font-size: 1.05rem; }

.event-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.6rem;
  display: inline-block;
}

.event-link:hover { color: var(--primary-dark); }

/* ── CTA ── */
.cta-band {
  background: var(--secondary);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 3px solid var(--order-gold);
}

.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  max-width: 22ch;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 42ch;
  margin-top: 0.5rem;
}

.cta-band__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.cta-band .btn--ghost:hover {
  background: var(--white);
  color: var(--secondary);
}

/* ── Call button reveal ── */
.btn-call {
  overflow: hidden;
  min-width: 9.5rem;
  justify-content: center;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.2s,
    box-shadow 0.35s,
    border-color 0.35s;
}

.btn-call__icon {
  flex-shrink: 0;
}

.btn-call__text {
  display: grid;
  overflow: hidden;
  line-height: 1.2;
  width: 5.6rem;
  transition: width 0.4s var(--ease);
}

.btn-call.is-revealed .btn-call__text {
  width: 12.8rem;
}

.btn-call__label,
.btn-call__number {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}

.btn-call__label {
  transform: translateY(0);
}

.btn-call__number {
  opacity: 0;
  transform: translateY(100%);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.btn-call.is-revealed {
  border-color: var(--order-gold);
  box-shadow: 0 0 0 1px rgba(197, 160, 89, 0.35), 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-call.is-revealed .btn-call__label {
  opacity: 0;
  transform: translateY(-100%);
}

.btn-call.is-revealed .btn-call__number {
  opacity: 1;
  transform: translateY(0);
}

.btn-call.is-revealed .btn-call__icon {
  animation: phone-ring 0.7s var(--ease);
}

.btn-call.is-revealed:hover {
  background: var(--order-gold);
  color: var(--navy);
  border-color: var(--order-gold);
}

@keyframes phone-ring {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-14deg); }
  40% { transform: rotate(14deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-call.is-revealed .btn-call__icon { animation: none; }
}

/* ── Section subnav ── */
.section-subnav {
  margin-top: var(--header-h);
  position: sticky;
  top: var(--header-h);
  z-index: 900;
  background: var(--white);
}

.section-subnav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem clamp(1.25rem, 3vw, 2.25rem);
  padding-block: 0.9rem;
}

.section-subnav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 0.4rem 0;
  color: var(--text-muted);
  white-space: nowrap;
  border: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.section-subnav a:hover {
  color: var(--secondary);
  border-bottom-color: rgba(197, 160, 89, 0.45);
}

.section-subnav a.active {
  color: var(--secondary);
  font-weight: 600;
  border-bottom-color: var(--order-gold);
}

/* ── Page hero ── */
.page-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background: var(--white);
  text-align: center;
  border-bottom: 1px solid var(--border);
  box-shadow: inset 0 3px 0 var(--order-gold);
}

.page-hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.page-hero .lead { margin-inline: auto; }

.section-subnav + .page-hero {
  padding-top: 3.5rem;
  box-shadow: none;
}

.page-hero::after { display: none; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); font-weight: 500; }

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  max-width: 760px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-2.5rem - 7px);
  top: 0.5rem;
  width: 14px;
  height: 14px;
  background: var(--white);
  border: 3px solid var(--primary);
  border-radius: 50%;
}

.timeline-item__date {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.timeline-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.timeline-item p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ── Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}

.card:hover { transform: translateY(-4px); }

.card__icon {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  border: 2px solid rgba(197, 160, 89, 0.4);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card h3 { margin-bottom: 0.65rem; }
.card p { font-size: 1.05rem; }

/* ── Documents ── */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.doc-item {
  padding: 2rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: transform 0.3s;
}

.doc-item:hover { transform: translateX(4px); }

.doc-item__type {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.doc-item h4 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.doc-item__meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.doc-item p { font-size: 1.05rem; }

.doc-archive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 52rem;
}

.doc-file {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.doc-file h4 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.doc-file .doc-item__meta {
  margin-bottom: 0.5rem;
}

.doc-file .btn {
  margin-top: 0.25rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .doc-archive {
    grid-template-columns: 1fr;
  }
}

/* ── Services ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.service-card__head { padding: 2rem; flex: 1; }

.service-card__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  border: 2px solid rgba(197, 160, 89, 0.45);
  display: inline-block;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 1.05rem; }

.service-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.notice {
  padding: 1.5rem 1.75rem;
  background: rgba(197, 160, 89, 0.12);
  border-left: none;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img { transform: scale(1.03); }

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(18, 30, 52, 0.9));
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--white);
}

.exposition-gallery {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section--exposition-intro {
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.exposition-showcase {
  position: relative;
  padding: clamp(1.35rem, 2.5vw, 2rem);
  background: var(--navy);
  border: 2px solid var(--order-gold);
  box-shadow:
    0 0 0 1px rgba(197, 160, 89, 0.35) inset,
    0 20px 48px rgba(27, 43, 72, 0.16);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.exposition-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 30, 36, 0.07) 0%, transparent 48%);
  pointer-events: none;
}

.exposition-showcase::after {
  content: "";
  position: absolute;
  inset: clamp(0.65rem, 1.5vw, 0.85rem);
  border: 1px solid rgba(197, 160, 89, 0.22);
  pointer-events: none;
}

.exposition-showcase__eyebrow {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--order-gold);
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.exposition-showcase__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
  min-height: clamp(22rem, 44vw, 34rem);
}

.exposition-showcase__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(197, 160, 89, 0.48);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.exposition-showcase__item--portrait {
  grid-row: 1 / -1;
}

.exposition-showcase__item img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease);
}

.exposition-showcase__item:hover img {
  transform: scale(1.05);
}

.exposition-showcase__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.25rem 1rem 0.95rem;
  background: linear-gradient(transparent, rgba(18, 30, 52, 0.94));
  font-family: var(--font-display);
  font-size: clamp(0.78rem, 1.2vw, 0.88rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--white);
}

.exposition-showcase__item::after {
  content: "+";
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
  background: rgba(18, 30, 52, 0.55);
  border: 1px solid rgba(197, 160, 89, 0.45);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.exposition-showcase__item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(18, 30, 52, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
}

.contact-info__item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-info__item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-info p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
}
.contact-info a:hover { color: var(--primary); }

.form-panel {
  background: var(--white);
  box-shadow: var(--shadow);
  padding: clamp(2rem, 4vw, 3rem);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group--full { grid-column: span 2; }

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--cream);
  border: 1px solid var(--border);
  color: var(--secondary);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  transition: border-color 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-check input { margin-top: 0.25rem; accent-color: var(--primary); }

.form-success {
  padding: 1.25rem;
  background: rgba(40, 167, 69, 0.1);
  border-left: 4px solid #28a745;
  font-size: 1.05rem;
  margin-top: 1.25rem;
  display: none;
}

.form-success.show { display: block; }

.map-wrap iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* ── Quote ── */
.quote-block {
  max-width: 44rem;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  background: var(--cream);
  border: 1px solid rgba(27, 43, 72, 0.08);
}

.quote-block::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(90deg, transparent, var(--order-gold), transparent);
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  font-style: italic;
  color: var(--secondary);
  line-height: 1.65;
}

.quote-block footer {
  font-size: 0.92rem;
  font-style: normal;
  color: var(--text-muted);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27, 43, 72, 0.08);
}

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  padding-block: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(18rem, 2.2fr) 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-grid:has(.footer-booking) {
  grid-template-columns: minmax(16rem, 2fr) 1fr 1fr minmax(12rem, 1.15fr);
}

.footer-nav,
.footer-subs,
.footer-booking {
  min-width: 0;
}

.footer-booking p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.footer-booking .btn {
  display: inline-flex;
  width: auto;
  margin-top: 0.25rem;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
}

.footer-grid h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.footer-grid p,
.footer-grid a {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  display: block;
  margin-bottom: 0.55rem;
}

.footer-contacts {
  min-width: 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--order-gold);
}

.footer-contacts h4 {
  margin-bottom: 1rem;
}

.footer-contacts p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.45rem;
  max-width: none;
}

.footer-contacts a {
  display: inline;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.footer-contacts a:hover {
  color: var(--order-gold);
}

.official-info h4 {
  font-size: 1rem;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ── Exposition halls (Экспозиция) ── */
.page-ekspozitsiya .exposition-halls .section-title {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page-ekspozitsiya .exposition-rows {
  border-top: 1px solid var(--border);
}

.page-ekspozitsiya .exposition-row {
  display: grid;
  grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  padding-block: clamp(1.75rem, 3.5vw, 2.35rem);
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.page-ekspozitsiya .exposition-row--lead {
  padding-block: clamp(2rem, 4vw, 2.75rem);
}

.page-ekspozitsiya .exposition-row--lead .eyebrow {
  margin-bottom: 0.5rem;
}

.page-ekspozitsiya .exposition-row--lead h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.page-ekspozitsiya .exposition-row h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--secondary);
}

.page-ekspozitsiya .exposition-row__text p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 52rem;
}

@media (max-width: 768px) {
  .page-ekspozitsiya .exposition-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ── Мероприятия ── */
.page-meropriyatiya .page-hero {
  padding-bottom: 2.5rem;
}

.events-spotlight {
  background: var(--navy);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}

.events-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 30, 36, 0.07) 0%, transparent 42%);
  pointer-events: none;
}

.events-spotlight__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.events-spotlight__photos {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: clamp(18rem, 38vw, 26rem);
}

.events-photo {
  margin: 0;
  overflow: hidden;
  border: 2px solid rgba(197, 160, 89, 0.55);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.events-photo--main {
  grid-row: 1 / -1;
}

.events-photo--secondary {
  grid-row: 1 / -1;
}

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

.events-spotlight__content .eyebrow--light {
  color: var(--order-gold);
  margin-bottom: 0.85rem;
}

.events-spotlight__content h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.events-spotlight__content > p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
  max-width: 36rem;
}

.feature-list--light li {
  color: rgba(255, 255, 255, 0.92);
}

.feature-list--light li::before {
  color: var(--order-gold);
}

.events-program-head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.events-program-head h2 {
  margin-bottom: 1.25rem;
}

.events-program-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.events-list--page .event-row {
  display: grid;
  grid-template-columns: minmax(0, 11rem) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.4rem clamp(1.25rem, 2.5vw, 2rem);
  padding-block: 1.85rem;
  align-items: start;
}

.events-list--page .event-row__tag {
  grid-column: 1;
  grid-row: 1 / -1;
  margin-bottom: 0;
  padding-top: 0.2rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.events-list--page .event-row h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.35rem;
  margin-bottom: 0;
  color: var(--secondary);
}

.events-list--page .event-row p {
  grid-column: 2;
  grid-row: 2;
  max-width: 52rem;
}

@media (max-width: 640px) {
  .events-list--page .event-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.35rem;
  }

  .events-list--page .event-row__tag,
  .events-list--page .event-row h3,
  .events-list--page .event-row p {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ── О музее ── */
.page-o-muzee .page-hero p,
.page-o-muzee .section p,
.page-o-muzee .about-page__copy p,
.page-o-muzee .about-page__copy .feature-list li,
.page-o-muzee .about-page__concept-intro p,
.page-o-muzee .about-page__directions li,
.page-o-muzee .about-page__methods dd {
  font-size: 1.125rem;
  line-height: 1.75;
}

.page-o-muzee #konceptiya {
  scroll-margin-top: calc(var(--header-h) + 3.25rem);
}

.page-o-muzee .about-page__logo {
  display: block;
  width: clamp(8.25rem, 18vw, 12.375rem);
  height: auto;
  margin: 0 auto 1.35rem;
}

.page-o-muzee .about-page__story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.page-o-muzee .about-page__media {
  display: grid;
  gap: 1rem;
}

.page-o-muzee .about-page__figure {
  margin: 0;
  overflow: hidden;
}

.page-o-muzee .about-page__figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-o-muzee .about-page__copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.28;
  text-wrap: balance;
  max-width: 16.5em;
}

.page-o-muzee .about-page__copy > p + p {
  margin-top: 1rem;
}

.page-o-muzee .about-page__copy .feature-list {
  margin-block: 1.75rem 2rem;
}

.page-o-muzee .about-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.page-o-muzee .about-page__concept-intro {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-o-muzee .about-page__concept-lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.page-o-muzee .about-page__concept-sections {
  display: flex;
  flex-direction: column;
  gap: clamp(2.75rem, 5vw, 3.75rem);
}

.page-o-muzee .about-page__concept-panel h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  text-wrap: balance;
}

.page-o-muzee .about-page__directions {
  column-count: 2;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-o-muzee .about-page__directions li {
  break-inside: avoid;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  color: var(--text);
  line-height: 1.6;
  border-bottom: 1px solid rgba(27, 43, 72, 0.07);
}

.page-o-muzee .about-page__directions li::before {
  content: "";
  flex: 0 0 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.55em;
  background: var(--order-gold);
  border-radius: 50%;
}

.page-o-muzee .about-page__methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 4vw, 3.5rem);
  row-gap: 0;
  margin: 0;
}

.page-o-muzee .about-page__methods > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(27, 43, 72, 0.07);
}

.page-o-muzee .about-page__methods dt {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--secondary);
  line-height: 1.35;
}

.page-o-muzee .about-page__methods dd {
  margin: 0;
  padding-bottom: 0.15rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .page-o-muzee .about-page__directions {
    column-count: 1;
  }

  .page-o-muzee .about-page__methods {
    grid-template-columns: 1fr;
  }
}

.page-o-muzee .about-page__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.page-o-muzee .about-page__link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.page-o-muzee .about-page__link:hover {
  border-color: rgba(197, 160, 89, 0.45);
  box-shadow: var(--shadow);
}

.page-o-muzee .about-page__link-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
}

.page-o-muzee .about-page__link-desc {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .page-o-muzee .about-page__story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-o-muzee .about-page__links {
    grid-template-columns: 1fr;
  }
}

/* ── Совет ветеранов ── */
.veterans-intro {
  max-width: 52rem;
}

.page-sovet-veteranov .veterans-intro p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  margin-top: 1rem;
}

.page-sovet-veteranov .veterans-intro h2 {
  margin-bottom: 0.25rem;
}

.veterans-activity {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.veterans-activity .card {
  padding: 2.25rem 2.5rem;
}

.veterans-activity .card p {
  font-size: 1.125rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .veterans-activity {
    grid-template-columns: 1fr;
  }
}

.page-sovet-veteranov .veterans-quote {
  background: var(--navy);
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  position: relative;
  overflow: hidden;
}

.page-sovet-veteranov .veterans-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(197, 160, 89, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(196, 30, 36, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.page-sovet-veteranov .veterans-quote__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}

.page-sovet-veteranov .veterans-quote__content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  width: 100%;
  max-width: 40rem;
  text-align: center;
}

.page-sovet-veteranov .veterans-quote__figure {
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.page-sovet-veteranov .veterans-quote__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 26rem;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.page-sovet-veteranov .veterans-quote__figure figcaption {
  padding: 0.85rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
}

.page-sovet-veteranov .veterans-quote__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--order-gold);
}

.page-sovet-veteranov .veterans-quote__inner {
  margin: 0;
  padding: 0;
  border: none;
}

.page-sovet-veteranov .veterans-quote__inner p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.96);
  text-wrap: balance;
}

.page-sovet-veteranov .veterans-quote__inner cite {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(197, 160, 89, 0.28);
  font-style: normal;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--order-gold);
}

/* ── Exhibit showcase (Экспозиция) ── */
.exhibit-list {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 8vw, 5.5rem);
}

.exhibit-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.exhibit-card--reverse .exhibit-card__media { order: 2; }
.exhibit-card--reverse .exhibit-card__body { order: 1; }

.exhibit-card__media {
  background: var(--white);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--order-gold);
}

.exhibit-card__media--pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.exhibit-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  line-height: 0;
}

.exhibit-zoom:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.exhibit-zoom img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 560px);
  object-fit: contain;
  margin-inline: auto;
  image-rendering: auto;
}

.exhibit-card__body h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin-bottom: 1rem;
  color: var(--secondary);
}

.exhibit-card__body p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

.exhibit-card__body p + p {
  margin-top: 1rem;
}

.exhibit-card__body .eyebrow {
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .exhibit-card,
  .exhibit-card--reverse {
    grid-template-columns: 1fr;
  }

  .exhibit-card--reverse .exhibit-card__media,
  .exhibit-card--reverse .exhibit-card__body {
    order: unset;
  }

  .exhibit-zoom img {
    max-height: 420px;
  }
}

@media (max-width: 520px) {
  .exhibit-card__media--pair {
    grid-template-columns: 1fr;
  }
}

.footer-grid a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ── Reveal (disabled) ── */
.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
  .stat:nth-child(2) { border-right: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: repeat(2, 1fr); }
  .about-fact:nth-child(2n) { border-right: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-row: span 1; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid,
  .footer-grid:has(.footer-booking) {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contacts {
    grid-column: 1 / -1;
  }

  .events-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .events-spotlight__photos {
    min-height: clamp(16rem, 50vw, 22rem);
  }

  .exposition-showcase__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  .exposition-showcase__item--portrait {
    grid-row: 1 / -1;
    min-height: clamp(18rem, 48vw, 28rem);
  }

  .exposition-showcase__item--landscape {
    min-height: clamp(10rem, 24vw, 14rem);
  }
}

@media (max-width: 768px) {
  html { font-size: 17px; }

  .site-header .container {
    justify-content: space-between;
  }

  .site-header .site-nav {
    flex: none;
    margin-inline: 0;
  }

  .brand__logo { width: 44px; }
  .brand__mark { font-size: 0.62rem; }
  .brand__title { font-size: 0.95rem; }

  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .section-subnav .container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-inline: 0.25rem;
  }

  .section-subnav .container::-webkit-scrollbar {
    display: none;
  }

  .section-subnav a {
    flex: 0 0 auto;
    font-size: 0.88rem;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s var(--ease), opacity 0.4s;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .site-nav a {
    width: 100%;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
  }

  .doc-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .news-header { flex-direction: column; align-items: flex-start; }

  .events-spotlight__photos {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .events-photo--main {
    grid-row: auto;
  }

  .exposition-showcase__grid {
    grid-template-columns: 1fr;
  }

  .exposition-showcase__item--portrait {
    grid-row: auto;
    min-height: clamp(15rem, 62vw, 22rem);
  }

  .exposition-showcase__item--landscape {
    min-height: clamp(11rem, 48vw, 15rem);
  }

  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-fact {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .about-fact:last-child {
    border-bottom: none;
  }

  .about-links {
    grid-template-columns: 1fr;
  }
}
