:root{--bg:#f1f4fc;--surface:#fbfcff;--surface2:#dde1ec;--fg:#171c2e;--muted:#515665;--faint:#898d99;--accent:#5e70b0;--accent-hover:#415291;--accent-50:#d7e5ff;--font-head:'IBM Plex Serif', Georgia, 'Times New Roman', serif;--font-body:'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;--head-weight:700;--radius:2px;--container:1200px;--header-h:72px;--text-size:16px;--line-h:1.7;--gap:2rem;--sec-pad:3.25rem;--radius-sm:8px;--btn-radius:8px;--shadow:0 1px 2px rgba(0,0,0,.05)}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: var(--line-h);
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.1vw, 2.65rem); }
h2 { font-size: clamp(1.55rem, 1.3rem + 0.9vw, 1.85rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

a { color: var(--accent-hover); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.vt-obolochka {
  width: 100%;
  max-width: calc(1120px + 2 * clamp(16px, 4vw, 40px));
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.vt-propustit {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 20;
  padding: .75rem 1rem;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--fg);
}
.vt-propustit:focus { top: 1rem; }

/* ---------- кнопки ---------- */
.vt-knopka {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.35rem;
  border-radius: var(--btn-radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.vt-knopka-glav { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
.vt-knopka-glav:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.vt-knopka-ramka { background: transparent; border: 1px solid var(--fg); color: var(--fg); }
.vt-knopka-ramka:hover { background: var(--surface); color: var(--fg); }

/* ---------- шапка ---------- */
.vt-shapka {
  position: relative;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--surface2);
}
.vt-shapka-vnutri {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  min-height: var(--header-h);
}
.vt-logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  color: var(--fg);
  text-decoration: none;
}
.vt-logo:hover { color: var(--fg); }
.vt-logo-znak { color: var(--accent); flex: none; }
.vt-brand-name { font-family: var(--font-head); font-size: 1.45rem; letter-spacing: -0.01em; }

.vt-menu { display: flex; flex-wrap: wrap; gap: .1rem; margin-left: auto; }
.vt-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .7rem;
  color: var(--fg);
  font-size: .97rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.vt-menu a:hover { background: var(--surface); color: var(--accent-hover); }
.vt-nav-phone { display: none !important; }
.vt-shapka-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.vt-shapka-tel:hover { color: var(--accent-hover); }
.vt-menu-btn { display: none; }

@media (max-width: 1023px) {
  .vt-shapka-tel { display: none; }
  .vt-js .vt-menu-btn {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    min-height: 44px;
    padding: 0 1.1rem;
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--fg);
    border-radius: var(--btn-radius);
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
  }
  .vt-js .vt-menu-btn[aria-expanded="true"] { background: var(--fg); color: var(--bg); }
  .vt-menu { width: 100%; margin-left: 0; }
  .vt-js .vt-menu { display: none; }
  .vt-js .vt-menu.vt-otkryt {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: .5rem clamp(16px, 4vw, 40px) 1.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--surface2);
    box-shadow: 0 12px 24px rgba(23, 28, 46, .08);
  }
  .vt-menu a { min-height: 48px; font-size: 1.05rem; padding: 0 .25rem; border-bottom: 1px solid var(--surface2); border-radius: 0; }
  .vt-nav-phone { display: inline-flex !important; font-weight: 700; border-bottom: 0 !important; }
}

/* ---------- первый экран + калькулятор ---------- */
.vt-exhibition { display: grid; grid-template-columns: minmax(0, 1fr); }
.vt-exhibition > * { grid-column: 1 / -1; min-width: 0; }

.vt-glavnyi { padding: clamp(2.5rem, 5vw, 4.5rem) 0 2rem; }
@media (min-width: 600px) { .vt-glavnyi h1 { max-width: 19ch; } }
.vt-lid { font-size: 1.15rem; line-height: 1.65; max-width: 34rem; margin: 1.4rem 0 0; }
.vt-glavnyi-knopki { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.vt-hero-hours { margin: 1rem 0 0; color: var(--muted); font-size: .95rem; }

.vt-plinth {
  background: var(--surface);
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.vt-hall.vt-hall-calc { padding: .5rem 0 clamp(3rem, 6vw, 5rem); border-top: 0; }
.vt-calc { padding: clamp(1.25rem, 3vw, 2.25rem); }
.vt-calc h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.vt-calc-form { margin: 0; }
.vt-calc-row { display: grid; gap: .4rem; margin-bottom: 1.15rem; }
.vt-calc-label { font-size: .95rem; color: var(--muted); }
.vt-calc-input {
  width: 100%;
  min-height: 50px;
  padding: .65rem .85rem;
  font: inherit;
  font-size: 1.05rem;
  color: var(--fg);
  background: #fff;
  border: 1px solid var(--faint);
  border-radius: var(--radius-sm);
}
.vt-calc-input:focus-visible { outline: 3px solid var(--accent-50); outline-offset: 0; border-color: var(--accent); }
.vt-calc-btn { width: 100%; margin-top: .35rem; }
.vt-calc-result { margin: 1.6rem 0 1.25rem; color: var(--muted); font-size: .95rem; }
.vt-calc-out {
  display: block;
  margin: .3rem 0 0 -.35rem;
  padding: .1rem .35rem;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem);
  line-height: 1.2;
  color: var(--fg);
  border-radius: 2px;
}
.vt-calc-out.vt-is-fresh { animation: fresh .7s ease-out; }
@keyframes fresh { from { background: var(--accent-50); } to { background: transparent; } }

@media (min-width: 1024px) {
  .vt-exhibition { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); column-gap: clamp(3rem, 5vw, 5rem); }
  .vt-glavnyi { grid-column: 1; grid-row: 1; align-self: center; padding-bottom: 4rem; }
  .vt-hall.vt-hall-calc { grid-column: 2; grid-row: 1; align-self: center; padding: 2.5rem 0 3rem; }
}

/* ---------- этикетка (подпись к экспонату) ---------- */
.vt-label {
  max-width: 34rem;
  margin: 0;
  padding-top: .7rem;
  border-top: 2px solid var(--fg);
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.6;
}
.vt-label p { margin: 0 0 .25rem; }
.vt-label a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 600px) { .vt-label { font-size: .9375rem; } }

/* ---------- залы ---------- */
.vt-hall {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
  border-top: 1px solid var(--surface2);
}
.vt-hall > h2 { max-width: 24ch; }

/* ставки: таблица-экспонат и этикетка сбоку */
.vt-hall-rates { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
.vt-rates { padding: .4rem clamp(1rem, 2.5vw, 2rem); }
.vt-rates-table { width: 100%; border-collapse: collapse; }
.vt-rates-table th,
.vt-rates-table td { padding: 1.05rem 0; border-bottom: 1px solid var(--surface2); vertical-align: baseline; }
.vt-rates-table tr:last-child th,
.vt-rates-table tr:last-child td { border-bottom: 0; }
.vt-rates-table th { text-align: left; font-weight: 400; padding-right: 1.5rem; }
.vt-rate-name { display: block; }
.vt-rate-note { display: block; margin-top: .15rem; color: var(--muted); font-size: .95rem; }
.vt-rates-table td {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 1.25rem;
}
@media (min-width: 900px) {
  .vt-hall-rates { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2.5rem; }
  .vt-hall-rates > h2 { grid-column: 1 / 9; }
  .vt-hall-rates > .vt-rates { grid-column: 1 / 9; }
  .vt-rates-label { grid-column: 9 / 13; align-self: end; }
}
@media (max-width: 600px) {
  .vt-rates-table tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--surface2); }
  .vt-rates-table tr:last-child { border-bottom: 0; }
  .vt-rates-table th,
  .vt-rates-table td { display: block; padding: 0; border: 0; text-align: left; }
  .vt-rates-table td { margin-top: .4rem; white-space: normal; }
}

