.wrap { max-width: 1280px; margin: 0 auto; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 20, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 193, 7, 0.15);
  transition: padding 0.25s ease;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px var(--section-padding-x);
  overflow-x: auto;
}
.site-header.scrolled .header__inner { padding-top: 6px; padding-bottom: 6px; }

.header__brand { display: flex; align-items: center; gap: 10px; flex: none; }
.header__logo { width: 56px; height: 56px; border-radius: 50%; background: #fff; flex: none; transition: width 0.25s ease, height 0.25s ease; }
.site-header.scrolled .header__logo { width: 44px; height: 44px; }
.header__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.header__brand-name { font: 800 19px var(--font-heading); color: var(--color-text-light); letter-spacing: 0.5px; white-space: nowrap; }
.header__brand-tagline { font: 600 10px var(--font-body); color: var(--color-accent-orange); letter-spacing: 0.5px; white-space: nowrap; }

.header__nav { display: flex; gap: 18px; flex-wrap: nowrap; font: 600 13px var(--font-body); white-space: nowrap; }
.header__nav a { color: #E5E5E0; }
.header__nav a:hover { color: var(--color-accent-yellow); }

.header__actions { display: flex; align-items: center; gap: 16px; flex: none; }

.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; padding: 0; flex: none; }
.burger span { display: block; width: 100%; height: 2px; background: var(--color-text-light); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(320px, 82vw);
  background: var(--color-bg-dark-alt);
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 90px 28px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.35);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a { color: var(--color-text-light); font: 600 16px var(--font-body); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a:hover { color: var(--color-accent-yellow); }
.mobile-menu .btn { margin-top: 20px; }

.menu-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 140;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.menu-backdrop.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 760px) {
  .header__nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 480px) {
  .header__actions .btn { display: none; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--section-padding-x);
  background: var(--color-bg-dark);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 60% 60%;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30,18,8,0.92) 10%, rgba(30,18,8,0.7) 45%, rgba(255,140,0,0.18) 100%);
  pointer-events: none;
}
.hero__glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 20%, rgba(255,193,7,0.22), transparent 55%);
  pointer-events: none;
}
.hero__stripe {
  position: absolute; left: -8%; bottom: 0;
  width: 65%; height: 90px;
  background: var(--gradient-accent-flat);
  transform: skewY(-4deg);
  pointer-events: none;
}
.hero__stripe--tread {
  background: repeating-linear-gradient(55deg, transparent, transparent 10px, rgba(0,0,0,0.55) 10px, rgba(0,0,0,0.55) 16px);
}
.hero__content { position: relative; max-width: 820px; margin-bottom: 6vh; }
.hero__title {
  font: 800 clamp(38px,6vw,74px)/1.06 var(--font-heading);
  color: #fff;
  margin: 0;
  text-shadow: 0 6px 30px rgba(0,0,0,0.5);
}
.hero__title-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle { font: 500 clamp(16px,2vw,21px)/1.55 var(--font-body); color: #DAD8D2; max-width: 560px; margin: 22px 0 34px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 140px; }

.hero__meta {
  position: absolute;
  top: 24px; right: var(--section-padding-x);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  z-index: 2;
}
.hero__phone { color: var(--color-text-light); font: 700 18px var(--font-body); white-space: nowrap; }
.hero__phone:hover { color: var(--color-accent-yellow); }
.hero__socials { display: flex; gap: 10px; }

@media (max-width: 720px) {
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
  .hero__meta { position: relative; top: auto; right: auto; order: -1; margin-top: 0; margin-bottom: 28px; }
  .hero__ctas { margin-bottom: 40px; }
}

/* ── Section scaffolding ── */
.section { padding: var(--section-padding-y) var(--section-padding-x); }
.section--alt { background: var(--color-bg-cream-alt); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head--tight { margin-bottom: 44px; }

.section h2, #about h2, #contacts h2 {
  font: 800 clamp(28px, 3.5vw, 42px)/1.2 var(--font-heading);
  color: var(--color-text-dark);
}
#about h2 { margin-bottom: 20px; }
#contacts h2 { margin-bottom: 24px; }
.cta-block h2 { font: 800 clamp(28px, 4vw, 46px)/1.2 var(--font-heading); color: var(--color-text-dark); margin: 0; }

/* About */
#about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.about__lead { font: 400 16px/1.7 var(--font-body); color: var(--color-text-muted); margin-top: 20px; max-width: 520px; }
.about__info-list { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.about__info-item { display: flex; align-items: center; gap: 14px; font: 500 15px/1.5 var(--font-body); color: #3A322A; }
.about__info-icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
}
.about__photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; }

/* Included */
#included { text-align: center; }
.included__grid { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 48px; }
.included__item { max-width: 260px; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Routes */
.routes__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }

/* Gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.gallery__item { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.gallery__item--video { position: relative; overflow: hidden; padding: 0; border: none; }
.gallery__item--video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(20,14,6,0.55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.7);
  pointer-events: none;
}
.gallery__play svg { margin-left: 3px; }
#galleryMoreBtn { display: none; }

@media (max-width: 640px) {
  .gallery__grid:not(.is-expanded) .gallery__item:nth-child(n+4) { display: none; }
  #galleryMoreBtn { display: flex; margin: 24px auto 0; }
}
.gallery__placeholder {
  width: 100%; aspect-ratio: 4/3; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #2a2118 0px, #2a2118 16px, #211a11 16px, #211a11 32px);
  color: rgba(255,255,255,0.35); font: 11px ui-monospace, monospace; text-align: center; padding: 12px;
}

/* Reviews */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.reviews__cta { display: flex; justify-content: center; margin-top: 32px; }

/* Advantages */
.advantages__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; }

