body {
  height: 100vh;
}
.company-info-content {
  height: 450px;
  max-width: 1250px;
  width: 100%;
  margin: 50px auto;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  border-radius: 20px;
  background-image: url("https://i2.photo.2gis.com/images/branch/0/30258560121103879_4a6d.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  position: relative;
}

.company-info_link {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  text-align: center;
  color: white;
  width: 250px;
  padding: 12px 20px;
  border-radius: 10px;
  background-color: orange;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.company-info_link:hover {
  background-color: darkorange;
}

.grid-company_catalog > :first-child {
  grid-column: 1 / -1; /* Первый блок — на всю ширину */
}

.grid-company_second,
.grid-company_third {
  text-align: center;
  border: 0px solid;
  border-radius: 15px;
  height: 200px;
  padding: 20px 0px 0px 0px;
  position: relative;
  overflow: hidden;
  background-color: rgba(156, 209, 160, 0.5);
  backdrop-filter: blur(12px);
  color: white;
  cursor: pointer;
}
.grid-company_catalog h3 {
  width: 80%;
  margin: auto;
}
.grid-company_first {
  height: 250px;
  text-align: center;
  border: 0px solid;
  border-radius: 15px;
  padding: 20px 0px 0px 0px;
  position: relative;
  overflow: hidden;
  color: white;
  background-color: rgba(156, 209, 160, 0.5);
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.company-title {
  background-color: #089c5d;
}

.grid-company_catalog {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две колонки */
  gap: 20px;
  width: 50%;
  margin: auto;
  padding-bottom: 80px;
  padding-top: 50px;
}
.grid-company_first .shadow {
  position: absolute;
  width: 750px;
  box-shadow: 0px;
  object-fit: cover;
}

.shadow {
  position: absolute;
  width: 550px;
  box-shadow: 0px;
  object-fit: cover;
  box-shadow: none !important; /* Полностью убирает тень */
}

.grid-content_third-img,
.grid-content_second-img {
  width: 300px;
  z-index: -1;
  position: absolute;
  top: 0px;
}
.grid-content_first-img {
  width: 400px;
  position: absolute;
  z-index: -1;
  top: 0px;
}
.faq-item {
  border-radius: 10px;
  background-color: #fff;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-question {
  font-weight: bold;
  font-size: 18px;
  color: #089c5d;
  position: relative;
  padding-right: 30px;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  color: #089c5d;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #333;
  margin-top: 10px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.container-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 80%;
  margin: auto;
  padding-bottom: 50px;
}

.brand-item {
  width: 300px;
  height: 100px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.brand-item img {
  width: 80%;
  object-fit: contain;
}

.company-adv_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 50px auto;
  padding: 0 20px;
}

.company-adv_block {
  background-color: #f1f1f1;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
  display: grid;
  gap: 1em;
  grid-template-columns: 20% 80%;
  align-items: center;
  text-align: left;
}
.company-adv_block:hover {
  transform: translateY(-5px);
}

.company-adv_title {
  font-size: 20px;
  background-color: #089c5d;
  color: white;
  text-align: center;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 auto;
}

.company-adv_extra-block_title {
  font-size: 20px;
  margin-top: 10px;
  font-weight: bold;
}

.company-adv_p {
  font-size: 16px;
  color: #555;
  margin-top: 8px;
}

.logo {
  width: 20%;
  margin-left: 40%;
  margin-top: 50px;
}

.partner {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding: 0px 350px;
  background-color: #089c5d;
}
.partner h1,
.partner h3,
.partner p {
  width: 80%;
  color: white;
}

.partner p {
  margin-bottom: 50px;
}

.partner a {
  background-color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  color: #089c5d;
  font-weight: semi-bold;
}
.partner-right {
  position: relative;
  height: 500px;
  width: 550px;
}
.partner img {
  width: 550px;
  position: absolute;
  bottom: 0px;
}

.partner-a {
  margin-left: 12px;
}

@media (max-width: 768px) {
  .company-adv_grid {
    grid-template-columns: 1fr;
  }
  .partner {
    padding: 0px;
    overflow: hidden;
  }
  .partner div {
    width: 100%;
    position: relative;
  }

  .partner img {
    width: 400px;
    position: absolute;
  }
  .partner p,
  .partner h3,
  .partner h1 {
    width: 80%;
    margin: auto;
    margin-bottom: 30px;
  }
  .partner a {
    position: relative;
    left: 10%;
    margin-bottom: 30px;
  }
  .container-brands {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .div-faq {
    width: 90%;
    margin: auto;
  }
}

@media (max-width: 480px) {
  .grid-company_catalog {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки */
    gap: 20px;
    width: 95%;
    margin: auto;
  }
  .grid-company_second,
  .grid-company_third {
    height: 150px;
  }
  .grid-company_first {
    height: 200px;
  }

  .grid-content_third-img,
  .grid-content_second-img {
    width: 200px;
    z-index: -1;
    position: absolute;
    top: 50px;
    left: 0px;
  }
  .grid-content_first-img {
    width: 400px;
    position: absolute;
    z-index: -1;
    top: 0px;
  }
  .shadow {
    position: absolute;
    width: 250px;
    box-shadow: 0px;
    object-fit: cover;
    box-shadow: none !important; /* Полностью убирает тень */
  }
  .grid-company_first .shadow {
    position: absolute;
    width: 450px;
    box-shadow: 0px;
    object-fit: cover;
  }
  .container-brands {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .brand-item {
    height: 70px;
    width: 100%;
  }
  .grid-company_catalog {
    padding-bottom: 30px;
  }
  .logo {
    width: 50%;
    margin-left: 25%;
    margin-top: 50px;
  }
  .partner {
    display: flex;
    flex-direction: column;
    padding: 0px;
    text-align: center;
    padding-top: 30px;
  }

  .partner-left div {
    display: grid;
    width: 50%;
    margin: auto;
    text-align: left;
    position: relative;
  }

  .partner-left a {
    margin-left: 0px;
    left: 0px;
  }

  .partner-left {
    position: relative;
  }

  .partner p,
  .partner h3,
  .partner h1 {
    width: 90%;
    margin: auto;
    margin-bottom: 30px;
  }

  .partner img {
    width: 100%;
    position: relative;
    margin-top: -30px;
    left: 20px;
  }
  .partner-right {
    width: 100%;
    height: auto;
  }
  .div-faq {
    width: 90%;
    margin: auto;
  }
  .company-adv_block {
    padding: 0px;
    font-size: x-small;
    grid-template-columns: 20% 70%;
  }
  .brand-item img {
    width: 100%;
  }
}
