/* Общие стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  padding-top: 50px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* WhatsApp плавающая кнопка */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Шапка сайта */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #178bff;
  color: white;
  z-index: 999;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
  width: 100%;
  height: 100%;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  width: 100%;
}

.header__left {
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Бургер-меню */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1000;
  order: 3;
  margin-left: auto;
  margin-right: 15px;
}

.burger-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: white;
  transition: all 0.3s ease;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.header__menu li {
  position: relative;
}

.header__menu li a {
  text-decoration: none;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.header__menu li a:hover {
  opacity: 0.8;
}

/* Выпадающее меню */
.dropdown {
  position: relative;
}

.dropdown-toggle i {
  font-size: 0.7rem;
  margin-left: 3px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 8px 0;
  display: none;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  color: #333 !important;
  padding: 8px 16px;
  display: block;
  font-size: 0.9rem;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
  opacity: 1 !important;
}

.header__right {
  white-space: nowrap;
}

.header__phone {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
}

/* Баннеры */
.banner {
  padding: 30px 0;
  text-align: center;
}

.banner--blue {
  background-color: #178bff;
  color: white;
}

.banner__title {
  font-size: 2rem;
  font-weight: 500;
}

/* Первый экран */
.hero {
  padding: 40px 0;
  background-color: #f5f9ff;
}

.hero__inner {
  display: flex;
  gap: 50px;
  align-items: center;
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #222;
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.5rem;
  color: #178bff;
  margin-bottom: 10px;
  font-weight: bold;
}

/* ИСПРАВЛЕНО: убрано подчёркивание, одинаковые отступы */
.hero__name {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #222;
}

.hero__phone-large {
  font-size: 2rem;
  font-weight: bold;
  color: #178bff;
  margin-bottom: 15px;
  display: inline-block;
  text-decoration: none !important;
}

.hero__phone-large:hover,
.hero__phone-large:focus,
.hero__phone-large:active {
  text-decoration: none !important;
}

.hero__buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.hero__btn {
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.hero__btn--call {
  background-color: #178bff;
  color: white;
}

.hero__btn--call:hover {
  background-color: #0a5bbf;
}

.hero__btn--social {
  background-color: #25D366;
  color: white;
}

.hero__btn--social:hover {
  background-color: #128C7E;
}

.hero__social-text {
  font-size: 1rem;
  color: #333;
  margin-bottom: 5px;
}

.hero__guarantee {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
  margin-bottom: 5px;
}

.hero__image {
  flex: 0 0 400px;
}

.hero__image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Блок "Обо мне" */
.about {
  padding: 60px 0;
  background-color: #fff;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
}

.about__inner {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about__content {
  flex: 1;
}

/* ИСПРАВЛЕНО: имя над текстом */
.about__name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 15px;
}

.about__text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

.about__image {
  flex: 0 0 400px;
}

.about__image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Цены */
.prices {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.price-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.price-item--highlight {
  background-color: #e3f2fd;
  border: 1px solid #178bff;
}

.price-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #222;
}

.price-desc {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.95rem;
  min-height: 60px;
}

.price-value {
  font-size: 1.8rem;
  font-weight: bold;
  color: #178bff;
}

.price-note {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.prices-contact {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 10px;
  margin-bottom: 20px;
}

.prices-contact__text {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #555;
}

.prices-contact__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.prices-contact__phone {
  color: #178bff;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.prices-contact__or {
  color: #888;
  font-size: 1.1rem;
}

.prices-contact__social {
  color: #25D366;
  font-size: 1.2rem;
  text-decoration: none;
}

.prices-contact__consult {
  font-size: 1.1rem;
  color: #333;
}

.price-disclaimer {
  text-align: center;
  color: #777;
  font-size: 0.85rem;
  margin-top: 20px;
}

/* Бренды */
.brands {
  padding: 40px 0;
  background-color: #fff;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.brand-item {
  text-align: center;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 5px;
  font-weight: 500;
}

.brands-more {
  text-align: center;
  color: #178bff;
  font-size: 1.1rem;
}

/* Отзывы - белый текст на синем фоне */
.reviews-blue {
  background-color: #178bff;
  color: white;
  padding: 60px 0;
}

.section-title-white {
  color: white;
}

.review-item-white {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 25px;
  border-radius: 8px;
}

.review-text-white {
  color: white !important;
  margin-bottom: 15px;
  line-height: 1.6;
  font-style: italic;
}

.review-author-white {
  color: white !important;
  font-weight: bold;
  text-align: right;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 0;
}

/* Блок "Остались вопросы?" НА ВСЮ ШИРИНУ */
.questions-block {
  background-color: white;
  padding: 60px 0;
  text-align: center;
  width: 100%;
}

.questions-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: 600;
}

.questions-subtitle {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 25px;
}

.questions-phone {
  font-size: 2.2rem;
  color: #178bff;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
  transition: color 0.2s;
}

.questions-phone:hover {
  color: #0a5bbf;
}

.questions-always {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 20px;
}

.questions-or {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.questions-social-text {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 20px;
}

.questions-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.questions-social-link {
  color: #178bff;
  font-size: 2.2rem;
  transition: color 0.2s, transform 0.2s;
}

.questions-social-link:hover {
  color: #0a5bbf;
  transform: scale(1.1);
}

/* Примеры работ */
.examples {
  padding: 60px 0;
  background-color: #fff;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.example-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
}

.example-item h3 {
  color: #178bff;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.example-item p {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* FAQ с кружками */
.faq {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 30px;
}

.faq-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-circle {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: #178bff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 4px 8px rgba(23, 139, 255, 0.3);
}

.faq-content {
  flex: 1;
}

.faq-content h3 {
  font-size: 1.2rem;
  color: #178bff;
  margin-bottom: 10px;
}

.faq-content p {
  color: #666;
  line-height: 1.6;
}

.faq-content strong {
  color: #178bff;
  font-weight: 700;
}

/* Преимущества и карта */
.advantages {
  padding: 40px 0;
  background-color: #fff;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.advantage-item {
  text-align: center;
  padding: 20px;
}

.advantage-item i {
  font-size: 2.5rem;
  color: #178bff;
  margin-bottom: 15px;
}

.advantage-item p {
  color: #555;
  line-height: 1.5;
}

.advantages-note {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* Место для карты */
.map-placeholder {
  margin-top: 40px;
  width: 100%;
  height: 300px;
  background-color: #f0f0f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('https://via.placeholder.com/1200x300');
  background-size: cover;
  background-position: center;
  position: relative;
  border: 1px solid #ddd;
}

.map-placeholder__content {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-placeholder__content i {
  font-size: 3rem;
  color: #178bff;
  margin-bottom: 10px;
}

.map-placeholder__content p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.map-placeholder__content span {
  color: #666;
}

/* Форма заявки */
.application {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.application__subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #333;
}

.application-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #555;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background-color: #178bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover {
  background-color: #0a5bbf;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
  margin-top: 15px;
}

/* Футер */
.footer {
  padding: 30px 0;
  background-color: #222;
  color: #fff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__info p {
  margin-bottom: 5px;
  color: #ccc;
}

.footer__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__phone {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social-link {
  color: white;
  font-size: 1.5rem;
  transition: color 0.2s;
}

.footer__social-link:hover {
  color: #178bff;
}

/* Адаптивность */
@media (max-width: 992px) {
  .hero__inner {
    flex-direction: column-reverse;
  }

  .hero__image {
    flex: 0 0 auto;
    max-width: 350px;
  }

  .about__inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .about__image {
    max-width: 350px;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 50px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 50px);
    background-color: #178bff;
    transition: left 0.3s ease;
    z-index: 998;
  }

  .header__nav.active {
    left: 0;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 20px;
  }

  .header__menu li a {
    font-size: 1.2rem;
  }

  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .header__right {
    margin-left: auto;
  }

  .header__left {
    font-size: 0.8rem;
  }

  .header__phone {
    font-size: 0.85rem;
  }

  .banner__title {
    font-size: 1.5rem;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .hero__phone-large {
    font-size: 1.5rem;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .examples-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .faq-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq-circle {
    margin-bottom: 10px;
  }

  .questions-title {
    font-size: 1.8rem;
  }

  .questions-phone {
    font-size: 1.8rem;
  }

  .questions-social-link {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .header__left {
    font-size: 0.75rem;
  }

  .header__phone {
    font-size: 0.75rem;
  }

  .questions-title {
    font-size: 1.5rem;
  }

  .questions-phone {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
  }

  .hero__btn {
    width: 100%;
    justify-content: center;
  }

  .prices-contact__actions {
    flex-direction: column;
  }

  .map-placeholder {
    height: 200px;
  }

  .map-placeholder__content {
    padding: 15px 20px;
  }

  .map-placeholder__content i {
    font-size: 2rem;
  }

  .map-placeholder__content p {
    font-size: 1rem;
  }
}

/* Стили для изображений в примерах работ */
.example-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
  object-fit: cover;
}

/* Стили для контейнера карты */
.map-container {
  margin-top: 40px;
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Адаптивность для карты */
@media (max-width: 768px) {
  .map-container {
    height: 300px;
  }
}

/* Стили для блока перехода на Яндекс Услуги */
.yandex-services-link {
  text-align: center;
  margin-top: 50px;
}

.yandex-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #ffdb4d;
  color: #1a1a1a;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  text-align: left;
}

.yandex-button:hover {
  background-color: #ffcc00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.yandex-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  color: #ffdb4d;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.yandex-button__text {
  text-align: left;
}

.yandex-button__text small {
  font-size: 0.8rem;
  font-weight: normal;
  color: #4a4a4a;
}

.yandex-button__arrow {
  font-size: 1.5rem;
  transition: transform 0.2s;
}

.yandex-button:hover .yandex-button__arrow {
  transform: translateX(5px);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .yandex-button {
    padding: 12px 20px;
    gap: 10px;
    font-size: 0.9rem;
  }

  .yandex-button__icon {
    width: 32px;
    height: 32px;
  }

  .yandex-button__icon svg {
    width: 18px;
    height: 18px;
  }

  .yandex-button__text small {
    font-size: 0.7rem;
  }
}

.yandex-button__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #1a1a1a;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yandex-button__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}