html {
  box-sizing: border-box;
   scroll-behavior: smooth;
}
*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  font-family: "Roboto", sans-serif;
  /* font-family: "Montserrat", sans-serif; */
  font-size: 16px;
  line-height: 1.5;
  color: #f5f5f5;
}

a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

button {
  background-color: transparent;
  padding: 0;
  border: none;
  font-family: inherit;
  color: inherit;
  display: inline-block;
}

input {
  font-family: inherit;
  color: inherit;
}

input::placeholder {
  font-family: inherit;
  color: inherit;
}

.container {
  max-width: 1740px;
  padding: 0 10px;
  margin: 0 auto;
}

.section-box {
  padding: 150px 0;
}
.request {
  padding: 0;
}

.section__title {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 42px;
  line-height: 1.16;
  margin-bottom: 55px;
  color: #171717;
}

.header {
  background-image: url(/images/sec/SEC777.png);

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 100vh;
}

.menu {
  justify-self: start;
}

.menu__btn {
  display: none;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 24px;
  position: relative;
  z-index: 10;
}

.menu__btn::after,
.menu__btn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #f5f5f5;
}

.menu__btn::after {
  top: 0;
}

.menu__btn::before {
  bottom: 0;
}

.menu__btn span {
  height: 2px;
  background-color: #f5f5f5;
  width: 100%;
}

.logo {
  justify-self: center;
}

.header__top {
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-weight: 300;
}

.menu__list {
  display: flex;
  gap: 40px;
  text-transform: uppercase;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}

.menu__link{
  font-size:18px;
}

.menu__list.active {
  transform: translateY(0);
}

.header__phone {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__title {
  max-width: 1500px;
  padding-bottom: 100px;
  margin-bottom: 30px;
  text-transform: uppercase;
  font-size: 85px;
  line-height: 1.17;
  font-weight: 400;
}

.header__text {
  max-width: 758px;
  font-size: 24px;
  line-height: 1.16;
  margin-bottom: 30px;
}

.header__btn {
  display: inline-block;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.16;
  color: #2b2b2b;
  font-weight: 300;
  padding: 20px 49px;
  background-color: #f5f5f5;
}

.services {
  background-color: #171717;
  color: #f5f5f5;
}

.services__title {
  color: #f5f5f5;
}
.services__list {
  border-top: 1px solid #f5f5f5;
}

.services__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #f5f5f5;
  padding-right: 44px;
}

.services__item-title {
  font-size: 28px;
  text-transform: uppercase;
  font-weight: 300;
}

.services__item-text {
  max-width: 800px;
  width: 100%;
}

.projects {
  padding: 50px 0;
}

.projects_item {
  padding: 20px;
  border: 1px solid #d9d9d9;
  max-width: 560px;
}

.projects__item img {
  width: 560px;
  height: 771px;
  margin-bottom: 40px;
  max-width: 560px;
}

.projects__item-title {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.16;
  margin-bottom: 10px;
  color: #171717;
}

.projects__item-title img{
  width: 480px;
  height: 480px;
}

.projects__item-descr {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.16;
  margin-bottom: 30px;
  color: #171717;
}

.projects__item-text {
  margin-bottom: 30px;
  color: #171717;
}

.projects__item-link {
  display: inline-block;
  text-transform: uppercase;
  border: 1px solid #171717;
  padding: 20px 100px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.1;
  color: #171717;
}

.swiper-button-next,
.swiper-button-prev {
  color: #000000 !important; /* Черные стрелки */
}

.swiper-slide {
  margin-bottom: 20px; /* Отступ снизу */
}

.img__request {
  width: 500px;
  height: 400px;
}

.catalog__title {
  max-width: 556px;
}

.catalog__content {
  display: flex;
  gap: 50px;
  align-items: center;
  margin-bottom: 150px;
  color: #171717;
}

.catalog__form {
  max-width: 560px;
  width: 100%;
}

.catalog__form-title {
  max-width: 430px;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.16;
  font-weight: 300;
  margin-bottom: 20px;
}
.catalog__form-text {
  max-width: 430px;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.16;
  font-weight: 300;
  margin-bottom: 50px;
}

.catalog__form-input {
  display: inline-block;
  padding: 20px;
  border: 1px solid #171717;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 100;
  line-height: 1.16;
  margin-bottom: 30px;
  max-width: 560px;
  width: 100%;
  display: block;
}

.catalog__form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.16;
  margin-bottom: 50px;
}

.catalog__form-checkbox {
  width: 17px;
  height: 17px;
  accent-color: #f5f5f5;
  margin: 0;
}