/* CTA block */
.cta-block {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--gradient-accent);
  padding: 100px var(--section-padding-x);
}
.cta-block__stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(0,0,0,0.06) 18px, rgba(0,0,0,0.06) 20px);
  pointer-events: none;
}
.cta-block__inner { position: relative; }
.cta-block__inner p { font: 400 17px/1.6 var(--font-body); color: #3A2A12; margin: 18px 0 32px; }

/* FAQ */
#faq { max-width: 820px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }

/* Contacts */
#contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; }
.contacts__info-list { display: flex; flex-direction: column; gap: 18px; margin: 24px 0 26px; }
.contacts__info-item { display: flex; align-items: center; gap: 14px; font: 500 15px/1.5 var(--font-body); color: #3A322A; }
.contacts__info-item a { color: inherit; text-decoration: none; }
.contacts__info-item a:hover { color: var(--color-accent-orange); }
.contacts__info-icon {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
}
.contacts__messengers { display: flex; gap: 10px; }
.contacts__map { width: 100%; aspect-ratio: 4/3; border: 1px solid rgba(255,193,7,0.2); border-radius: 16px; }

/* Footer */
.site-footer { padding: 56px var(--section-padding-x) 32px; background: var(--color-bg-dark-alt); border-top: 1px solid rgba(255,193,7,0.12); }
.footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__logo { width: 72px; height: 72px; border-radius: 50%; background: #fff; flex: none; }
.footer__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.footer__brand-name { font: 800 17px var(--font-heading); color: var(--color-text-light); }
.footer__brand-tagline { font: 600 10px var(--font-body); color: var(--color-accent-orange); letter-spacing: 0.5px; }
.footer__nav { display: flex; gap: 20px; flex-wrap: wrap; font: 500 14px var(--font-body); }
.footer__nav a { color: #B8B6B0; }
.footer__nav a:hover { color: var(--color-accent-yellow); }
.footer__socials { display: flex; gap: 10px; }
.footer__bottom { text-align: center; font: 400 13px var(--font-body); color: #75736D; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); }

@media (max-width: 640px) {
  :root { --section-padding-y: 64px; }
  .footer__top { flex-direction: column; }
}
