:root {
  --black: #000000;
  --yellow: #D4AF37;
  --gray: #2D2D2D;
  --light-gray: #f8f8f8;
  --red: #E53935;
  --white: #ffffff;
  --dark-bg: #121212;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Видеофон */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Полупрозрачные элементы */
.content-section {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header {
  background-color: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

footer {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.steps {
  background-color: rgba(45, 45, 45, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cta-banner {
  background: rgba(249, 249, 249, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Header */
header {
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(90deg, #444, #aaa, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  transition: background-position 0.5s ease;
}

.logo:hover {
  background-position: -100% 0;
}

.phone {
  color: var(--yellow);
  font-size: 20px;
  font-weight: 600;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  border-radius: 12px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 32px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background-color: #b89a2e;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--yellow);
  color: var(--yellow);
  background: transparent;
}

.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

/* Section styles */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--black);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
  backdrop-filter: blur(5px);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  overflow: hidden;
  border-radius: 8px;
}

.service-icon video,
.service-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.service-card h3 {
  margin: 20px 0 12px;
  color: var(--black);
}

.service-card p {
  color: var(--gray);
}

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.advantage-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.advantage-icon {
  background: var(--yellow);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--black);
  font-weight: bold;
}

/* Steps */
.steps {
  color: var(--white);
}

.steps .section-title {
  color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.step-item {
  text-align: center;
  padding: 20px;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  line-height: 40px;
  font-weight: bold;
  margin-bottom: 16px;
}

/* CTA Banner */
.cta-banner {
  color: var(--black);
  text-align: center;
  padding: 60px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.cta-form {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.form-input {
  padding: 14px 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  max-width: 250px;
  font-family: inherit;
}

.btn-cta {
  background: var(--red);
  color: var(--white);
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: inherit;
  font-size: 1rem;
}

.btn-cta:hover {
  background: #c62828;
}

.privacy-notice {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #555;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: rgba(248, 248, 248, 0.9);
  padding: 24px;
  border-radius: 12px;
  position: relative;
  backdrop-filter: blur(5px);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: #ddd;
  font-family: serif;
  line-height: 1;
}

.review-author {
  margin-top: 16px;
  font-weight: 600;
  color: var(--gray);
}

/* Footer */
footer {
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-desc {
  color: #aaa;
  margin-bottom: 20px;
}

.footer-contact p {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact a {
  color: var(--yellow);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #b89a2e;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  color: #777;
}

/* Sticky Call Button */
.fixed-call-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--yellow);
  color: var(--black);
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.fixed-call-btn:hover {
  background: #b89a2e;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-input, .btn-cta {
    max-width: 100%;
  }
  
  .fixed-call-btn {
    padding: 12px 16px;
    font-size: 16px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}
/* Hero Section - центрирование */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  border-radius: 12px;
  text-align: center; /* Добавлено центрирование */
  margin: 0 auto; /* Центрирование блока */
}

/* Hero Buttons - центрирование */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center; /* Кнопки по центру */
  flex-wrap: wrap;
}

/* Стили для фото в отзывах */
.review-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
  border: 3px solid var(--yellow);
}

/* Адаптивность для отзывов с фото */
@media (max-width: 768px) {
  .review-photo {
    width: 60px;
    height: 60px;
  }
}
