/* =========================================================
   Москва — гид по городу
   Дизайн-система: тёплый нейтральный фон, один акцент,
   спокойная типографика, мягкие тени и волосяные линии.
   ========================================================= */

:root {
  --bg: #fbfaf9;
  --surface: #ffffff;
  --ink: #1b1a19;
  --ink-soft: #3d3a37;
  --muted: #6b6863;
  --muted-2: #757169;
  --line: rgba(27, 26, 25, 0.09);
  --line-strong: rgba(27, 26, 25, 0.14);
  --accent: #b23a2f;
  --accent-hover: #963027;
  --tint: #f4f1ee;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-1: 0 1px 2px rgba(27, 26, 25, 0.04);
  --shadow-2: 0 8px 24px rgba(27, 26, 25, 0.05);
  --shadow-3: 0 16px 48px rgba(27, 26, 25, 0.08);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    "Helvetica Neue", Inter, system-ui, sans-serif;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

button,
select,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(178, 58, 47, 0.16);
}

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(178, 58, 47, 0.26);
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus {
  left: 0;
}

/* ---------------- NAV ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(251, 250, 249, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 17px;
}
.brand__mark {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex: none;
}
.nav .brand {
  color: #fff;
  transition: color 0.25s var(--ease);
}
.nav .brand__mark {
  color: #fff;
  transition: color 0.25s var(--ease);
}
.nav.is-scrolled .brand {
  color: var(--ink);
}
.nav.is-scrolled .brand__mark {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.nav__links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.nav.is-scrolled .nav__links a {
  color: var(--muted);
}
.nav.is-scrolled .nav__links a:hover {
  color: var(--ink);
  background: rgba(27, 26, 25, 0.05);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav.is-scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  min-height: min(88svh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: #2b2724;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: heroZoom 18s var(--ease) both;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(16, 14, 12, 0.78) 0%, rgba(16, 14, 12, 0.32) 42%, rgba(16, 14, 12, 0.18) 70%, rgba(16, 14, 12, 0.55) 100%);
}
.hero__content {
  width: 100%;
  padding-bottom: clamp(40px, 7vh, 80px);
  color: #fff;
}
.hero .container {
  max-width: var(--container);
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}
.eyebrow--ink {
  color: var(--accent);
}
.hero__title {
  font-size: clamp(72px, 15vw, 176px);
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-weight: 600;
  margin-left: -0.04em;
}
.hero__lead {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
    transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}
.btn:active {
  transform: scale(0.985);
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(178, 58, 47, 0.24);
}
.btn--primary:hover {
  background: var(--accent-hover);
}
.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------------- FACTS ---------------- */
.facts {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-block: 30px;
}
.fact {
  padding: 4px 28px;
  border-left: 1px solid var(--line);
}
.fact:first-child {
  border-left: 0;
  padding-left: 0;
}
.fact__value {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.fact__label {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ---------------- SECTIONS ---------------- */
.section {
  padding-block: clamp(64px, 10vw, 112px);
}
.section--tint {
  background: var(--tint);
  border-block: 1px solid var(--line);
}
.section__head {
  max-width: 660px;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section__head .h2 {
  margin-top: 4px;
}
.h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.h2--tight {
  font-size: clamp(30px, 4vw, 44px);
}
.lead {
  margin-top: 18px;
  font-size: 17.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------------- FILTERS ---------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chip {
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}
.chip:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* ---------------- CARDS ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
  will-change: transform;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-3);
  border-color: var(--line-strong);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--tint);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.045);
}
.card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card__title {
  font-size: 19.5px;
  letter-spacing: -0.02em;
}
.card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.card__meta {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}
.card__meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.6;
}
.card.is-hidden {
  display: none;
}
.cards__empty {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------------- BAND ---------------- */
.band {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background: #2b2724;
}
.band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(16, 14, 12, 0.55), rgba(16, 14, 12, 0.62));
}
.band__quote {
  color: #fff;
  text-align: center;
  max-width: 820px;
  padding-block: 56px;
}
.band__quote blockquote {
  margin: 0;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.24;
  text-wrap: balance;
}
.band__quote cite {
  display: inline-block;
  margin-top: 18px;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------------- EPOCHS ---------------- */
.epochs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.epoch {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.epoch__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--tint);
}
.epoch__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.epoch:hover .epoch__media img {
  transform: scale(1.04);
}
.epoch__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.epoch__index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.epoch__title {
  font-size: 21px;
  letter-spacing: -0.02em;
}
.epoch__body p:not(.epoch__index):not(.epoch__title) {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------------- METRO ---------------- */
.metro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.metro__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  background: #d9d2cb;
  aspect-ratio: 4 / 3;
}
.metro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.metro__body .h2 {
  margin-top: 2px;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin: 28px 0 0;
}
.stat dt {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat dd {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}
.hint {
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(178, 58, 47, 0.06);
  border: 1px solid rgba(178, 58, 47, 0.14);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------------- DISHES ---------------- */
.dishes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.dish {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.dish__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.dish__head h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}
.dish__price {
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  white-space: nowrap;
}
.dish > p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
}

/* ---------------- PLANNER ---------------- */
.planner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  align-items: start;
}
.planner__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}
.field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field__label {
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.segmented {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--tint);
  border-radius: var(--radius-md);
}
.segmented--wrap {
  flex-wrap: wrap;
}
.seg {
  flex: 1 1 auto;
  min-height: 40px;
  min-width: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}
