/* Ugratur — HTML version. Без Tailwind, все стили здесь. */

:root {
  --background: #ffffff;
  --foreground: #000000;
  --brand: #484397;
  --brand-hover: #3a3580;
  --link: #ff8562;
  --muted: #57534e;
  --border: #e7e5e4;
  --font-tilda: 'TildaSans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-tilda);
  -webkit-font-smoothing: antialiased;
}

.container-old {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (max-width: 1200px) { .container-old { max-width: 960px; } }
@media (max-width: 960px)  { .container-old { max-width: 640px; padding-left: 20px; padding-right: 20px; } }
@media (max-width: 640px)  { .container-old { padding-left: 16px; padding-right: 16px; } }

.min-h-screen { min-height: 100vh; }
.hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.mt-6 { margin-top: 1.5rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, background 0.3s;
}
.header.scrolled {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
@media (min-width: 768px) { .header-inner { height: 5rem; } }
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 1.25rem;
}
.logo img {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
}
@media (min-width: 768px) { .logo img { height: 3rem; } }
.nav-desktop {
  display: none;
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .nav-desktop a {
    color: #44403c;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
  }
  .nav-desktop a:hover { color: var(--brand); }
}
.header-phone { display: flex; align-items: center; gap: 0.75rem; }
.phone-link {
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: #292524;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.phone-link:hover { color: var(--brand); }
.phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.875rem;
}
@media (min-width: 640px) { .phone-link { display: inline-flex; } }
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #d6d3d1;
  border-radius: 9999px;
  background: #fff;
  color: #292524;
  font-size: 1.25rem;
  cursor: pointer;
}
@media (min-width: 768px) { .menu-btn { display: none; } }
.mobile-menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  pointer-events: none;
}
.mobile-menu-backdrop.open {
  display: block;
  pointer-events: auto;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 16rem;
  max-width: 85vw;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  z-index: 1001;
  padding: 1.5rem 1.25rem;
  display: none;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.menu-close {
  align-self: flex-end;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #d6d3d1;
  border-radius: 9999px;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
}
.mobile-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #292524;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0;
}
.mobile-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  flex-shrink: 0;
}
.mobile-phone-icon svg {
  width: 1rem;
  height: 1rem;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu nav a {
  color: #292524;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
  background: #000;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scroll-triggered animation */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.team-card.animate-in,
.story-card.animate-in,
.city-card.animate-in,
.route-card.animate-in,
.review-card.animate-in {
  transition-delay: 0s;
}
.team-grid .team-card.animate-in:nth-child(1) { transition-delay: 0.03s; }
.team-grid .team-card.animate-in:nth-child(2) { transition-delay: 0.06s; }
.team-grid .team-card.animate-in:nth-child(3) { transition-delay: 0.09s; }
.team-grid .team-card.animate-in:nth-child(4) { transition-delay: 0.12s; }
.team-grid .team-card.animate-in:nth-child(5) { transition-delay: 0.15s; }
.team-grid .team-card.animate-in:nth-child(6) { transition-delay: 0.18s; }
.team-grid .team-card.animate-in:nth-child(7) { transition-delay: 0.21s; }
.team-grid .team-card.animate-in:nth-child(8) { transition-delay: 0.24s; }
.stories-grid .story-card.animate-in:nth-child(1) { transition-delay: 0.05s; }
.stories-grid .story-card.animate-in:nth-child(2) { transition-delay: 0.1s; }
.stories-grid .story-card.animate-in:nth-child(3) { transition-delay: 0.15s; }
.cities-grid .city-card.animate-in:nth-child(1) { transition-delay: 0.02s; }
.cities-grid .city-card.animate-in:nth-child(2) { transition-delay: 0.04s; }
.cities-grid .city-card.animate-in:nth-child(3) { transition-delay: 0.06s; }
.cities-grid .city-card.animate-in:nth-child(4) { transition-delay: 0.08s; }
.cities-grid .city-card.animate-in:nth-child(5) { transition-delay: 0.1s; }
.cities-grid .city-card.animate-in:nth-child(6) { transition-delay: 0.12s; }
.cities-grid .city-card.animate-in:nth-child(7) { transition-delay: 0.14s; }
.cities-grid .city-card.animate-in:nth-child(8) { transition-delay: 0.16s; }
.routes-grid .route-card.animate-in:nth-child(1) { transition-delay: 0.05s; }
.routes-grid .route-card.animate-in:nth-child(2) { transition-delay: 0.1s; }
.routes-grid .route-card.animate-in:nth-child(3) { transition-delay: 0.15s; }
.reviews-grid .review-card.animate-in:nth-child(1) { transition-delay: 0.03s; }
.reviews-grid .review-card.animate-in:nth-child(2) { transition-delay: 0.06s; }
.reviews-grid .review-card.animate-in:nth-child(3) { transition-delay: 0.09s; }
.reviews-grid .review-card.animate-in:nth-child(4) { transition-delay: 0.12s; }

/* Sections */
.section {
  padding: 4rem 0;
  scroll-margin-top: 5rem;
}
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1c1917;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-subtitle {
  color: #57534e;
  margin: 0 0 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.bg-stone-50 { background: #fafaf9; }
.prose { color: #57534e; font-size: 1rem; line-height: 1.625; }
.prose p { margin: 0 0 1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: #1c1917; font-weight: 600; }

/* About */
.section-about .grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .section-about .grid-2 { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.about-images {
  position: relative;
  height: 260px;
}
@media (min-width: 640px)  { .about-images { height: 320px; } }
@media (min-width: 768px)  { .about-images { height: 360px; } }
@media (min-width: 1024px) { .about-images { height: 400px; } }
.about-images .about-img {
  position: absolute;
  width: 70%;
  max-width: 28rem;
  aspect-ratio: 4/3;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-bottom { left: 0; top: 50%; transform: translateY(-50%) translateX(-10%); }
.about-img-top   { right: 0; top: 50%; transform: translateY(-65%) translateX(10%); }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.team-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.team-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.team-info strong { color: #1c1917; }
.team-info span { color: #57534e; font-size: 0.875rem; }

/* Stories */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .stories-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.story-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.story-card img { width: 100%; height: 200px; object-fit: cover; }
.story-content { padding: 1.25rem; }
.story-content h3 { margin: 0 0 0.5rem; font-size: 1.25rem; color: #1c1917; }
.story-content p { margin: 0 0 1rem; color: #57534e; font-size: 0.875rem; line-height: 1.5; }

/* Cities */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .cities-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.city-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.city-card:hover { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.city-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.city-info { padding: 1rem; text-align: center; }
.city-info p { margin: 0 0 0.75rem; font-weight: 600; color: #1c1917; }
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 50;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
  font-size: 0.875rem;
  display: none;
}
.toast.show { display: block; }

/* Routes */
.routes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .routes-grid { grid-template-columns: repeat(3, 1fr); } }
.route-card {
  border-radius: 1rem;
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s;
}
.route-card:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.route-card h3 { margin: 0 0 0.75rem; font-size: 1.25rem; color: #1c1917; }
.route-card p { margin: 0 0 0.5rem; color: #57534e; font-size: 0.9375rem; line-height: 1.5; }
.route-price { font-weight: 600; color: var(--brand) !important; margin-top: 0.5rem !important; }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.review-card img { width: 100%; height: 120px; object-fit: cover; border-radius: 0.5rem; margin-bottom: 0.75rem; }
.review-author { font-weight: 600; color: #1c1917; margin: 0 0 0.5rem; font-size: 0.875rem; }
.review-text { margin: 0 0 0.5rem; color: #57534e; font-size: 0.875rem; line-height: 1.5; }
.review-toggle {
  background: none;
  border: none;
  color: var(--brand);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
}
.review-toggle:hover { text-decoration: underline; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
}
.gallery-more { display: none; }
.gallery-more.visible {
  display: contents;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open {
  display: flex;
}
.lightbox-inner {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 201;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  z-index: 201;
  transition: background 0.2s;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.75rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  width: 100%;
}
.btn-outline:hover { background: var(--brand); color: #fff; }

/* Footer */
.footer {
  background: #1c1917;
  color: #a8a29e;
  padding: 3rem 0;
}
@media (min-width: 768px) { .footer { padding: 4rem 0; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; } }
.footer-info p { margin: 0 0 1rem; font-size: 0.875rem; line-height: 1.6; }
.footer-brand { font-size: 1.125rem; font-weight: 600; color: #fff !important; }
.footer-contacts { font-weight: 600; color: #fff !important; }
.footer-form-wrap {
  background: rgba(41,37,36,0.6);
  border-radius: 1rem;
  padding: 1.5rem;
}
@media (min-width: 768px) { .footer-form-wrap { padding: 1.75rem; } }
.footer-form-wrap h3 { margin: 0 0 0.75rem; font-size: 1.125rem; color: #fff; }
.form-hint { font-size: 0.875rem; color: #a8a29e; margin-bottom: 1rem; }
.footer-bottom {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid #292524;
  font-size: 0.75rem;
  color: #78716c;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

/* Forms */
.form-contact,
.form-order {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.form-contact label,
.form-order label { display: block; margin-bottom: 0.25rem; color: #d6d3d1; }
.form-contact input,
.form-contact textarea,
.form-order input,
.form-order textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #57534e;
  background: rgba(23,23,23,0.4);
  color: #fafaf9;
  font-family: inherit;
  font-size: 1rem;
}
.form-contact input::placeholder,
.form-contact textarea::placeholder,
.form-order input::placeholder,
.form-order textarea::placeholder { color: #78716c; }
.form-contact input:focus,
.form-contact textarea:focus,
.form-order input:focus,
.form-order textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--brand);
  border-color: var(--brand);
}
.form-contact textarea,
.form-order textarea { resize: none; min-height: 6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-error { color: #f87171; font-size: 0.75rem; margin: 0; }
.form-success { color: #4ade80; font-size: 0.75rem; margin: 0; }
.form-agree { font-size: 0.8125rem; line-height: 1.45; }
.form-agree label {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  cursor: pointer;
  color: #292524;
}
.form-agree a { color: var(--link); }
.form-agree input[type="checkbox"] {
  flex-shrink: 0;
  margin: 0.15em 0 0 0;
  width: 1rem;
  height: 1rem;
}
.form-agree .form-agree-text { flex: 1; min-width: 0; color: #292524; }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: #f5f5f4;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.modal-title { margin: 0 0 1rem; font-size: 1.25rem; color: #1c1917; }
.form-order input { color: #1c1917; background: #fff; border-color: var(--border); }
.form-order input::placeholder { color: #78716c; }
.modal-cart-preview { margin-top: 1rem; padding: 0.75rem; background: #fafaf9; border-radius: 0.5rem; font-size: 0.875rem; color: #57534e; }

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: var(--brand);
  color: #fff;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(72,67,151,0.4);
}
.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--brand-hover); }

/* Privacy page */
.header-simple .header-inner { justify-content: flex-start; }
.page-content { padding: 4rem 0; min-height: 60vh; }
.content-narrow { max-width: 48rem; margin-left: auto; margin-right: auto; }
.page-content h1 { font-size: 1.875rem; font-weight: 700; color: #1c1917; margin: 0 0 1.5rem; }
@media (min-width: 768px) { .page-content h1 { font-size: 2.25rem; } }
.page-content p { color: #57534e; line-height: 1.625; margin: 0 0 1rem; }
.page-content section { margin-top: 2rem; }
.page-content h2 { font-size: 1.25rem; font-weight: 600; color: #1c1917; margin: 0 0 0.75rem; }
.page-content ul { margin: 0 0 1rem; padding-left: 1.5rem; color: #57534e; line-height: 1.6; }
.back-link { margin-top: 2.5rem; }
.back-link a { color: var(--brand); font-weight: 500; text-decoration: none; }
.back-link a:hover { text-decoration: underline; }
