* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.content {
  background: white;
  padding: 40px 0;
}

.content h1 {
  font-size: 2.5em;
  margin: 30px 0 20px;
  color: #1a1a1a;
  line-height: 1.2;
}

.content h2 {
  font-size: 1.8em;
  margin: 40px 0 20px;
  color: #2c5aa0;
  padding-bottom: 10px;
  border-bottom: 2px solid #eff3f7;
}

.content h3 {
  font-size: 1.3em;
  margin: 25px 0 15px;
  color: #495057;
}

.content p {
  margin-bottom: 15px;
  text-align: justify;
}

.content ul,
.content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.content li {
  margin-bottom: 10px;
}

.intro {
  font-size: 1.1em;
  color: #555;
  font-style: italic;
  margin: 20px 0;
}
.intro:first-of-type {
  color: #2c5aa0;
}

.highlight {
  background: #fff6d8;
  padding: 20px;
  border-left: 6px solid #fdc00a;
  margin: 25px 0;
  border-radius: 0 4px 4px 0;
}

.cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  text-align: center;
  margin-top: 40px;
  border-radius: 8px;
}

.cta h2 {
  color: white;
  border-bottom: none;
  margin-top: 0;
}

.back-to-home {
  position: sticky;
  top: 20px;
  z-index: 100;
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: #2c5aa0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.back-link:hover {
  background: #f4c542;
  color: #1e2a3e;
  transform: translateX(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

header {
  background: linear-gradient(135deg, #0b3b5f, #1b4e72);
  color: white;
  padding: 30px 0 20px;
  text-align: center;
  border-bottom: 5px solid #f4c542;
}

.badge {
  background: #f4c542;
  color: #1e2a3e;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.3rem;
  margin-bottom: 10px;
}

.header-arrow {
  display: inline-block;
  text-decoration: none;
  font-size: 1.2em;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1;
  color: inherit;
  transition:
    transform 0.5s ease,
    opacity 0.2s ease;
}

.header-arrow:hover {
  transform: translateX(5px);
  opacity: 0.75;
}

.subhead {
  font-size: 1.2rem;
  opacity: 0.9;
}

.subhead--small {
  font-size: 1.1rem;
  margin-top: 10px;
}

.video {
  padding: 20px 0;
}

.video__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.video__play {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

section {
  padding: 30px 0 20px;
  border-bottom: 1px solid #e2e8f0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0b3b5f;
  position: relative;
}

.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #f4c542;
  margin: 12px auto 0;
  border-radius: 3px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  overflow: hidden;
}

.gallery img,
.gallery video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

.gallery video:hover {
  transform: scale(1.02);
}
.gallery-info {
  text-align: center;
  margin-top: 12px;
  color: #4a627a;
}

.gallery-info-btn {
  font-weight: bold;
  text-decoration: none;
}

.gallery-info-btn.color-whatsapp {
  background: none;
  color: #25d365;
}

.gallery-info-btn.color-telegram {
  background: none;
  color: #229ed8;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.feature-card {
  background: white;
  padding: 20px 25px;
  border-radius: 30px;
  width: 170px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.price-box {
  background: linear-gradient(120deg, #ffffff, #ecf2f7);
  border-radius: 40px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.price-box__title {
  margin-bottom: 15px;
}

.price-box__rules {
  margin-top: 15px;
}

.price-box__amount {
  margin: 25px 0 10px;
}

.price-box__discount {
  font-size: 0.9rem;
  margin-top: 6px;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: #0b3b5f;
}

.price small {
  font-size: 1.2rem;
  font-weight: normal;
}

.btn {
  display: inline-block;
  background: #f0c245;
  color: #1e2a3e;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.btn--small {
  margin-top: 0;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn--full {
  width: 100%;
}

.price-booking {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 30px;
  margin-top: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.map-description {
  text-align: center;
  margin-bottom: 20px;
}

.map-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.85rem;
}

.contact-form {
  background: white;
  border-radius: 40px;
  padding: 30px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

textarea {
  border-radius: 16px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #f4c542;
  box-shadow: 0 0 0 3px rgba(244, 197, 66, 0.2);
}

.form-note {
  font-size: 0.75rem;
  text-align: center;
  margin-top: 15px;
}

.error-text {
  display: none;
  color: #e11d48;
  font-size: 0.85rem;
  margin-top: 6px;
}

.input-error {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.15);
}

.flatpickr-calendar {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: #f4c542;
  border-color: #f4c542;
  color: #1e2a3e;
}

.flatpickr-day.inRange {
  background: rgba(244, 197, 66, 0.2);
  border-color: rgba(244, 197, 66, 0.2);
}

.flatpickr-day:hover {
  background: rgba(244, 197, 66, 0.15);
}

.footer {
  background: #0f2c3b;
  color: #cddfe7;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
}

.footer__contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1b4e72;
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.footer-btn:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.color-whatsapp {
  background: #25d366;
  color: #fff;
}

.color-telegram {
  background: #229ed9;
  color: #fff;
}

.color-whatsapp:hover,
.color-telegram:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.footer__copy {
  margin-top: 15px;
  font-size: 0.8rem;
}

.spasibo {
  text-align: center;
  margin-bottom: 20px;
}

.spasibo img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
}

.spasibo-page {
  text-align: center;
  padding: 60px 20px;
}

.text-accent {
  font-size: 46px;
  color: #c9390d;
}

.success-message {
  font-size: 24px;
  font-weight: 500;
  color: #2c5aa0;
  margin-top: 20px;
}

/* Лайтбокс */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.active {
  display: flex;
}

.lightbox img,
.lightbox video {
  max-width: 90vw;
  max-height: 99vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}

.lightbox__close:hover {
  opacity: 1;
}
.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 4rem;
  cursor: pointer;
  opacity: 0.7;
  user-select: none;
  padding: 10px 20px;
  z-index: 1001;
  transition: opacity 0.2s;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
}

.lightbox__prev {
  left: 10px;
}
.lightbox__next {
  right: 10px;
}
.gallery img {
  cursor: zoom-in;
}

.faq details {
  background: #fff;
  border-radius: 12px;
  padding: 4px 16px;
  margin-bottom: 5px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.faq summary {
  font-weight: 600;
}

.faq p {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .hero-image {
    height: 250px;
  }

  .content {
    padding: 20px 0;
  }

  .content h1 {
    font-size: 1.8em;
  }

  .content h2 {
    font-size: 1.4em;
  }

  h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .price {
    font-size: 2.2rem;
  }

  .feature-card {
    width: 140px;
    padding: 16px 18px;
  }

  .contact-form {
    padding: 20px;
    border-radius: 24px;
  }

  #map {
    height: 300px;
  }
}