.catalog__form-btn {
  padding: 20px 50px;
  background-color: #171717;
  color: #f5f5f5;
  font-size: 18px;
  line-height: 1.16;
  text-transform: uppercase;
  font-weight: 300;
}

/* FOOTER */

footer {
  background-color: #171717;
  color: #fff;
  padding: 50px 0;
}

.footer-container {
  max-width: 900px; /* Чуть уже для лучшего восприятия */
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  text-align: center; /* Центрируем всё, но текст переопределим */
}

.footer-section h3 {
  font-size: 28px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

/* Декоративная линия под заголовком */
.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #ff6b00; /* Акцентный цвет */
}

.footer-content {
  text-align: left; /* Текст внутри блока выравниваем по левому краю */
  max-width: 700px;
  margin: 0 auto; /* Центрируем текстовый блок */
  padding-top: 10px;
}

.footer-content p {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 10px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}


/* Стили для Идеи 1 */
.modern-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #f0f0f0;
}

.company-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.company-name {
    font-size: 32px;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.company-tagline {
    color: #666;
    margin: 0 0 30px 0;
    font-size: 16px;
}

.contact-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item.highlight {
    background: #f8f9ff;
    border-left: 4px solid #2575fc;
}

.contact-item:hover {
    background: #f5f7ff;
    transform: translateX(5px);
}

.contact-icon-wrapper {
    background: #eef2ff;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon {
    color: #2575fc;
}

.contact-label {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.contact-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: block;
}

.contact-link:hover {
    color: #2575fc;
}

.map-link .map-hint {
    display: block;
    font-size: 13px;
    color: #2575fc;
    margin-top: 4px;
}

.company-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    color: #666;
    font-size: 14px;
}



























@media (max-width: 1700px) {
  .catalog__content-img {
    max-width: 750px;
    margin-bottom: 40px;
  }
}

@media (max-width: 1300px) {
  .menu__btn {
    display: flex;
  }
  .catalog__content-img {
    max-width: 550px;
    margin-bottom: 40px;
  }

  .menu__list {
    position: absolute;
    inset: 0;
    background-color: #171717;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .services__item {
    display: block;
    padding-right: 0;
  }
}

@media (max-width: 1150px) {
  .catalog__content-img {
    max-width: 450px;
    margin-bottom: 40px;
  }
}

@media (max-width: 1060px) {
  .catalog__content {
    display: block;
  }
  .catalog__content-img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }
}

@media (max-width: 740px) {
  .header__top {
    padding: 40px 0;
  }
  .header__title {
    padding-top: 75px;
    font-size: 64px;
  }
  .section-box {
    padding: 50px 0;
  }
  .section__title {
    margin-bottom: 50px;
    font-size: 28px;
  }
  .services__item {
    padding: 12px 0;
  }

  .services__item-title {
    font-size: 20px;
  }
}

.catalog__content {
  margin-bottom: 50px;
}

.catalog__form {
  max-width: 100%;
}

@media (max-width: 540px) {
  .header__phone span {
    display: none;
  }

  .header__phone img {
    width: 24px;
  }

  .header__title {
    padding-top: 50px;
    font-size: 44px;
  }
  .header__text {
    font-size: 22px;
  }
  .header__btn {
    font-size: 16px;
    padding: 16px 49px;
  }
  .catalog__content-img {
    margin-bottom: 20px;
  }
  .catalog__form-title {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .catalog__form-text {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .catalog__form-input {
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
  }
}

/* Стили для секции с компаниями */
.companies-section {
  padding: 100px 20px;
  background-color: #171717;
}

.companies-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.company-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 40px 35px;
  width: 100%;
  max-width: 380px;
  min-height: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.company-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.company-header {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid #f0f0f0;
}

.company-name {
  font-size: 1.7rem;
  color: #2c3e50;
  margin: 0;
  font-weight: 700;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex-grow: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 8px 0;
}

.contact-icon {
  font-size: 1.3rem;
  min-width: 28px;
  margin-top: 2px;
}

.contact-link,
.contact-text {
  color: #333;
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-link:hover {
  color: #3498db;
  text-decoration: underline;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 1100px) {
  .company-card {
    max-width: 340px;
    padding: 35px 30px;
  }
}

@media (max-width: 992px) {
  .company-card {
    max-width: 320px;
    padding: 30px 25px;
  }
}

@media (max-width: 768px) {
  .companies-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .company-card {
    max-width: 100%;
    min-height: 300px;
    padding: 35px 30px;
  }

  .companies-section {
    padding: 60px 20px;
  }
}

.section-subtitle {
  color: #f5f5f5;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
