: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;
}







/* === HERO === */
/* Фото уже настроено вместо градиента */
.hero {
  background: url('../img/bs.png') no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  /* опускаем контент ниже за счёт внутреннего отступа сверху */
  padding: 100px 20px 40px;
  min-height: calc(100vh - 112px);
  text-align: center;
}

/* Новый жёлтый блок */
.hero-content-block {
	background-color: #ffd700d9;
	color: #363636;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	margin: -30px auto 0;
}

/* Отступы между элементами внутри блока */
.hero-content-block h2,
.hero-content-block .banner-rating,
.hero-content-block p,
.hero-content-block a {
  margin-bottom: 20px;
  color: #363636;
}

/* Убираем последний отступ */
.hero-content-block a {
  margin-bottom: 0;
}








/* Кнопки */
.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(../img/44.jpg) no-repeat center center;
  background-size: cover;
}
.services .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #373737;
  background-color: #f8d948;
}


.service-description {
  font-size: 0.9em;
  color: #fff;
  margin-top: 8px;
}

.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;
}

/* === WHY CHOOSE US === */
.why-choose-us {
  position: relative;
  background-color: #292929;
  background-image: url('images/pattern.svg');
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0;
}
.why-choose-us .section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--yellow);
}
.why-choose-us .section-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: var(--light);
}
.trust-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}
.trust-icon {
  text-align: center;
}
.trust-icon i {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 8px;
}
.trust-icon p {
  color: var(--light);
}

/* 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;
}

/* Rating Widget */
.rating-widget {
  text-align: center;
  margin-bottom: 40px;
}
.rating-widget .stars {
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: 8px;
}
.rating-widget a {
  color: var(--light);
  text-decoration: underline;
}

/* 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);
}

/* FAQ Section */
.faq-section {
  max-width: 800px;
  margin: 0 auto 60px;
}
.faq-section h3 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--yellow);
}
.faq-item + .faq-item {
  margin-top: 12px;
}
.faq-question {
  width: 100%;
  background-color: #111111;
  color: var(--light);
  border: none;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-size: 1rem;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 16px;
}
.faq-question.active::after {
  content: '–';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #1a1a1a;
  padding: 0 16px;
  transition: max-height 0.3s ease;
}
.faq-answer.open {
  max-height: 200px;
  padding: 12px 16px;
}

/* Partners Section */
.partners {
  background-color: #292929;
  padding: 80px 0;
}
.partners .section-title {
  text-align: center;
  font-size: 32px;
  color: var(--yellow);
  margin-bottom: 40px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px,1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
	background-color: #ef8b3c;
    padding: 20px;
    border-radius: 20px;
}
.partner-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #111111;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
}
.partner-logo img {
  max-width: 70%;
  max-height: 70%;
}
.partner-logo:hover {
  transform: scale(1.1);
}

/* 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;
}





/* === GALLERY === */
.gallery {
  padding: 80px 0;
  background-color: var(--dark);
}

.gallery .section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 40px;
  padding: 10px 20px;
  display: inline-block;
  background-color: rgba(0,0,0,0.7);
  border-radius: 8px;
}

/* Сетка карточек — жёсткие квадраты */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  justify-content: center;
  margin: 0 auto;
  max-width: calc(200px * 5 + 16px * 4);
}

/* Карточка категории или фото */
.gallery-item {
  width: 100%;
  background-color: #292929;
  border: 1px solid var(--yellow);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.2);
}

/* Обёртка под картинкой — соотношение 1:1 */
.gallery-item .thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-item:hover .thumb img {
  transform: scale(1.1);
}

/* Плейсхолдер без превью */
.gallery-item .thumb .no-preview {
  width: 100%;
  height: 100%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-style: italic;
}

/* Заголовок карточки */
.gallery-item h3 {
  margin: 12px 8px;
  font-size: 1rem;
  text-align: center;
  color: var(--light);
  padding: 0 8px;
}

/* Лайтбокс */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: var(--yellow);
  cursor: pointer;
  user-select: none;
  z-index: 10001;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #fff;
}










.location-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.location-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 2rem;
  color: #333;
  background-color: #f8d948;
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}





.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-column {
  flex: 1 1 30%;
  margin-bottom: 20px;
}

.footer-column h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #f1c40f; /* например, твой фирменный желтый цвет */
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff; /* белый текст для тёмного фона */
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}
















/* Адаптация для мобильных */
@media (max-width: 768px) {
  .gallery {
    padding: 60px 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    max-width: calc(150px * 3 + 16px * 2);
  }
  
  .gallery-item h3 {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
  }
}





/* контейнер лишь для отступов и центрирования */
.county {
  width: 150px;
  height: 150px;
  margin: 30px auto 0;
  overflow: hidden; /* на случай, если картинка чуть больше */
}

/* саму картинку делаем 100% размера контейнера */
.county img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* сохраняет пропорции */
  display: block;
}


















@media (max-width: 768px) {
  .review-card {
    padding: 20px;
  }
  
  .review-author-img {
    width: 50px;
    height: 50px;
  }



.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;
}




.hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}



.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  }
  


}







@media (max-width: 650px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}





@media (max-width: 600px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}







@media (max-width: 550px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}





@media (max-width: 500px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}



@media (max-width: 450px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}


@media (max-width: 400px) {
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  
  .hero-content-block {
    background-color: #ffd700d9;
    border: 1px solid var(--dark);
    padding: 40px;
    max-width: 830px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: -70px auto 0;
}


.services-grid {
    /* две равные колонки, игнорируя min-width */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  }


}




















@media (max-width: 360px) {
  .services-grid {
    grid-template-columns: 1fr !important;
  }
}