.seg:hover {
  color: var(--ink);
}
.seg.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}
.select {
  width: 100%;
  min-height: 46px;
  padding: 10px 38px 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-strong);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6863' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-size: 16px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.select:hover {
  border-color: rgba(27, 26, 25, 0.24);
}
.planner__hint {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-2);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.planner__result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-1);
  min-height: 320px;
}
.plan__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.plan__title {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.plan__sub {
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.plan__days {
  display: flex;
  flex-direction: column;
}
.plan__day {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan__day + .plan__day {
  border-top: 1px solid var(--line);
}
.plan__day-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.plan__slot {
  display: flex;
  gap: 14px;
}
.plan__time {
  flex: none;
  width: 84px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}
.plan__place {
  min-width: 0;
}
.plan__place h4 {
  font-size: 16px;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.plan__place p {
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------------- FOOTER ---------------- */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 48px 32px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
}
.footer__brand {
  max-width: 380px;
}
.footer__brand .brand__text {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.footer__brand p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}
.footer__nav a {
  transition: color 0.16s var(--ease);
}
.footer__nav a:hover {
  color: var(--ink);
}
.footer__credits {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer__credits p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* ---------------- REVEAL ---------------- */
.reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .planner {
    grid-template-columns: 340px 1fr;
  }
  .epochs {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .fact {
    padding-inline: 18px;
  }
  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 0;
  }
  .fact:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .fact:nth-child(3),
  .fact:nth-child(4) {
    padding-top: 22px;
    border-top: 1px solid var(--line);
  }
  .metro {
    grid-template-columns: 1fr;
  }
  .planner {
    grid-template-columns: 1fr;
  }
  .planner__panel {
    position: static;
  }
  .dishes {
    grid-template-columns: 1fr;
  }
  .dish + .dish {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 72px;
  }
  .nav__toggle {
    display: block;
  }
  .nav__links {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-3);
    opacity: 0;
    transform: translateY(-6px) scale(0.99);
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  }
  .nav__links.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__links a,
  .nav.is-scrolled .nav__links a {
    color: var(--ink-soft);
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 16px;
  }
  .nav__links a:hover {
    background: var(--tint);
    color: var(--ink);
  }

  .hero__title {
    font-size: clamp(64px, 24vw, 110px);
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .epochs {
    grid-template-columns: 1fr;
  }
  .epoch {
    flex-direction: row;
  }
  .epoch__media {
    width: 42%;
    flex: none;
    aspect-ratio: 1 / 1;
  }
  .band {
    min-height: 320px;
  }
  .plan__time {
    width: 72px;
  }
  .footer__inner {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 20px;
  }
  body {
    font-size: 16px;
  }
  .hero__actions .btn {
    flex: 1 1 100%;
  }
  .facts__grid {
    padding-block: 24px;
  }
  .fact__value {
    font-size: 24px;
  }
  .epoch {
    flex-direction: column;
  }
  .epoch__media {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .planner__panel,
  .planner__result {
    padding: 20px;
  }
  .stats {
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    translate: 0 0;
  }
}

/* уточнение типографики внутри дня плана */
.plan__day .plan__title {
  font-size: 17px;
  letter-spacing: -0.015em;
  margin-top: -2px;
}
