:root {
  color-scheme: light;
  --page: #f6f5ed;
  --card: #fffef9;
  --field: #f8f8f3;
  --ink: #202b22;
  --muted: #536152;
  --line: #dce2d4;
  --soft: #e8eee0;
  --accent: #26583c;
  --accent-hover: #1b452e;
  --on-accent: #fffefa;
  --hero-photo: url("minibus-golden-siberia.webp");
  --heading-font: Rubik, Inter, system-ui, sans-serif;
  --body-font: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.5 var(--body-font);
}

a { color: inherit; text-underline-offset: 0.22em; }
h1, h2, h3, p, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; }
section[id] { scroll-margin-top: 18px; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap { width: min(1200px, calc(100% - 56px)); margin-inline: auto; }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font: 650 18px/1.2 var(--heading-font);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
}

.brand-mark span {
  position: relative;
  width: 20px;
  height: 2px;
  transform: rotate(-31deg);
  background: var(--on-accent);
}

.brand-mark span::before,
.brand-mark span::after {
  position: absolute;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--on-accent);
  content: "";
}
.brand-mark span::before { left: -1px; }
.brand-mark span::after { right: -1px; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.site-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--soft); }
.site-nav a:hover { color: var(--accent); background: var(--soft); }
.site-nav .header-cta {
  margin-inline-start: 8px;
  gap: 7px;
  background: var(--accent);
  color: var(--on-accent);
}
.site-nav .header-cta:hover { background: var(--accent-hover); color: var(--on-accent); }
.section-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 9px;
}
.section-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.section-nav a:hover { color: var(--accent); text-decoration: underline; }

.hero {
  display: flex;
  align-items: center;
  min-height: 458px;
  padding: 38px clamp(26px, 5.2vw, 67px) 68px;
  border-radius: 24px;
  color: #fffdf2;
  background-color: #203223;
  background-image:
    linear-gradient(90deg, #101e15f7 0%, #101e15eb 22%, #101e15bd 42%, #101e157a 54%, #101e1518 74%, #101e1504 100%),
    var(--hero-photo);
  background-size: cover;
  background-position: center, 52% 56%;
}
.hero-copy { max-width: 590px; }
.hero h1, .hero .eyebrow, .hero .hero-lead, .hero-detail {
  text-shadow: 0 2px 12px #0c1b0fcc;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: #f4f2e3;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.015em;
}
.eyebrow::before {
  width: 17px;
  height: 2px;
  flex: none;
  background: #d7eb99;
  content: "";
}

.hero h1 {
  font: 650 clamp(35px, 5.8vw, 74px)/0.99 var(--heading-font);
  letter-spacing: -0.055em;
}
.hero-charter h1 { font-size: clamp(34px, 5.6vw, 69px); }
.hero-arrow { color: #d7eb99; }

.hero-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 17px;
  margin-top: 19px;
  color: #f3f1e6;
  font-size: 14px;
  line-height: 1.4;
}
.hero-detail strong {
  color: #dfefaa;
  font: 650 clamp(25px, 3.3vw, 40px)/1.1 var(--heading-font);
  white-space: nowrap;
}
.hero .hero-lead {
  max-width: 41ch;
  margin-top: 13px;
  color: #f4f2e3;
  font-size: clamp(15px, 1.55vw, 18px);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 19px;
  margin-top: 21px;
}
.hero-link { color: #f4f2e3; font-size: 14px; font-weight: 650; }
.hero-link:hover { color: #dfefaa; }

.booking {
  position: relative;
  margin: -34px 22px 0;
  padding: 20px 23px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: 0 10px 27px #24332815;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 7px 16px;
  margin-bottom: 15px;
}
.section-head h2,
.bottom-cta h2 {
  font: 650 clamp(24px, 3.1vw, 39px)/1.13 var(--heading-font);
  letter-spacing: -0.025em;
}
.booking-head h2 { font-size: clamp(21px, 2.2vw, 29px); }
.section-head p { color: var(--muted); font-size: 13px; }
.section-intro { margin: -5px 0 16px; color: var(--muted); }

.form-fields {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.7fr);
  align-items: end;
  gap: 12px;
}
.form-fields > .primary-button { grid-column: span 2; }
.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 650;
}
.field select,
.field input,
.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--field);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field-notes { margin-top: 12px; }
.field textarea { min-height: 60px; resize: vertical; }

