/* Радужная тропа — MVP. Шрифты с кириллицей: PT Serif + PT Sans */
:root {
  --forest: #1a2e24;
  --forest-deep: #0f1c16;
  --moss: #2d4a3a;
  --slate: #3d4a45;
  --sand: #c4a574;
  --sand-hot: #d4b896;
  --cream: #f3efe6;
  --mist: #e8e2d6;
  --ink: #141c18;
  --muted: #5c6b63;
  --line: rgba(26, 46, 36, 0.12);
  --white: #faf8f4;
  --danger: #8b3a2a;
  --font-display: "PT Serif", "Times New Roman", Times, serif;
  --font-body: "PT Sans", "Segoe UI", Arial, sans-serif;
  --space: clamp(1rem, 3vw, 2rem);
  --max: 1120px;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--sand);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 2 * var(--space), var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.25rem 0;
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(15, 28, 22, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.1;
}

.logo:hover {
  color: var(--white);
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
}

.logo-text strong {
  font-weight: 700;
  color: var(--white);
}

.logo-text span {
  font-weight: 700;
  color: var(--sand);
  letter-spacing: 0.14em;
  font-size: 0.92em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(250, 248, 244, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--sand-hot);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 28, 22, 0.35) 0%, rgba(15, 28, 22, 0.2) 40%, rgba(15, 28, 22, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 28, 22, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(3rem, 8vh, 5.5rem);
  max-width: 38rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 0.85em;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.15s;
}

.hero-brand .logo-mark {
  width: clamp(52px, 8vw, 72px);
  height: clamp(52px, 8vw, 72px);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-brand .logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.2vw, 2.75rem);
  letter-spacing: 0.04em;
}

.hero-brand .logo-text span {
  letter-spacing: 0.12em;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 400;
  margin: 0 0 0.75em;
  max-width: 18ch;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.35s;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(250, 248, 244, 0.88);
  margin: 0 0 1.6em;
  max-width: 34ch;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.5s;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  opacity: 0;
  animation: rise 0.9s ease forwards 0.65s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
}

.btn-primary {
  background: var(--sand);
  color: var(--forest-deep);
  border-color: var(--sand);
}

.btn-primary:hover {
  background: var(--sand-hot);
  color: var(--forest-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(250, 248, 244, 0.45);
}

.btn-ghost:hover {
  border-color: var(--sand);
  color: var(--sand-hot);
}

.btn-dark {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}

.btn-dark:hover {
  background: var(--moss);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--white);
}

/* ——— Sections ——— */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-dark {
  background: var(--forest-deep);
  color: var(--white);
}

.section-mist {
  background: var(--mist);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
}

.section-dark .eyebrow {
  color: var(--sand-hot);
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-dark .lead {
  color: rgba(250, 248, 244, 0.72);
}

/* Scenarios — not cards in hero; open list with image rail */
.scenarios {
  display: grid;
  gap: 0;
}

.scenario {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  min-height: 280px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scenario.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scenario:nth-child(even) .scenario-visual {
  order: 2;
}

.scenario-visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}

.scenario-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.scenario:hover .scenario-visual img {
  transform: scale(1.05);
}

.scenario-body {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.scenario-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.scenario h3 {
  font-size: 1.65rem;
  margin-bottom: 0.4em;
}

.scenario .price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest);
  margin: 0.75em 0 1em;
}

/* Difficulty levels */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.diff-item {
  padding: 1.35rem 1.25rem;
  border-top: 3px solid var(--sand);
  background: var(--white);
}

.diff-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35em;
}

.diff-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.diff-item .lvl {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 0.5rem;
}

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

/* Day steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  position: relative;
  padding-top: 2.5rem;
}

.steps li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--sand);
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35em;
}

.steps p {
  font-size: 0.95rem;
  color: rgba(250, 248, 244, 0.7);
  margin: 0;
}

/* Fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.fleet-photo {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.fleet-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.fleet-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.fleet-list li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.fleet-list strong {
  font-family: var(--font-display);
}

.fleet-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Trust strip */
.trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.trust article h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35em;
}

