@charset "UTF-8";
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Light.woff2") format("woff2"), url("../fonts/Lato-Light.woff") format("woff");
  font-weight: 300;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.woff2") format("woff2"), url("../fonts/Lato-Regular.woff") format("woff");
  font-weight: 400;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Medium.woff2") format("woff2"), url("../fonts/Lato-Medium.woff") format("woff");
  font-weight: 500;
}
@font-face {
  font-family: "DIN Pro";
  src: url("../fonts/DINPro-Bold.woff2") format("woff2"), url("../fonts/DINPro-Bold.woff") format("woff");
  font-weight: bold;
}
:root {
  --red: #921010;
  --light-red: #e31e24;
  --white: #fff;
  --black: #000;
  --dark-gray: #161616;
  --gray: #868686;
  --font-family: "Lato", "Segoe UI", Helvetica, Arial, sans-serif;
  --second-family: "DIN Pro", "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
ul,
ol[class],
li,
dl,
dd,
figure,
figcaption,
blockquote {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.5s ease;
}
a:hover, a:focus {
  color: var(--light-red);
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol[class] {
  padding: 0;
  list-style: none;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--white);
  background-color: var(--dark-gray);
}

main {
  display: grid;
  gap: 120px;
  margin-bottom: 90px;
}

@media screen and (max-width: 767px) {
  main {
    gap: 60px;
    margin-bottom: 30px;
  }
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.arrow {
  max-width: 100%;
  width: -moz-fit-content;
  width: fit-content;
  padding-right: 90px;
  font: 400 clamp(1rem, 5vw, 3rem)/60px var(--font-family);
  background: url(../assets/titleIcon.svg) right/60px no-repeat;
}

.pro span {
  color: var(--light-red);
  font-size: 50%;
  vertical-align: super;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 0;
  background-color: var(--black);
  z-index: 100;
}
header .header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  max-width: 50vw;
  max-height: 50px;
}
header nav {
  display: flex;
  gap: 50px;
  font: 700 clamp(1.25rem, 5vw, 1.75rem)/1 var(--second-family);
}

@media screen and (max-width: 767px) {
  header nav a:first-child {
    display: none;
  }
  .arrow {
    padding-right: 50px;
    background-size: 40px;
  }
}
.first {
  height: 100dvh;
  background: url(../assets/firstScreen.jpg) center/cover no-repeat;
}
.first .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.first h1 {
  margin-bottom: 30px;
  font: 700 clamp(2.5rem, 8vw, 4.5rem)/1 var(--second-family);
  text-transform: uppercase;
}
.first p {
  max-width: 65%;
  margin-bottom: 80px;
  font: 300 clamp(1rem, 4.5vw, 2rem)/1 var(--font-family);
}
.first a {
  width: -moz-max-content;
  width: max-content;
  padding: 20px 70px;
  color: var(--white);
  font: 700 clamp(1.25rem, 5vw, 2.5rem)/1 var(--second-family);
  background-color: var(--red);
  border: none;
  border-radius: 24px;
  outline: none;
  transition: background 0.5s ease;
}
.first a:focus, .first a:hover {
  background-color: var(--light-red);
}

@media screen and (max-width: 767px) {
  .first p {
    max-width: 100%;
  }
  .first a {
    margin: 0 auto;
  }
}
.important .container {
  display: flex;
  align-items: center;
  gap: 70px;
}
.important p {
  font: 300 clamp(0.875rem, 4vw, 1.75rem)/1 var(--font-family);
  text-indent: 80px;
  text-align: justify;
}

@media screen and (max-width: 767px) {
  .important .container {
    flex-direction: column;
    gap: 40px;
  }
  .important p {
    text-indent: 20px;
  }
}
.advantages .title {
  margin-bottom: 50px;
  text-transform: uppercase;
}
.advantages .title span {
  color: var(--light-red);
  font: 700 clamp(1.25rem, 5.5vw, 1.75rem)/1 var(--second-family);
}
.advantages h2 {
  font: 700 clamp(2.5rem, 8vw, 4.5rem)/1 var(--second-family);
}
.advantages .slider-wrapper {
  position: relative;
  max-width: calc(100vw - 40px);
  width: 100%;
  margin: -120px -40px -40px 0;
  padding: 80px 40px 40px 0;
  overflow: hidden;
}
.advantages .slider-control {
  position: absolute;
  right: 0;
  bottom: calc(100% - 40px);
  display: flex;
  gap: 30px;
  z-index: 1000;
}
.advantages .control-item {
  width: 50px;
  height: 40px;
  background: url(../assets/arrow.svg) center/contain no-repeat;
}
.advantages .control-item#next {
  transform: rotate(180deg);
}
.advantages .slider-block {
  --current: 0;
  display: flex;
  gap: 40px;
  width: -moz-max-content;
  width: max-content;
  max-width: calc(400% + 160px);
  transform: translate(calc(var(--current) * -25%), 0);
  transition: transform 1s ease;
}
.advantages .slider-item {
  display: flex;
  gap: 70px;
  width: 25%;
  padding: 0 10px;
}
.advantages .slider-item .text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.advantages .slider-item .number {
  font: 400 clamp(4rem, 16vw, 8rem)/1 var(--font-family);
}
.advantages .slider-item h3 {
  font: 400 clamp(1.5rem, 6vw, 2rem)/1 var(--font-family);
}
.advantages .slider-item p {
  font: 300 clamp(0.875rem, 3vw, 1.5rem)/1 var(--font-family);
}
.advantages .slider-item img {
  max-width: 400px;
  width: 100%;
  transition: transform 0.5s ease;
}
@media screen and (hover: hover) {
  .advantages .slider-item img:hover {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 767px) {
  .advantages .title {
    margin-bottom: 20px;
  }
  .advantages .slider-wrapper {
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .advantages .slider-block {
    gap: 10px;
    max-width: 400%;
  }
  .advantages .control-item {
    width: 40px;
    height: 30px;
  }
  .advantages .slider-item {
    flex-direction: column;
    gap: 30px;
    padding: 0;
  }
  .advantages .slider-item .text {
    gap: 20px;
  }
  .advantages .slider-item img {
    width: 75%;
    margin: 0 auto;
  }
}
.info .container {
  display: flex;
  gap: 88px;
}
.info .tech, .info .warranties {
  width: 50%;
}
.info .tech {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.info .list {
  display: grid;
  gap: 16px;
}
.info .item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--gray);
}
.info .item .name {
  font: 300 clamp(1rem, 3.5vw, 2rem)/1 var(--font-family);
  margin-top: auto;
}
.info .item .value {
  font: 300 clamp(0.875rem, 3.5vw, 1.75rem)/1 var(--font-family);
}
.info .item .value span {
  display: block;
  color: var(--light-red);
  font: 300 clamp(0.625rem, 2.5vw, 1.25rem)/1 var(--font-family);
}
.info .warranties {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}
.info .warranties .list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 auto;
  margin-top: 16px;
  padding-left: 60px;
}
.info .warranties .items {
  display: flex;
  align-items: center;
  gap: 60px;
}
.info .warranties .items img {
  width: 60px;
  height: 60px;
}
.info .warranties .items h3 {
  font: 300 clamp(1rem, 3.5vw, 2rem)/1 var(--font-family);
}

