/* ================= ОБЩИЕ СТИЛИ ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ================= HEADER ================= */
header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 50px;
}

nav ul.menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul.menu li a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  transition: 0.3s;
}

nav ul.menu li a:hover {
  color: #0099ff;
}

#burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 30px 15px;
}

.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 6px;
  line-height: 1.15;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Кнопка */
.hero-btn {
  display: inline-block;
  background: #cc0000;
  color: white;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  top: -6px;
  box-shadow: 0 4px 0 #990000;
  transition: .2s;
}

.hero-btn:hover {
  background: #b30000;
  transform: translateY(-2px);
}

/* ================= ПЛАШКА ================= */
.contact-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.65);
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 240px;
  top: -100%;
  z-index: 3;
  animation: contactBarIn 1s forwards .5s;
}

@keyframes contactBarIn {
  to {
    top: calc(100% - 80px);
  }
}

.contact-phones {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-phones a {
  color: #fff;
  font-size: 0.85rem;
  text-decoration: none;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 5px;
}

.contact-socials img {
  width: 30px;
  height: 30px;
}

/* ================= ОТЗЫВЫ ================= */
.reviews-section {
  padding: 60px 15px;
  background: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
}

.reviews-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 360px;
  flex: 1 1 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: .25s;
}

.review-card:hover {
  transform: translateY(-5px);
}

/* Кнопки отзывов */
.reviews-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.review-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
  box-shadow: 0 4px 0 rgba(0,0,0,0.25);
}

.review-btn.youtube {
  background: #FF0000;
  color: #fff;
}

.review-btn.youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
}

.review-btn.google {
  background: #4285F4;
  color: #fff;
}

.review-btn.google:hover {
  background: #2f6ad9;
  transform: translateY(-2px);
}

.review-btn.yandex {
  background: #FFCC00;
  color: #000;
}

.review-btn.yandex:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

/* ================= ВИДЕО ================= */
.video-section {
  padding: 60px 15px;
  text-align: center;
}

.video-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.video-item {
  flex: 1 1 320px;
  max-width: 480px;
}

.video-item iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 8px;
}

/* ================= HOVER ДЛЯ ИЗОБРАЖЕНИЙ ================= */
img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: inline-block;
  will-change: transform, box-shadow;
  border-radius: 6px;
  cursor: pointer;
}

img:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ================= FOOTER ================= */
footer {
  background: #f5f5f5;
  padding: 20px 0;
  margin-top: 60px;
  text-align: center;
}

.footer-top-line {
  height: 3px;
  background: #cc0000;
  margin-bottom: 15px;
}

/* ================= ДЕСКТОП ================= */
@media (min-width:1024px) {
  .hero-btn {
    top: -2px;
  }

  @keyframes contactBarIn {
    to {
      top: calc(100% - 95px);
    }
  }
}

/* ================= МОБИЛЬНАЯ ВЕРСИЯ ================= */
@media (max-width:768px) {
  nav ul.menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 15px;
  }

  nav ul.menu.show {
    display: flex;
  }

  #burger {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-btn {
    top: -14px;
  }

  @keyframes contactBarIn {
    to {
      top: calc(100% - 60px);
    }
  }

  .reviews-list {
    flex-direction: column;
    align-items: center;
  }

  .video-gallery {
    flex-direction: column;
    align-items: center;
  }
}