@charset "UTF-8";
/*Цвета проекта*/
/*Общие стили проекта*/
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

*::-webkit-scrollbar-thumb {
  background-color: #4D665D;
  border-radius: 20px;
}

*::-webkit-scrollbar-track {
  border: 4px solid #fff;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  background: #2F2F2F;
  font-family: 'Gilroy';
}

input, button
{
padding: 0;
margin: 0;
border: 0;
border: none;
}

header {
  background-image: url('../img/background.png');
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0px -257px 180px -25px rgba(47, 47, 47, 1) inset;
  height: 100vh;
}

.header {
  display: flex;
  justify-content: center;
  margin-bottom: 300px;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 20px 0;
  color: white;
}

.header__container {
  max-width: 1500px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
}

.header__container-logo {
  max-width: 500px;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.header__container-logo span {
  text-align: center;
}

.logo {
  max-width: 178px;
}

.header__container-links {
  align-self: center;
}

.header__container-list {
  display: flex;
  align-items: center;
  gap: 60px;
}

.number {
  padding: 15px 20px;
  background-color: #9DCD5B;
  color: #26242B;
  font-size: 24px;
  font-weight: bold;
}

.text-container span {
  color: white;
  font-size: clamp(1.25rem, 0.0176rem + 5.2582vw, 4.75rem);
  font-weight: bold;
}

.text-container {
  max-width: 1300px;
  margin: 0 auto 0 auto;
  padding-bottom: 100px;
}

.main {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 15px;
}

.about, .catalog {
  color: white;
  margin-top: 40px;
}

.catalog {
margin-top: 120px;
}

.top-title {
  font-weight: 300;
	display: flex;
	align-items: center;
}

.top-title svg {
	margin-right: 10px;
}

.about-container h2, .catalog-container h2 {
  margin: 30px 0 40px 0;
}

.about-desc {
  font-weight: 700;
}

.about__list-item-text a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.about-ps {
}

.about__list-item {
  padding: 60px 50px 60px 30px;
}

.about__list-item:nth-child(1) {
  border: 1px solid white;
}

.about__list-item:nth-child(2) {
  background-color: black;
}

.about__list-item:nth-child(3) {
  color: black;
  background-color: #9DCD5B;
}


.about__list {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

.about__list-item-text {
  font-size: 24px;
  font-family: 'Gilroy';
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.about__list-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__list-item-img {
  max-width: 110px;
  width: 100%;
}


.catalog-content {
  display: grid;
  gap: 30px;
  grid-template-columns: 2fr 5fr;
}

/* форма */

.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease;
  padding: 0 15px;
  backdrop-filter: blur(7px);
}

.modal div {
  max-width: 700px;
  background-color: rgb(47 47 47 / 0.9);
  padding: 40px 60px;
  border-radius: 32px;

}

.modal div h3 {
  font-size: clamp(1.125rem, 0.7289rem + 1.6901vw, 2.25rem);
  font-weight: 400;
  padding-bottom: 45px;
  text-align: center;
}

.modal div input {
  background-color: transparent;
  margin-top: 15px;
  border-bottom: 1px solid #656565;
  padding-top: 10px;
  outline: none;
  color: white;
  font-size: 16px;
}

.modal-button {
  padding: 14px 130px;
  font-size: clamp(1.125rem, 0.8169rem + 1.3146vw, 2rem);
  color: white;
  background: linear-gradient(to right, #9DCD5B, #454545);
  border-radius: 11px;
  margin-top: 48px;
  transition: padding 0.3s ease;
}

.modal-button + p {
  font-weight: 300;
  font-size: clamp(0.875rem, 0.831rem + 0.1878vw, 1rem);  
}

.modal-button:hover {
  padding: 18px 130px;
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 28px;
  max-width: 700px;
}

/* Карточки каталога */

.content-section-list {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, 275px);
  justify-content: center;
}

.content-section-list__item {
  max-width: 275px;
  border-radius: 14px;
  border: 1px solid #9DCD5B;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  position: relative;
}

.content-section-list__item-img {
  background-image: linear-gradient(#9DCD5B, #2F2F2F);
  box-shadow: 0px -33px 180px -25px rgba(47, 47, 47, 1) inset;
  padding-top: 30px;
  max-height: 210px;
object-fit: contain;
}

.content-section-list__item-desc {
  padding-top: 10px;
  padding-left: 18px;
}

.content-section-list__item-desc:last-of-type {
  margin-bottom: 100px;
}

.content-section-list__item-desc span {
  color: #9DCD5B;
}

.content-section-list__item h3 {
  border-bottom: 1px solid white;
  font-weight: 600;
  padding-bottom: 10px;
  padding-left: 18px;
height: 80px;
}

.content-section-list__item button {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #9DCD5B;
  padding: 8px 40px;
  margin: 40px 20px 20px 20px;
  border-radius: 9px;
  transition: background-color 0.6s ease;
  position: absolute;
  bottom: 10px;
  align-self: center;
font-family: 'Gilroy';
}

.content-section-list__item button:hover {
  background-color: #9DCD5B;
  cursor: pointer;
}

/* accordion */
.accordion {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  overflow: hidden;
  border-top: 1px solid white;
  transition: all 0.3s ease;
}

.accordion-item:last-child {
  border-bottom: 1px solid white;
}

.accordion-item.active {
}

.accordion-header {
  width: 100%;
  padding: 35px 0 35px 20px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Gilroy';
  font-weight: 700;
  color: #fff;
  transition: all 0.3s;
}

.accordion-header div {
    display: flex;
    align-items: center;
}

.accordion-header div svg {
    width: 76px;
}

.accordion-header .accordion-title {
	font-weight: 400;
	font-size: clamp(1.125rem, 0.7083rem + 0.6667vw, 1.3rem);
}

.accordion-title {
margin-right: 10px;
}

.accordion-header svg {
margin-right: 10px;
}


.accordion-header .acc-title {
  font-size: 16px;
  padding: 0;
}

.accordion-item .acc-title {
  padding: 0 !important;
}

.accordion-item.active .accordion-header {
  color: #9DCD5B;
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: #666;
  margin-left: 10px;
}

.accordion-item.active .accordion-icon {
  color: white;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.submenu {
  list-style: none;
  padding: 15px 20px 15px 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.submenu-item {
  display: block;
  padding: 12px 15px;
  margin-bottom: 5px;
  font-family: 'Gilroy';
  font-weight: 500;
  font-size: clamp(0.875rem, 0.6989rem + 0.7512vw, 1.375rem);
  text-align: right;
  transition: all 0.2s;
}

.submenu-item:hover {
  color: #9DCD5B;
  padding-right: 20px;
}

.submenu-item.active {
  font-weight: 600;
  color: #9DCD5B;
}

.content-area {
  min-height: 600px;
}

.welcome-title {
  font-family: 'Gilroy';
  font-weight: 900;
  font-size: 32px;
  color: white;
  margin-bottom: 15px;
}

.welcome-text {
  font-family: 'Gilroy';
  font-weight: 400;
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.content-section {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .catalog-wrapper {
    flex-direction: column;
  }
  
  .catalog-menu {
    width: 100%;
    position: static;
  }
}


@media (max-width: 800px) {
  .catalog-content {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  }
}
.callback {
  margin-top: 130px;
  border: 1px solid #9DCD5B;
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  background: linear-gradient(160deg, #2F2F2F 50%, #9DCD5B 100%);
}

.callback__title, .callback__form {
  padding-top: 50px;
  padding-bottom: 75px;
}

.callback__title {
  font-size: clamp(1.375rem, 0.6488rem + 3.0986vw, 3.4375rem);
  color: white;
}

.callback__title span {
  color: #9DCD5B;
}

.callback__form {
  padding-right: 50px;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.callback__form input {
  background: transparent;
  padding-bottom: 10px;
  border-bottom: 1px solid white;

  font-size: 16px;
  color: white;
  outline: none;
}

.callback__form p {
  color: white;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    color: white;
}

input:-webkit-autofill{
  -webkit-text-fill-color: white !important;
}

.callback__title {
  padding-left: 50px;
}

.callback-button {
  background: transparent;
  padding: 15px;
  color: white;
  border: 1px solid white;
  border-radius: 11px;
  font-size: clamp(1.125rem, 0.8169rem + 1.3146vw, 2rem);
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.callback-button:hover {
  background-color: #9DCD5B;
}

.contacts {
  margin-top: 120px;
  color: white;
}

.contacts-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
  font-weight: 700;
}

.contacts-container h2 {
  font-size: clamp(1.625rem, 0.7887rem + 3.5681vw, 4rem);
  margin-bottom: 30px;
}

.contacts-container span {
  font-size: clamp(1.125rem, 0.993rem + 0.5634vw, 1.5rem);
	font-weight: 700;
}

.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #222222;  
  margin-top: 120px;
  color: white;
  padding: 40px 120px;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 70px;
}

.footer__left-img {
  width: 100%;
  max-width: 146px;
}

.footer__right {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
}

.footer__right-list {
  display: flex;
  flex-direction: row;
  gap: 60px;
}

.footer_right-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__button, .header__button {
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 1330px) {
  .header__container-logo {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 1260px) {
  <!--.catalog-content {
    grid-template-columns: 400px 1fr;
  }-->
}

@media (max-width: 1200px) {
  .footer {
    padding: 40px 60px;
  }
}

@media (max-width: 1000px) {
  .footer {
    padding: 20px 20px;
    flex-direction: column;
      align-items: center;
 }
 .header__container-list {
  gap: 30px;
 }
}

@media (max-width: 800px) {
  .header__container {
    flex-direction: column;
  }
  .header__container-logo {
    align-self: center;
  }
}

@media (max-width: 670px) {
  .footer {
    gap: 20px;
  }
  
  .footer__right  {
    flex-direction: column;
    gap: 30px;
  }
  .header {
    margin-bottom: 150px;
  }
}

@media (max-width: 620px) {
  .header__container-list {
    flex-direction: column;
  }
  .header__container {
    gap: 20px;
  }
  .header {
    margin-bottom: 50px;
  }
}

@media (max-width: 400px) {
  .footer__left {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer__right-list {
    flex-direction: column;
    gap: 20px;
	align-items: center;
  }
	.footer_right-contact {
		align-items: center;
	}
	.callback__title {
		padding-right: 50px;
	} 
}
