:root {
  --bg: #0b1220;
  --surface: #101a2d;
  --surface-soft: #111f35;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #f3f7ff;
  --muted: #b7c2d9;
  --accent: #6fb0ff;
  --accent-strong: #3e8cff;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(84, 148, 255, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(100, 214, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #08101e 0%, #0c1424 100%);
}

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

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

.page-shell {
  min-height: 100vh;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 14, 26, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, #90c7ff 100%);
  color: #06111f;
  box-shadow: 0 10px 24px rgba(62, 140, 255, 0.35);
}

.logo-text {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.25s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
  transition: 0.25s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image:
    linear-gradient(120deg, rgba(4, 10, 18, 0.72), rgba(5, 12, 23, 0.52)),
    url("./assets/лох.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  background:
    radial-gradient(circle at 20% 20%, rgba(120, 188, 255, 0.22), transparent 26%),
    linear-gradient(180deg, rgba(8, 16, 30, 0.2), rgba(8, 16, 30, 0.72));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 12px;
  color: #a8d2ff;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-content h1,
.section-heading h2,
.facts-main h2,
.sources-box h2 {
  margin: 0;
  line-height: 1.05;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.9rem);
  max-width: 11ch;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 62ch;
  font-size: 1.06rem;
  line-height: 1.75;
  color: #dfebff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #06111f;
  background: linear-gradient(135deg, #8ec8ff 0%, #dff0ff 100%);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card,
.info-card,
.place-card,
.fact-item,
.sources-box {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
}

.hero-card-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge,
.place-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(143, 198, 255, 0.16);
  color: #d7ebff;
  font-size: 0.85rem;
  font-weight: 700;
}

.hero-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.hero-stats {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.hero-stats div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.hero-stats span,
.section-heading p,
.timeline-content p,
.place-body p,
.fact-item p,
.sources-box p,
.sources-list li {
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.facts-main h2,
.sources-box h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.card-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: #8bc4ff;
  font-weight: 800;
  font-size: 0.95rem;
}

.info-card h3,
.timeline-content h3,
.place-body h3,
.fact-item h3,
.credits h3,
.site-footer h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-year {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(111, 176, 255, 0.22), rgba(62, 140, 255, 0.16));
  color: #dff0ff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content {
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

 .places-grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
  gap: 20px;
}


.place-card {
  width: 100%;
  max-width: none;
  margin: 0;
}

.place-image {
  height: 200px;
  overflow: hidden;
}

.place-image img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-card:hover img,
.gallery-card:hover img {
  transform: scale(1.04);
}

.place-image img,
.gallery-card img {
  transition: transform 0.45s ease;
}

.place-body {
  padding: 22px;
}

.facts-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.facts-lead {
  margin-top: 14px;
}

.facts-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fact-item {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 18px;
}

.gallery-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}



.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.72) 100%);
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  font-weight: 600;
}

.sources-box {
  padding: 30px;
  border-radius: 30px;
}

.sources-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.sources-list li + li {
  margin-top: 8px;
}

.credits {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.credit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.credit-links a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbeeff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: 0.25s ease;
}

.credit-links a:hover,
.footer-top:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-footer {
  padding: 30px 0 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}


.hero-bg {
  background-image:
    linear-gradient(120deg, rgba(4, 10, 18, 0.72), rgba(5, 12, 23, 0.52)),
    url("assets/лох.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.place-card {
  width: 100%;
  max-width: none;
  margin: 0;
}

.place-image {
  height: 180px;
  overflow: hidden;
}

.place-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-body {
  padding: 12px;
}

.place-body h3 {
  font-size: 16px;
}

.place-body p {
  font-size: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-card {
  height: 250px;
  min-height: 250px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .places-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .about-grid,
  .facts-layout,
  .facts-list {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    max-width: none;
    font-size: 56px;
  }

  .hero-card,
  .sources-box,
  .info-card,
  .fact-item,
  .place-body,
  .timeline-content {
    padding: 20px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .places-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .place-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .place-image {
    height: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-card {
    height: 220px;
    min-height: 220px;
  }
}
.hero-actions {
  display: none !important;
}
