 body {
      font-family: Arial, sans-serif;
      margin: 0;
      background: #e0e0e0;
    }

    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9999;
      background: rgba(0, 0, 0, 0.7);
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }

    .modal-form {
      position: relative;
      background: #fff;
      max-height: 90vh;
      overflow-y: auto;
      padding: 20px;
      width: 98%;
      max-width: 400px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.3);
      box-sizing: border-box;
    }

    .modal-form h2 {
      font-size: 18px;
      margin-bottom: 15px;
      border-bottom: 1px solid #ccc;
      padding-bottom: 10px;
    }

    .modal-form p {
      font-weight: bold;
      margin-top: 20px;
    }

    .modal-form input,
    .modal-form select,
    .modal-form textarea {
      width: 100%;
      padding: 10px;
      margin-top: 10px;
      border-radius: 4px;
      border: 1px solid #ccc;
      font-size: 14px;
    }

    .modal-form .row {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .modal-form .row input,
    .modal-form .row select {
      flex: 1;
    }

    .form-submit {
      display: flex;
      justify-content: center;
      margin-top: 25px;
    }

    .form-submit button {
      padding: 12px 30px;
      background: #222;
      color: #fff;
      border: none;
      border-radius: 4px;
      font-size: 16px;
      cursor: pointer;
    }

    .form-submit button:hover {
      background: #444;
    }

    /* Кнопка закрытия (крестик) */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      background: transparent;
      border: none;
      font-size: 20px;
      font-weight: bold;
      color: #999;
      cursor: pointer;
    }

    .close-btn:hover {
      color: #333;
    }

    @media (max-width: 480px) {
      .modal-form {
        width: 96%;
        max-width: 360px;
        padding: 15px;
      }

      .close-btn {
        top: 8px;
        right: 10px;
        font-size: 18px;
      }
    }

    .open-btn {
      margin: 40px auto;
      display: block;
      padding: 15px 25px;
      font-size: 16px;
      background: #000;
      color: #fff;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .open-btn:hover {
      background: #333;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }



    .fixed-header {
      position: fixed;
      top: 0;
      width: 100%;
      background: #eee;
      z-index: 1000;
      border-bottom: 1px solid #ccc;
    }

    .top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 15px;
      background: #ddd;
    }

    .logo {
      font-weight: bold;
      font-size: 20px;
    }

    .location-phone {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .location-phone i {
      font-size: 18px;
      color: #333;
    }

    .estimate-btn {
      background: #cc2020;
      color: white;
      border: none;
      padding: 10px 20px;
      font-weight: bold;
      border-radius: 10px;
      cursor: pointer;
    }

    .desktop-only {
      display: none;
    }

    .main-nav ul {
      display: flex;
      justify-content: center;
      gap: 30px;
      padding: 10px;
      background: #f2f2f2;
      list-style: none;
    }

    .main-nav ul li a {
      color: #333;
      font-weight: 500;
      text-decoration: none;
      padding: 8px;
    }

    .main-nav ul li a:hover {
      color: #cc2020;
    }

    .burger {
      display: block;
      cursor: pointer;
    }

    .burger span {
      display: block;
      width: 25px;
      height: 3px;
      background: #333;
      margin: 4px 0;
    }

    .mobile-menu {
      display: none;
      flex-direction: column;
      background: #eee;
      padding: 20px;
      position: fixed;
      top: 50px;
      width: 100%;
      left: 0;
      z-index: 999;
    }

    .mobile-menu ul {
      list-style: none;
      margin-bottom: 20px;
    }

    .mobile-menu ul li {
      padding: 10px 0;
    }

    .mobile-menu ul li a {
      text-decoration: none;
      color: #333;
      font-size: 18px;
    }

    @media (min-width: 768px) {
      .burger { display: none; }
      .desktop-only { display: inline-block; }
      .mobile-menu { display: none !important; }
    }

    section {
      padding: 100px 20px;
      border-bottom: 1px solid #ccc;
    }

  /* Обновлённые стили модального окна */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
  }

  .modal-content {
    width: 100%;
    max-width: 480px;
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
  }

  .modal-header {
    background: #2c2c2c;
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-body h3 {
    margin: 15px 0 10px;
    font-size: 14px;
    font-weight: bold;
    color: #111;
  }

  .modal-body .options {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 15px;
  }

  .modal-body .options button {
    flex: 1;
    padding: 10px;
    background: white;
    border: 1px solid #ccc;
    font-weight: 600;
    cursor: pointer;
  }

  .modal-body input,
  .modal-body select,
  .modal-body textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
  }

  .modal-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0;
    gap: 10px;
  }

  .modal-footer button {
    flex: 1;
    padding: 12px;
    font-weight: bold;
    border: none;
    background: #2c2c2c;
    color: white;
    cursor: pointer;
    border-radius: 4px;
  }

  @media (max-width: 500px) {
    .modal-body .options {
      flex-direction: column;
    }
    .modal-body .options button {
      width: 100%;
    }
    .modal-footer {
      flex-direction: column;
    }
  }
  .step {
  display: none;
}
.step.active {
  display: block;
}
.options button.selected {
  background: #2c2c2c;
  color: #fff;
  border: 2px solid #000;
}


    /* ... уже существующие стили остаются без изменений ... */

.main-nav {
  background: #f2f2f2;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 10px;
  list-style: none;
}

.main-nav ul li a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  padding: 8px;
}

.main-nav ul li a:hover {
  color: #cc2020;
}

/* Скрыть десктопное меню и estimate-кнопку на мобилке */
@media (max-width: 767px) {
  .main-nav {
    display: none;
  }

  .desktop-only {
    display: none;
  }
}

/* Показывать только бургер */
@media (min-width: 768px) {
  .burger {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 767px) {
  body {
    padding-top: 50px; /* Или даже 50px, если нужно меньше */
  }
}
