:root {
  --yellow: #ffd700;
  --dark: #111111;
  --light: #f9f9f9;
  --nav-bg: #ffffff;
  --text-dark: #333333;
}

/* Сброс */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
  padding-top: 0; /* шапка не фиксирована */
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* === TOP BAR === */
.top-bar {
  background-color: #ff851e;
  height: 50px;
  position: static;
  width: 100%;
}
.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  font-size: 0.9rem;
}
.top-phone a {
  color: var(--light);
  text-decoration: none;
}
.top-phone i {
  margin-right: 6px;
}
.top-cta .btn {
  font-size: 0.85rem;
  padding: 4px 8px;
}

/* === MAIN NAV === */
.main-nav {
  background-color: var(--nav-bg);
  height: 80px;
  position: relative; /* для абсолютного позиционирования моб.меню */
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo img {
      height: 81px;
    margin-top: 7px;
}

/* Меню */
nav ul {
  display: flex;
  gap: 24px;
}
nav ul li a {
  position: relative;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  transition: color 0.3s;
}
nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--yellow);
  transition: width 0.3s ease;
}
nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--text-dark);
}

/* Гамбургер */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}











/* Кнопки */
.btn {
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn-yellow {
  background-color: var(--yellow);
  color: var(--dark);
  padding: 6px 12px;
}
.btn-dark.large {
  background-color: var(--dark);
  color: var(--yellow);
  padding: 12px 24px;
}
.btn-dark.large:hover {
  background-color: #333;
}

/* === SERVICES === */
.services {
  padding: 80px 0;
  background: url('../fon/3.jpg') no-repeat center center;
  background-size: cover;
}
.services .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--yellow);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 24px;
  justify-items: center;
}
.service-card {
  background-color: #292929;
  border: 1px solid var(--yellow);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  width: 100%;
  max-width: 200px;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: scale(1.05);
}
.service-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.service-card h3 {
  color: var(--yellow);
  padding: 12px;
  font-size: 1.1rem;
}



/* Counters */
.counters {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}
.counter {
  text-align: center;
}
.counter span {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
}
.counter p {
  margin-top: 8px;
}



/* CTA Button */
.cta-btn {
  display: block;
  margin: 0 auto 60px;
  background-color: var(--yellow);
  color: var(--dark);
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
  text-align: center;
}
.cta-btn:hover {
  background-color: #e6c200;
}

/* Video Container */
.video-container {
  text-align: center;
  margin-bottom: 40px;
}
.video-container video {
  max-width: 100%;
  border-radius: 8px;
}

/* Testimonial Card */
.testimonial-card {
  background-color: #292929;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto 40px;
}
.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 12px;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 8px;
}
.testimonial-card h4 {
  font-weight: bold;
  color: var(--yellow);
}

/* Guarantees List */
.guarantees-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}
.guarantees-list li {
  position: relative;
  padding-left: 24px;
  color: var(--light);
}
.guarantees-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--yellow);
}


/* Back to Top Button */
#to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--yellow);
  color: var(--dark);
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
}
#to-top:hover {
  background-color: #e6c200;
}

/* === RESPONSIVE MOBILE MENU === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  
  
 .main-nav {
    background-color: var(--nav-bg);
    height: 40px;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    z-index: 1000;
    padding: 0;
    margin: 0;
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    width: 100%;
    text-align: center;
  }
  nav ul li a {
    display: block;
    padding: 16px 0;
    font-size: 1.25rem;
    color: var(--text-dark);
  }
  
  
  .btn-dark.large {
    background-color: var(--dark);
    color: var(--yellow);
    padding: 4px 30px;
}

.logo img {
      height: 40px;
    margin-top: 7px;
}

}