.trust p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Map / how to get */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.map-embed {
  background: var(--moss);
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--cream);
  text-align: center;
  padding: 2rem;
}

.map-embed a {
  color: var(--sand-hot);
}

.map-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.map-frame {
  position: relative;
  width: 100%;
  min-height: 320px;
  background: var(--moss);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Page hero (inner) with photo */
.page-hero {
  position: relative;
  background: var(--forest-deep);
  color: var(--white);
  padding: 7rem 0 3.5rem;
  overflow: hidden;
}

.page-hero.has-photo {
  min-height: 280px;
  display: flex;
  align-items: flex-end;
}

.page-hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 28, 22, 0.55) 0%, rgba(15, 28, 22, 0.88) 100%),
    var(--page-hero-img) center / cover no-repeat;
  z-index: 0;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 16ch;
}

.page-hero p {
  color: rgba(250, 248, 244, 0.75);
  max-width: 40ch;
  font-size: 1.1rem;
}

.page-hero .eyebrow {
  color: var(--sand-hot);
}

/* Photo gallery strip */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.gallery-strip figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--moss);
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-strip figure:hover img {
  transform: scale(1.05);
}

.gallery-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.service-visual {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--moss);
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-banner {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
}

.photo-banner img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.photo-banner figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem var(--space);
  background: linear-gradient(transparent, rgba(15, 28, 22, 0.85));
  color: var(--white);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .map-frame iframe {
    height: 280px;
  }

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

/* Tables */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.price-table .num {
  font-family: var(--font-display);
  white-space: nowrap;
}

.include-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.include-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}

.include-grid li {
  margin-bottom: 0.45rem;
}

.include-grid .out li::marker {
  color: var(--danger);
}

/* Service cards on uslugi.html */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.card .service-visual {
  margin: 0 0 0.25rem;
  border-radius: 0;
  aspect-ratio: 16 / 10;
}

.card h2 {
  font-size: 1.35rem;
  margin: 0;
  padding: 0 1.15rem;
}

.card .price,
.card p,
.card .btn {
  margin-left: 1.15rem;
  margin-right: 1.15rem;
}

.card .btn {
  align-self: flex-start;
}

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

/* Safety */
.rules {
  display: grid;
  gap: 1rem;
}

.rule {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
}

.rule strong {
  font-family: var(--font-display);
  color: var(--forest);
}

/* Form */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--sand);
  outline-offset: 1px;
}

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

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1.25rem;
  background: var(--mist);
  border-left: 3px solid var(--sand);
}

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

.calc {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--mist);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.cta-band h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 0.5em;
}

.cta-band .hero-cta {
  justify-content: center;
  opacity: 1;
  animation: none;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(250, 248, 244, 0.7);
  padding: 2.5rem 0 2rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer .logo {
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--sand-hot);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  font-size: 0.85rem;
}

.placeholder-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .scenario,
  .scenario:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .scenario:nth-child(even) .scenario-visual {
    order: 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .trust,
  .fleet-grid,
  .two-col,
  .include-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rule {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: var(--space);
    left: var(--space);
    flex-direction: column;
    background: var(--forest-deep);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.is-open {
    display: flex;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: center;
  }

  .hero-content {
    padding-top: 6rem;
  }
}

/* tour gallery + video-strip 2026-07-27 */
.gallery-strip {
  grid-template-columns: repeat(4, 1fr);
}
@media (min-width: 900px) {
  .gallery-strip.is-dense {
    grid-template-columns: repeat(4, 1fr);
  }
}
.video-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.video-strip figure {
  margin: 0;
  background: #0f1c16;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video-strip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
@media (max-width: 720px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}
/* end tour gallery + video-strip */