@media screen and (max-width: 1240px) {
  .info .container {
    flex-direction: column;
    gap: 60px;
  }
  .info .tech, .info .warranties {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .info .container, .info .tech {
    gap: 30px;
  }
  .info .tech img {
    order: 1;
  }
  .info .warranties .list {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    padding-left: 20px;
  }
  .info .warranties .items {
    gap: 40px;
  }
  .info .warranties .items img {
    width: 35px;
    height: 35px;
  }
}
.projects .project-wrapper {
  max-width: calc(100vw - 40px);
  padding-top: 60px;
}
.projects .project-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.projects .project {
  position: relative;
  min-width: 260px;
  transition: transform 0.5s ease;
}
@media screen and (hover: hover) {
  .projects .project:hover {
    transform: scale(1.1);
  }
}
.projects img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.70);
}
.projects h3 {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  font: 400 24px/1 var(--font-family);
  z-index: 2;
}

@media screen and (max-width: 1240px) {
  .projects .project-wrapper {
    overflow: auto;
    /* Для Firefox */
    scrollbar-width: none;
    /* Для Internet Explorer 10+ */
    -ms-overflow-style: none;
    /* Для Edge */
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }
  .projects .project-wrapper::-webkit-scrollbar {
    display: none; /* Для WebKit (Chrome, Safari, etc.) */
  }
}
@media screen and (max-width: 767px) {
  .projects .project-wrapper {
    max-width: 100vw;
    gap: 16px;
    padding: 20px 0 10px;
  }
  .projects .project {
    position: relative;
    min-width: 272px;
  }
  .projects img {
    width: 100%;
  }
  .projects h3 {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 16px;
    font: 400 24px/1 var(--font-family);
    z-index: 2;
  }
}
.contacts .arrow {
  margin-bottom: 60px;
}
.contacts .contacts-wrapper {
  display: grid;
  grid-template-columns: 42% 48%;
  gap: 10%;
}
.contacts .links {
  display: grid;
  grid-template-columns: 1fr 45px;
  gap: 20px 0;
  margin-bottom: 40px;
  font: 400 clamp(1rem, 3vw, 1.5rem)/1 var(--font-family);
}
.contacts .link a {
  display: flex;
  align-items: center;
  gap: 18px;
}
.contacts .link img {
  width: 45px;
  height: 45px;
}
.contacts .map {
  width: 100%;
  overflow: hidden;
  border-radius: 24px;
}
.contacts .map iframe {
  width: 100%;
  aspect-ratio: 1;
}
.contacts form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 50px;
  background: var(--white);
  border-radius: 24px;
}
.contacts form label {
  width: 100%;
  border-bottom: 1px solid var(--gray);
}
.contacts form label:has(> .error) {
  border-color: var(--red);
}
.contacts form input {
  width: 100%;
  flex: 400 20px/1 var(--font-family);
  border: none;
  outline: none;
}
.contacts form .confirmation label {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--dark-gray);
  border: none;
}
.contacts form .confirmation input {
  width: 20px;
  height: 20px;
}
.contacts form button {
  max-width: 90%;
  width: 370px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  color: var(--white);
  font: 900 40px/1 var(--second-family);
  background-color: var(--red);
  border-radius: 9999px;
}
.contacts form button:disabled {
  opacity: 0.8;
  cursor: no-drop;
}

@media screen and (max-width: 767px) {
  .contacts .arrow {
    margin-bottom: 20px;
  }
  .contacts .contacts-wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
  }
  .contacts .links {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contacts .link {
    display: flex;
    justify-content: center;
  }
  .contacts .link:nth-child(2n) {
    display: none;
  }
  .contacts .link img {
    width: 35px;
    height: 35px;
  }
  .contacts .map {
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
  }
  .contacts .map iframe {
    width: 100%;
    aspect-ratio: 2/1;
  }
  .contacts form {
    gap: 16px;
    padding: 20px;
  }
  .contacts form input {
    height: 30px;
  }
  .contacts form .confirmation label {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--dark-gray);
  }
  .contacts form .confirmation input {
    width: 20px;
    height: 20px;
  }
  .contacts form button {
    max-width: 90vw;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    color: var(--white);
    font: 900 16px/1 var(--second-family);
    background-color: var(--red);
    border-radius: 9999px;
  }
  .contacts form button:disabled {
    opacity: 0.8;
    cursor: no-drop;
  }
}