/* покрытие: экспонаты разной ширины */
.vt-cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 2.75rem;
}
.vt-exhibit { padding-top: 1rem; border-top: 1px solid var(--fg); }
.vt-exhibit h3 { margin-bottom: .65rem; }
.vt-exhibit p { max-width: 46ch; margin: 0; }
@media (min-width: 800px) {
  .vt-cover-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.75rem 2.5rem; }
  .vt-exhibit:nth-child(1) { grid-column: span 5; }
  .vt-exhibit:nth-child(2) { grid-column: span 7; }
  .vt-exhibit:nth-child(3) { grid-column: span 7; }
  .vt-exhibit:nth-child(4) { grid-column: span 5; }
  .vt-exhibit:nth-child(5) { grid-column: span 6; }
  .vt-exhibit:nth-child(6) { grid-column: span 6; }
}

/* правила: вступление, полоса сезона, три таблички */
.vt-prose p { max-width: 62ch; }
.vt-rules { margin-top: 1.75rem; }
.vt-rules h3 { margin: 2rem 0 .75rem; }
.vt-rules > p:first-child { max-width: 40rem; font-size: 1.1rem; }

.vt-season { margin: 2.25rem 0 1rem; display: grid; gap: 1.25rem; }
.vt-season-months {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
}
.vt-season-months li {
  position: relative;
  padding: 2.6rem 0 .55rem;
  text-align: center;
  font-size: .8125rem;
  line-height: 1;
  background: var(--surface2);
  color: var(--muted);
}
.vt-season-months .vt-is-season { background: var(--accent); color: #fff; }
.vt-season-months .vt-is-peak::before {
  content: "";
  position: absolute;
  top: .55rem;
  left: 33%;
  width: 3px;
  height: 1.5rem;
  background: #fff;
}
.vt-season .vt-label { max-width: 30rem; }

@media (min-width: 1000px) {
  .vt-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 3rem; align-items: start; }
  .vt-rules > * { grid-column: 1 / -1; }
  .vt-rules > h3:nth-of-type(1) { grid-column: 1; grid-row: 3; }
  .vt-rules > h3:nth-of-type(2) { grid-column: 2; grid-row: 3; }
  .vt-rules > h3:nth-of-type(3) { grid-column: 3; grid-row: 3; }
  .vt-rules > p:nth-of-type(2) { grid-column: 1; grid-row: 4; }
  .vt-rules > p:nth-of-type(3) { grid-column: 2; grid-row: 4; }
  .vt-rules > p:nth-of-type(4) { grid-column: 3; grid-row: 4; }
  .vt-season { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); column-gap: 2.5rem; align-items: end; margin-bottom: 1.5rem; }
}
@media (max-width: 600px) {
  .vt-season-months { gap: 2px; }
  .vt-season-months li { font-size: .75rem; padding-top: 2.1rem; letter-spacing: -0.02em; }
}

