*, :after, :before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

:root, :host {
  --color-steel-cold: #041d23;
  --color-red-hot-copper: #d85d23;
  --color-iron-depth: #173843;
  --color-scarlet-copper: #c83d18;
  --color-black: #030102;
  --color-white: #ffffff;
  --size-header-md: 80px;
  --size-header-sm: 65px;
}

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font: 18px/1.556 'Roboto Flex', 'Arial', sans-serif;
  color: #2e2e2e;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

.layout, .layout-fluid {
  margin: 0 auto;
  padding-left: 70px;
  padding-right: 70px;
}

.layout {
  max-width: 1400px;
}

/* content */
.section {
  padding: 100px 0;
}

.section__body {
  margin-top: 70px;
}

.section__title {
  font-size: 45px;
  line-height: 1.3;
  font-weight: bold;
  text-align: center;
}

/* style */
p, ul, ol, li, dl, dd, h1, h2, h3, h4, h5, h6, blockquote {
  margin: 0;
  padding: 0;
}

a, .link {
  color: var(--color-scarlet-copper);
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: color .4s ease;
  -moz-transition: color .4s ease;
  -o-transition: color .4s ease;
  transition: color .4s ease;
}

a:hover, .link:hover {
  color: #000;
}

ul, ol {
  list-style: none;
}