.primary-button {
  display: inline-flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.primary-button:not(:disabled):hover { background: var(--accent-hover); }
.primary-button:disabled { opacity: 0.58; cursor: default; }
.primary-button span { font-size: 17px; line-height: 1; }
.hero .primary-button, .bottom-cta .primary-button { background: #dfefaa; color: #1d3525; }
.hero .primary-button:hover, .bottom-cta .primary-button:hover { background: #eef7cc; }
.hero :focus-visible, .bottom-cta :focus-visible { outline-color: #dfefaa; }

.demo-note { margin-top: 9px; color: var(--muted); font-size: 12px; }
.form-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px 14px;
  margin-top: 11px;
}
.form-meta .demo-note { margin-top: 0; }
.form-total { color: var(--muted); font-size: 13px; }
.form-total output {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.form-status {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--accent);
  background: var(--soft);
  font-size: 14px;
  font-weight: 600;
}
.booking-conditions {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.lower-scenery {
  display: grid;
  isolation: isolate;
  --scenery-overlay: linear-gradient(90deg, #faf3e64d, #faf3e6c7 21%, #faf3e6d6 50%, #faf3e6c7 79%, #faf3e64d);
}

.lower-scenery::before,
.lower-scenery > .wrap { grid-area: 1 / 1; }

.lower-scenery::before {
  content: "";
  position: sticky;
  top: 0;
  align-self: start;
  z-index: -1;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  background-image:
    linear-gradient(180deg, var(--page), #f6f5ed00 110px, #f6f5ed00 calc(100% - 52px), var(--page)),
    var(--scenery-overlay),
    url("siberian-autumn-photo.webp");
  background-position: center, center, center 30%;
  background-repeat: no-repeat;
  background-size: cover;
}

.lower-scenery > .wrap { display: flow-root; min-width: 0; }

.details { margin: clamp(32px, 5.2vw, 66px) 22px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature-card {
  padding: clamp(17px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
}
.feature-card h3:not(.feature-value), .trust-item h3 { font: 650 18px/1.22 var(--heading-font); }
.feature-value {
  color: var(--accent);
  font: 650 clamp(22px, 3vw, 34px)/1.1 var(--heading-font);
  letter-spacing: -0.035em;
}
.feature-card .feature-value { margin-bottom: 9px; }
.feature-card p:not(.feature-value), .trust-item p, .transport-copy p:not(.feature-value) {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.route-card, .steps li {
  padding: 18px 19px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
}
.route-card[aria-current="true"] { border-color: #93ad8b; background: #edf1e5; }
.route-card h3 { font: 650 18px/1.25 var(--heading-font); }
.stops { position: relative; display: grid; gap: 9px; margin-top: 13px; padding-left: 20px; }
.stops::before {
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 31px;
  border-left: 1px dashed #768a72;
  content: "";
}
.stops div { position: relative; }
.stops div::before {
  position: absolute;
  top: 5px;
  left: -20px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--card);
  content: "";
}
.stops dt { color: var(--muted); font-size: 12px; }
.stops dd { overflow-wrap: anywhere; font-size: 15px; font-weight: 650; }
.inline-action {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}
.inline-action:hover { color: var(--accent-hover); }

.transport-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.transport-photo { position: relative; min-width: 0; margin: 0; }
.transport-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  max-height: 342px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.transport-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #142419df;
  color: #fffdf2;
  font-size: 12px;
}
.transport-copy { align-self: center; padding: clamp(20px, 4vw, 43px); }
.transport-copy .feature-value { margin-bottom: 8px; }
.transport-copy h3 { font: 650 clamp(20px, 2.5vw, 29px)/1.15 var(--heading-font); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.steps strong { display: block; font: 650 18px/1.25 var(--heading-font); }
.steps p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.steps li { border-top: 3px solid #a8ba92; }

.trust-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(18px, 2.8vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.trust-item + .trust-item { padding-left: 22px; border-left: 1px solid #c8d4bd; }

.faq {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  min-height: 51px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  flex: none;
  min-width: 22px;
  color: var(--accent);
  content: "+";
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover, .faq details[open] summary { background: var(--field); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details p { padding: 10px 18px 16px; color: var(--muted); font-size: 15px; }

.service-link {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: center;
  margin: 18px 0 23px;
  font-size: 14px;
}
.service-link p { color: var(--muted); }
.service-link a { color: var(--accent); font-weight: 700; }
.service-link a:hover { color: var(--accent-hover); }

.bottom-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 17px 24px;
  margin: clamp(32px, 5.2vw, 66px) 22px 33px;
  padding: clamp(19px, 3.8vw, 40px);
  border-radius: 18px;
  background: #234731;
  color: #fffdf2;
}
.bottom-cta p { margin-top: 7px; color: #ecf0e1; font-size: 15px; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px 16px;
  padding: 16px 22px 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-brand { font-weight: 700; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 7px 16px; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.photo-credit { flex-basis: 100%; font-size: 12px; }

/* --- v2: контакты, согласие, реквизиты --- */
.site-nav .header-phone {
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 750;
  white-space: nowrap;
  text-decoration: none;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--accent); }
.booking-form > .consent { margin-top: 12px; }
.form-status[data-kind="error"] { color: #8a2b1d; background: #f7e4df; }
.direct-contacts {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.direct-contacts a { color: var(--accent); font-weight: 650; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 7px 16px; flex-basis: 100%; font-weight: 650; }
.footer-contacts a { color: var(--accent); }
.requisites { flex-basis: 100%; font-size: 12px; }
.contact-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 20;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: #fffef9f2;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.contact-bar a {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}
.contact-bar .contact-call { background: var(--accent); color: var(--on-accent); }
.prose { max-width: 760px; margin: 24px auto 56px; padding: 0 22px; }
.prose h1 { font: 650 clamp(26px, 4vw, 38px)/1.15 var(--heading-font); margin-bottom: 18px; }
.prose h2 { font: 650 20px/1.25 var(--heading-font); margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink); margin: 0 0 10px; }


/* --- v3: многостраничник --- */
.brand-logo { display: block; flex: none; width: 42px; height: 42px; }
.brand-word { font: 700 21px/1 var(--heading-font); letter-spacing: -0.3px; }
.brand-sib { color: var(--accent); }
.section-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 10px; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; }
.breadcrumbs a { color: var(--muted); }
.text-block {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  max-width: 860px;
}
.text-block p, .text-block li { color: var(--ink); font-size: 16px; line-height: 1.6; }
.text-block p + p, .text-block p + ul, .text-block ul + p { margin-top: 12px; }
.text-block h3 { font: 650 19px/1.25 var(--heading-font); margin: 22px 0 8px; }
.text-block h3:first-child { margin-top: 0; }
.text-block ul { margin: 8px 0 0; padding-left: 20px; }
.route-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.route-link {
  display: block;
  padding: clamp(17px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
}
.route-link:hover { border-color: #93ad8b; background: #edf1e5; }
.route-link strong { display: block; font: 650 20px/1.2 var(--heading-font); }
.route-link span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.route-link em { display: inline-block; margin-top: 12px; color: var(--accent); font-style: normal; font-weight: 750; }
.schedule {
  width: 100%;
  max-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: var(--card);
  font-size: 15px;
}
.schedule th, .schedule td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.schedule tr:last-child td { border-bottom: 0; }
.schedule th { background: var(--soft); font-size: 13px; color: var(--muted); }
.schedule td:last-child { font-weight: 750; white-space: nowrap; }
.tag-soon { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #f3ead2; color: #7a5a12; font-size: 11px; font-weight: 750; }

@media (max-width: 1160px) {
  .form-fields { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); }
  .form-fields > .primary-button { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
  .wrap { width: calc(100% - 24px); }
  .site-header { flex-wrap: wrap; gap: 9px; padding: 12px 2px 10px; }
  .brand-mark, .brand-logo { width: 36px; height: 36px; }
  .site-nav { width: 100%; }
  .site-nav a { flex: 1 1 0; min-width: 0; padding: 8px 7px; font-size: 12px; text-align: center; }
  .site-nav .header-cta { display: none; }
  .section-nav { gap: 0 15px; margin-bottom: 5px; }
  .section-nav a { min-height: 44px; font-size: 12px; }
  .hero {
    align-items: end;
    min-height: 407px;
    padding: 24px 18px 40px;
    border-radius: 16px;
    background-image:
      linear-gradient(0deg, #101e15fa 0%, #101e15ef 32%, #101e15b8 64%, #101e1566 78%, #101e1506 100%),
      var(--hero-photo);
    background-position: center, 63% 45%;
  }
  .hero h1, .hero-charter h1 { font-size: clamp(32px, 8.3vw, 49px); }
  .eyebrow { font-size: 12px; margin-bottom: 11px; }
  .hero-detail { margin-top: 15px; font-size: 12px; }
  .hero-actions { margin-top: 15px; gap: 9px 14px; }
  .hero-link { font-size: 13px; }
  .booking { margin: -18px 5px 0; padding: 14px; border-radius: 13px; }
  .section-head { margin-bottom: 12px; }
  .form-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .form-fields > .field-direction,
  .form-fields > .field-phone,
  .form-fields > .primary-button { grid-column: 1 / -1; }
  .site-header .header-phone { display: none; }
  .contact-bar { display: grid; }
  body { padding-bottom: 64px; }
  .lower-scenery {
    --scenery-overlay: linear-gradient(90deg, #faf3e682, #faf3e6d1 26%, #faf3e6d1 74%, #faf3e682);
  }
  .details { margin: 32px 5px 0; }
  .route-grid, .feature-grid, .transport-panel, .trust-panel, .steps, .route-links { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .section-nav { flex-wrap: nowrap; overflow-x: auto; gap: 0 16px; scrollbar-width: none; }
  .section-nav a { white-space: nowrap; }
  .schedule th, .schedule td { padding: 10px 10px; font-size: 14px; }
  .route-card, .steps li { padding: 14px; }
  .transport-panel { gap: 0; }
  .transport-photo img { min-height: 0; }
  .trust-item + .trust-item { padding: 14px 0 0; border: 0; border-top: 1px solid #c8d4bd; }
  .bottom-cta { margin: 32px 5px 22px; }
  .site-footer { padding: 13px 5px 18px; }
}

@media (max-width: 360px) {
  .form-fields { grid-template-columns: minmax(0, 1fr); }
}