/* порядок работы: настоящая последовательность */
.vt-etapy { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.vt-step {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: .35rem 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--surface2);
}
.vt-step-n { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.1; color: var(--accent-hover); }
.vt-step h3 { grid-column: 2; }
.vt-step p { grid-column: 2; margin: 0; max-width: 58ch; }
@media (min-width: 900px) {
  .vt-step { grid-template-columns: 3rem minmax(0, 5fr) minmax(0, 7fr); column-gap: 2.5rem; }
  .vt-step h3 { grid-column: 2; }
  .vt-step p { grid-column: 3; grid-row: 1; }
}

/* вопросы */
.vt-hall-faq { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
@media (min-width: 900px) {
  .vt-hall-faq { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2.5rem; }
  .vt-faq-head { grid-column: 1 / 5; }
  .vt-faq-head h2 { position: sticky; top: 2rem; }
  .vt-faq-list { grid-column: 5 / 13; }
}
.vt-faq-item { border-top: 1px solid var(--surface2); }
.vt-faq-item:last-child { border-bottom: 1px solid var(--surface2); }
.vt-faq-item summary {
  position: relative;
  display: block;
  min-height: 44px;
  padding: 1.1rem 2.75rem 1.1rem 0;
  font-family: var(--font-head);
  font-size: 1.18rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.vt-faq-item summary::-webkit-details-marker { display: none; }
.vt-faq-item summary::after {
  content: "+";
  position: absolute;
  right: .35rem;
  top: 1rem;
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--accent-hover);
}
.vt-faq-item[open] summary::after { content: "\2212"; }
.vt-faq-item summary:hover { color: var(--accent-hover); }
.vt-faq-item p { margin: 0 0 1.4rem; max-width: 60ch; }

/* звонок */
.vt-hall.vt-hall-call { border-top: 0; padding-top: 0; padding-bottom: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 900px) {
  .vt-hall-call { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2.5rem; }
  .vt-hall-call .vt-call { grid-column: 5 / 13; }
}
.vt-call { max-width: 46rem; padding: clamp(1.5rem, 4vw, 2.75rem); }
.vt-call h2 { margin-bottom: 1rem; }
.vt-call-text { max-width: 54ch; }
.vt-call-actions { margin: 1.5rem 0 1.75rem; }

/* служебные страницы */
.vt-uzkaya { max-width: calc(46rem + 2 * clamp(16px, 4vw, 40px)); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.vt-uzkaya h1 { margin-bottom: 1.5rem; }
.vt-uzkaya .vt-prose h2 { font-size: 1.4rem; margin: 2rem 0 .75rem; }
.vt-uzkaya .vt-prose ul { padding-left: 1.2rem; }
.vt-system-actions { margin-top: 2rem; }
.vt-system .vt-prose a { display: inline-flex; align-items: center; min-height: 44px; }
.vt-hlebnye-kroshki { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.vt-hlebnye-kroshki a { display: inline-flex; align-items: center; min-height: 44px; }

/* подвал */
.vt-podval {
  margin-top: clamp(2rem, 5vw, 4rem);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--surface2);
  color: var(--muted);
  font-size: .95rem;
}
.vt-podval-setka { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.vt-footer-brand p { max-width: 44ch; margin-top: .75rem; }
.vt-footer-h { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--fg); margin: 0 0 .25rem; letter-spacing: 0; }
.vt-footer-list { list-style: none; margin: 0; padding: 0; }
.vt-podval a:not(.vt-logo) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
}
.vt-footer-hours { padding: .5rem 0; }
.vt-podval-pravo p { margin: .5rem 0 0; }
@media (min-width: 800px) {
  .vt-podval-setka { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
}