p:not(:last-child) {
  margin-bottom: 24px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.is-hidden {
  display: none !important;
}

/* form */
button, input, select, textarea {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: 0 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

textarea {
  resize: vertical;
}

button, [type=button], [type=submit], [type=reset] {
  -webkit-appearance: button;
  cursor: pointer;
}

/* input textarea */
.input, .select, .textarea {
  display: block;
  padding: 2px 0 7px;
  width: 100%;
  font-size: 18px;
  line-height: 1.3;
  color: #ffffff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.input:focus, .select:focus, .textarea:focus {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.input::placeholder, .select::placeholder, .textarea::placeholder {
  color: var(--color-red-hot-copper);
}

.ui-form__field.is-error .input, .ui-form__field.is-error .textarea {
  border-color: #f65555;
}

.ui-form__field.is-error .input::placeholder, .ui-form__field.is-error .textarea::placeholder {
  color: #a54e4e;
}

/* button */
.button {
  display: inline-flex;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  justify-content: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-flex-pack: center;
  height: 44px;
  padding: 0 22px;
  color: #fff;
  background: var(--color-scarlet-copper);
}

.button:hover {
  color: #fff;
  background: var(--color-red-hot-copper);
  cursor: pointer;
}

/* ui form */
.ui-form__field:not(:last-child) {
  margin-bottom: 30px;
}

.ui-form__agreement {
  max-width: 300px;
  font-size: 13px;
  color: #869095;
}

.ui-form__success {
  display: none;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}

/* icon */
.icon {
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

/* navbar */
.navbar {
  display: flex;
  flex-wrap: nowrap;
}

.navbar__item {
  flex-grow: 1;
  text-align: center;
}

.navbar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  height: var(--size-header-md);
  white-space: nowrap;
  color: #fff !important;
  background: var(--color-red-hot-copper);
  background: #0a2630;
  cursor: pointer;
  transition: none;
}

.navbar__item_language .navbar__link {
  background-color: var(--color-iron-depth);
}

.navbar__item.is-active .navbar__link, .navbar__link:hover {
  background: var(--color-scarlet-copper);
  background: var(--color-red-hot-copper);
}

/* main intro */
.main-intro {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: var(--color-iron-depth);
  background-image: url('/assets/img/background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0% 80%;
}

.main-intro .layout {
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.intro__menu {
  width: 50%;
  margin-left: 50%;
}

.intro__menu.is-active {
  display: block;
}

.intro__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background-color: #17384338;
  /*backdrop-filter: blur(20px);*/
  z-index: 1;
}

.intro__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: calc(var(--size-header-md) * -1);
  padding: 60px 50px 0 0;
  width: 50%;
  min-height: 100vh;
  color: var(--color-white);
}

.intro__header {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  height: var(--size-header-md);
  background-color: var(--color-steel-cold);
}

.intro__header-logo {
  display: block;
  padding: 20px;
}

.intro__header-logo img {
  width: 100%;
  height: 100%;
}

.intro__burger {
  flex: 0 0 var(--size-header-md);
  padding: 15px;
  width: var(--size-header-md);
  height: var(--size-header-md);
  background-color: var(--color-scarlet-copper);
}

.intro__burger:hover {
  background-color: var(--color-red-hot-copper);
  cursor: pointer;
}

.intro__burger-menu {
  display: block;
  padding: 5px;
}

.intro__burger-menu rect {
  fill: #fff;
}

.intro__burger-close {
  display: none;
  fill: #fff;
}

.intro__burger.is-active .intro__burger-close {
  display: block;
}

.intro__burger.is-active .intro__burger-menu {
  display: none;
}

.intro__logo {
  max-width: 500px;
  margin-left: -30px;
}

.intro__logo img {
  width: 100%;
  height: auto;
}

.intro__title {
  max-width: 480px;
  padding: 60px 0 50px 0;
  font-size: 50px;
  line-height: 1.3em;
  font-weight: 400;
  text-wrap: balance;
}

.intro__more {
  margin-top: auto;
  padding-top: 20px;
}

.intro__more .button {
  padding: 32px 38px;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* products */
.main-products {
  color: #ffffff;
  background: linear-gradient(50deg, #091d24 30%, #173943 70%);
}

.product-list__item:not(:last-child) {
  margin-bottom: 70px;
}

.product-card {
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
}

.product-card.is-reverse {
  flex-direction: row-reverse;
  -webkit-box-orient: horizontal;
  -webkit-flex-direction: row-reverse;
  -ms-flex-direction: row-reverse;
}

.product-card > * {
  width: 50%;
}

.product-card__cover {
  height: 400px;
  padding: 50px;
  background: rgba(31, 77, 90, 0.2);
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
}

.product-card__cover img {
  display: block;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
  -o-object-fit: contain;
  object-fit: contain;
}

.product-card__info {
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  justify-content: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-flex-pack: center;
  padding: 20px 30px;
}

.product-card__title {
  font-size: 35px;
  text-transform: uppercase;
}

.product-card.is-reverse .product-card__title {
  text-align: right;
}

/* contacts */
.main-contacts {
  padding: 0 !important;
  background-color: var(--color-iron-depth);
  background-image: url('/assets/img/background.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-blend-mode: luminosity;
}

.main-contacts .section__head {
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-direction: column;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
}

.contacts {
  padding: 100px 50px;
  background-size: cover;
  text-align: center;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  border-radius: 24px;
}

.contacts .section__title {
  color: #fff;
}

.contacts__email {
  margin-top: 30px;
  font-size: 25px;
  color: #909090;
}

.contacts__email:hover {
  color: #fff;
}

.contacts__phone {
  margin-top: 20px;
  padding: 5px 20px;
  font-size: 25px;
  color: #fff;
  background: #5a5a5a36;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  -webkit-transition: .4s ease;
  -moz-transition: .4s ease;
  -o-transition: .4s ease;
  transition: .4s ease;
}

.contacts__phone:hover {
  background: #5a5a5a78;
  color: #fff;
}

.contacts__form {
  padding: 50px 50px 40px;
  max-width: 600px;
  margin: 0 auto;
  padding: 50px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
}

.contacts__form .ui-form__agreement {
  margin: 0 auto;
}

.contacts__form .button {
  width: 100%;
}

.contacts__form a {
  color: #a3491f;
}

.contacts__form a:hover {
  color: #e74e25;
}

/* video */
.main-video {
  padding-bottom: 5px;
}

.main-video video {
  width: 100%;
}

/* about */
.main-about {
  border-bottom: 1px solid #eee;
}

.about__top {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
  font-size: 22px;
}

.about__top-title {
  flex: 0 0 50%;
  font-size: 35px;
  line-height: 1.3;
  font-weight: 700;
}
.lang-en .about__top-title {
  flex: 0 0 60%;
}

.about__bottom {
  font-size: 22px;
}

/* advantages */
.advantages__list {
  columns: 2;
  font-size: 22px;
}

.advantages__list > li {
  position: relative;
  margin-left: 30px;
  margin-bottom: 7px;
  list-style: none;
}

.advantages__list > li:before {
  content: ' ';
  position: absolute;
  top: 15px;
  left: -28px;
  margin-right: 15px;
  width: 13px;
  height: 2px;
  background-color: #222;
}

.advantages__body {
  margin: 50px auto 0;
  max-width: 900px;
  font-size: 22px;
  text-align: center;
}

/* vacancies */
.vacancies {
  font-size: 20px;
}

.vacancies .section__body {
  margin-top: 50px;
}

.vacancies__title {
  font-size: 26px;
}

.vacancies__row {
  display: flex;
  justify-content: flex-start;
  padding-top: 10px;
}

.vacancies__col {
  margin-right: auto;
}

.vacancies__list {
  margin-top: 15px;
  list-style: inside;
}

.vacancies__list li {
  margin-bottom: 8px;
}

/* Fenimor */
.page-fenimor {
  --color-fenimor-red: #7b0002;
  --color-fenimor-orange: #b72108;
  --color-fenimor-orange-light: #d3361c;
}

.page-fenimor .navbar__item.is-active .navbar__link,  .page-fenimor .navbar__link:hover {
  background: var(--color-fenimor-orange);
}

.page-fenimor .intro__burger {
  background-color: var(--color-fenimor-red);
}

.page-fenimor .intro__burger:hover {
  background-color: var(--color-fenimor-orange);
}

.page-fenimor .main-intro {
  background-image: url('/assets/img/background-fenimor.png');
}

.page-fenimor .intro__bg {
  background-color: #002f6270;
}

.page-fenimor .button  {
  background: var(--color-fenimor-orange);
}

.page-fenimor .button:hover {
  background: var(--color-fenimor-orange-light);
}

@media screen and (min-width: 768px)
{
  .page-fenimor .navbar__link {
    background: var(--color-fenimor-red);
  }
}

/* footer */
.main-footer {
  padding: 30px 0 !important;
  text-align: center;
  color: #dbdbdb;
  background-color: #010506;
  border-top: 1px solid #1f2020;
}

/* cookies */
.cookies {
  display: none;
  position: fixed;
  bottom: 15px;
  left: 50%;
  padding: 15px 30px;
  gap: 50px;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 750px;
  font-size: 16px;
  color: #fff;
  background: rgba(10, 38, 48, 0.75);
  backdrop-filter: blur(20px);
  z-index: 20;
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.cookies.is-active {
  display: flex;
}


/* adaptive */
@media screen and (max-width: 1279px) {
  .intro__menu {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: 0;
    width: 100%;
  }
  .intro__content {
    margin-top: 0;
    padding: 160px 0 0;
    width: 100%
  }
  .intro__bg {
    width: 100%;
    backdrop-filter: none;
  }
}

@media screen and (max-width: 1199px) {
  .about__top {
    flex-direction: column;
    margin-bottom: 30px;
    font-size: 20px;
    font-weight: 400;
    text-wrap: auto;
  }
  .about__top-title {
    font-size: 30px;
    line-height: 1.3;
    font-weight: bold;
    text-align: center;
  }  
  .about__bottom {
    font-size: 20px;
  }
  .advantages__list {
    columns: 1;
    font-size: 20px;
  }
  .advantages__body {
    max-width: none;
    font-size: 20px;
    text-align: left;
  }
  .section__title {
    font-size: 35px;
  }
  .product-card__title {
    font-size: 30px;
  }
  .vacancies__title {
    font-size: 24px;
  }
  .vacancies__row {
    flex-direction: column;
  }
  .vacancies__col {
    margin-top: 30px;
  }
  .vacancies__col:first-child {
    margin-top: 0;
  }
}

@media screen and (max-width: 991px) {
  .layout, .layout-fluid {
    padding-left: 30px;
    padding-right: 30px;
  }
  .section {
    padding: 70px 0;
  }
  .main-intro {
    min-height: inherit;
  }
  .contacts {
    padding: 70px 15px;
  }
}

@media screen and (max-width: 767px) {
  .intro__header {
    display: flex;
  }
  .intro__menu {
    display: none;
    position: fixed;
    top: var(--size-header-md);
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    overflow-y: scroll;
    background-color: var(--color-steel-cold);
  }
  .navbar {
    display: flex;
    flex-direction: column;
  }
  .navbar__link {
    justify-content: flex-start;
    padding: 25px 37px;
    border-bottom: 1px solid var(--color-steel-cold);
  }
  .intro__logo {
    height: var(--size-header-md);
  }
  .intro__logo img {
    display: none;
  }
  .intro__content {
    align-items: center;
    padding-top: 0;
  }
  .intro__title {
    text-align: center;
  }
  .intro__more {
    margin-top: 0;
  }
  .about__top {
    font-size: 18px;
  }
  .about__bottom {
    font-size: 18px;
  }
  .advantages__list {
    font-size: 18px;
  }
  .advantages__list > li {
    margin-left: 28px;
  }
  .advantages__list > li:before {
    top: 13px;
    left: -26px;
  }
  .advantages__body {
    font-size: 18px;
  }
  .section__title {
    font-size: 30px;
  }
  .product-card__title {
    font-size: 25px;
  }
  .vacancies {
    font-size: 18px;
  }
  .contacts__email {
    font-size: 20px;
  }
  .contacts__phone {
    font-size: 20px;
  }
  .contacts__form {
    padding: 50px 30px;
  }
}

@media screen and (max-width: 575px) {
  .layout, .layout-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  .section {
    padding: 50px 0;
  }
  .section__title {
    font-size: 25px;
  }
  .section__body {
    margin-top: 50px;
  }
  .intro__title {
    padding: 80px 0 60px 0;
    font-size: 8vw;
  }
  .intro__more .button {
    padding: 25px 30px;
    font-size: 18px;
  }
  .about__top {
    gap: 40px;
  }
  .about__top-title {
    font-size: 25px;
  }
  .product-list__item:not(:last-child) {
    margin-bottom: 30px;
  }
  .product-card > * {
    width: 100%;
  }
  .product-card__cover {
    height: 300px;
    padding: 30px;
  }
  .product-card__info {
    padding: 20px 15px;
  }
  .product-card__title {
    text-align: center !important;
    font-size: 18px;
  }
  .contacts {
    padding: 50px 15px 50px;
  }
  .vacancies__title {
    font-size: 20px;
  }
  .cookies {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
    font-size: 14px;
  }
  .cookies__button {
    width: 100%;
    height: 38px;
  }
}

@media screen and (max-width: 479px){
  .intro__header {
    height: var(--size-header-sm);
  }
  .intro__burger {
    flex: 0 0 var(--size-header-sm);
    padding: 10px;
    width: var(--size-header-sm);
    height: var(--size-header-sm);
  }
  .intro__menu {
    top: var(--size-header-sm);
  }
  .navbar__link {
    padding: 25px 30px;
  }
}

@media screen and (max-width: 376px) {
  .contacts__form {
    padding: 30px 15px;
  }
  .contacts__form .button {
    font-size: 14px;
  }
}
