body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f0f2f5;
  color: #222;
}

/* Заголовок ПК */
.header-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-color: #0a2540;
  color: white;
  padding: 30px 20px;
}

.header-icon-left {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.desktop-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Мобильная версия */
.header-mobile {
  display: none;
}

@media (max-width: 768px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: block;
    background-color: #0a2540;
    color: white;
    padding: 30px 15px;
    text-align: center;
  }

  .header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .header-icon-mobile {
    width: 28px;
    height: 28px;
    object-fit: contain;
  }

  .title-line-1 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
  }

  .title-line-2 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
  }
}

/* Новый блок под заголовком */
.subheading-bar {
  background-color: #0a2540;
  color: white;
  text-align: center;
  padding: 20px 10px;
}

.subheading-bar a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.call-line {
  font-size: 14px;
  margin-bottom: 5px;
}

.form-line {
  font-size: 13px;
  color: #ccc;
  margin-bottom: 5px;
}

.work-hours {
  font-size: 12px;
  font-style: italic;
  color: #ccc;
  text-decoration: underline;
  margin-top: 0;
}

/* Форма */
section {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.note-inline {
  text-align: center;
  font-size: 12px;
  font-style: italic;
  color: #ccc;
  margin-bottom: 15px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fafafa;
}

button {
  margin-top: 25px;
  padding: 12px 25px;
  background-color: #0a2540;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* Кнопка на мобильном */
.call-button {
  display: none;
}

@media (max-width: 768px) {
  .call-button {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #28a745;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    z-index: 999;
  }
}

/* Наші роботи */
.portfolio {
  background: white;
  padding: 40px 20px;
  text-align: center;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.slider-single {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.slider-single img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: opacity 0.5s ease-in-out;
}

.slider-btn {
  background: transparent;
  color: #0a2540;
  font-size: 28px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

/* Модалка */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.modal-close {
  color: white;
  font-size: 30px;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
}

.messenger-links {
  text-align: center;
  margin-top: 15px;
  color: #fff;
  font-size: 14px;
}

.messenger-links a {
  color: #fff;
  font-weight: bold;
  margin: 0 6px;
  text-decoration: underline;
}
