* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html, body {
  height: 100%;
}

body {
  background: #0a0a0a;
  color: #ccc;
  font-family: 'Segoe UI', 'Oswald', 'Impact', sans-serif;
}

/* Шапка сайта - корпоративный стиль Umbrella */
header {
  width: 1140px;
  margin: 0 auto;
  background: linear-gradient(135deg, #111111 0%, #1a0000 100%);
  border-bottom: 3px solid #cc0000;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.3);
}

.header-container {
  padding: 20px 0 20px 0;
  text-align: center;
}

header h1 {
  font-size: 42px;
  color: #cc0000;
  text-shadow: 0 0 5px rgba(204, 0, 0, 0.5);
  letter-spacing: 4px;
  font-family: 'Oswald', 'Impact', sans-serif;
  margin-bottom: 15px;
}

header h1 span {
  color: #fff;
  font-weight: normal;
}

/* Меню навигации - строчное, центрированное */
.nav-menu {
  display: inline-block;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  border-radius: 40px;
  padding: 5px 15px;
  border: 1px solid #cc0000;
}

.nav-menu a {
  display: inline-block;
  color: #ddd;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 25px;
  margin: 0 3px;
  border-radius: 30px;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  font-family: 'Segoe UI', sans-serif;
}

.nav-menu a:hover {
  background: #cc0000;
  color: #000;
  box-shadow: 0 0 15px rgba(204, 0, 0, 0.6);
  transform: translateY(-2px);
}

/* main и footer */
header, main, footer {
  width: 1140px;
  margin: 0 auto;
}

#wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  width: 100%;
}

main {
  padding-bottom: 100px;
  background: #111111;
  padding: 40px;
  min-height: 450px;
  border-radius: 15px;
  margin-top: 25px;
  margin-bottom: 25px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  border: 1px solid #2a2a2a;
}

footer {
  margin: -100px auto 0;
  position: relative;
  height: 90px;
  background: #050505;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 15px 0 0;
  font-size: 13px;
  border-top: 1px solid #cc0000;
  font-family: monospace;
}

/* Стили для главной страницы */
.main__img--float {
  width: 550px;
  margin-right: 40px;
  float: left;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(204, 0, 0, 0.4);
  border: 1px solid #cc0000;
  transition: transform 0.3s, filter 0.3s;
}

.main__img--float:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}

main h1 {
  color: #cc0000;
  margin-bottom: 25px;
  font-size: 32px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 2px;
}

main p {
  line-height: 1.7;
  color: #bbb;
  font-size: 16px;
}

.services {
  padding: 30px 20px;
  text-align: center;
}

.services__item {
  display: inline-block;
  vertical-align: top;
  margin: 0 18px;
  width: 230px;
  text-align: center;
  background: #0d0d0d;
  padding: 20px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid #2a2a2a;
}

.services__item .services__img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.services__item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(204, 0, 0, 0.3);
  border-color: #cc0000;
}

.services__img {
  width: 200px;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #cc0000;
}

.services__item h2 {
  margin: 15px 0 10px;
  font-size: 19px;
  color: #cc0000;
  font-family: 'Oswald', sans-serif;
}

.services__item p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #999;
}

.h1---invisible {
  visibility: hidden;
  height: 0;
  margin: 0;
}

/* Стили для страницы "О нас" (корпоративная тайна) */
main ul {
  margin: 20px 0 20px 30px;
}

main li {
  margin: 12px 0;
  color: #bbb;
}

main h2 {
  margin: 30px 0 15px;
  color: #cc0000;
  border-left: 4px solid #cc0000;
  padding-left: 15px;
  font-family: 'Oswald', sans-serif;
}

/* Стили для страницы "Контакты" */
main p strong {
  color: #cc0000;
}

/* Стили для страницы клиенты */
.clients {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin: 35px 0;
}

.clients__item {
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  padding: 25px;
  border-radius: 12px;
  width: calc(50% - 13px);
  box-sizing: border-box;
  color: #ccc;
  transition: all 0.3s;
}

.clients__item:hover {
  border-color: #cc0000;
  box-shadow: 0 0 15px rgba(204, 0, 0, 0.2);
}

.clients__item h3 {
  color: #cc0000;
  margin-bottom: 12px;
  font-size: 22px;
}

.reviews {
  margin: 30px 0;
}

.reviews blockquote {
  background: #0a0a0a;
  border-left: 5px solid #cc0000;
  padding: 18px;
  margin: 20px 0;
  font-style: italic;
  border-radius: 8px;
  color: #bbb;
}

.reviews cite {
  display: block;
  margin-top: 12px;
  font-weight: bold;
  color: #cc0000;
}




/*ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ЦЕЛЬНОСТИ */

/* Единые отступы */
body {
  line-height: 1.5;
}

/* Выравнивание карточек услуг */
.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.services__item {
  display: flex;
  flex-direction: column;
}

/* Кнопка "Подробнее..."прижимается вниз */
.services__item p:last-child {
  margin-top: auto;
  font-weight: bold;
}

/* Адаптив для мобильных устройств */
@media (max-width: 1100px) {
  header, main, footer {
      width: 95%;
  }
  
  .main__img--float {
      float: none;
      display: block;
      margin: 0 auto 20px auto;
      width: 100%;
      max-width: 550px;
  }
}