/* Базовые стили лендинга автокемпинг */
/* Montserrat — локальные шрифты (кириллица и латиница) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0.75rem 1rem;
  z-index: 10;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.nav-link {
  color: #166;
  text-decoration: none;
}

.nav-link:hover {
  text-decoration: underline;
}

.section {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.section h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.section-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #0d4f4f;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 1rem;
}

.section-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

/* Блок ценностей */
.section-values {
  background: #f5f9f9;
}

.section-values-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.value-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.value-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #166;
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* Оборудование */
.equipment-figure {
  margin: 0 0 1rem;
}

.equipment-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  display: block;
}

.equipment-audience {
  color: #555;
  font-size: 0.95rem;
}

/* Маршруты */
.routes-intro {
  margin-bottom: 1.5rem;
  color: #555;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.route-card {
  background: #f9fbfb;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid #e8eeee;
}

.route-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #166;
}

.route-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
}

.route-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin: -1.25rem;
  padding: 1.25rem;
  border-radius: 8px;
}

.route-card-link:hover {
  background: rgba(22, 102, 102, 0.06);
}

.route-card-link h3,
.route-card-link p {
  pointer-events: none;
}

/* Галерея */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

/* Бронирование */
.booking-form {
  max-width: 400px;
  margin-top: 1rem;
}

.booking-label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.booking-label:first-of-type {
  margin-top: 0;
}

.booking-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.booking-form .btn {
  margin-top: 1.25rem;
}

/* FAQ */
.faq {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.faq h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.faq dl {
  margin: 0;
}

.faq dt {
  font-weight: 600;
  color: #166;
  margin-top: 1rem;
}

.faq dt:first-child {
  margin-top: 0;
}

.faq dd {
  margin: 0.25rem 0 0;
  color: #555;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #166;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
}

.btn:hover {
  background: #0a4;
}

#contacts a {
  color: #166;
}

/* Страница маршрута */
.route-page .section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.route-page .route-intro {
  color: #555;
  margin-bottom: 0;
}

.route-point-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.route-point-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: #166;
}

.route-point-heading h2 {
  margin: 0;
}

.route-point-subheading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.route-point-subheading:first-of-type {
  margin-top: 1rem;
}

.route-point-subicon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #166;
}

.route-point-subheading h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #166;
}

.route-point h3 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.5rem;
  color: #166;
}

.route-point h3:first-of-type {
  margin-top: 1rem;
}

.route-point ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.route-point li {
  margin-bottom: 0.35rem;
}

.route-point a {
  color: #166;
}

.route-point a:hover {
  text-decoration: underline;
}

.route-point-side-layout {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .route-point-side-layout {
    flex-direction: column;
  }
}

.route-point-content {
  flex: 1;
  min-width: 0;
}

.route-point-figure {
  margin: 1rem 0 0;
}

.route-point-figure-side {
  flex-shrink: 0;
  width: 280px;
  margin: 0;
}

@media (max-width: 640px) {
  .route-point-figure-side {
    width: 100%;
    max-width: 320px;
    margin-top: 1rem;
  }
}

.route-point-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  display: block;
}

.route-point-figure-side .route-point-img {
  max-width: 100%;
}

.footer {
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #eee;
}
