@font-face {
  font-family: "RF Dewi";
  src: url("../fonts/RFDewi-Thin/RFDewi-Thin.woff2") format("woff2"),
    url("../fonts/RFDewi-Thin/RFDewi-Thin.woff") format("woff"),
    url("../fonts/RFDewi-Thin/RFDewi-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RF Dewi";
  src: url("../fonts/rfdewiextended-bold.woff2") format("woff2"),
    url("../fonts/rfdewiextended-bold.woff") format("woff"),
    url("../fonts/rfdewiextended-bold.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "RF Dewi Extended";
  src: url("../fonts/rfdewiextended-bold.woff2") format("woff2"),
    url("../fonts/rfdewiextended-bold.woff") format("woff"),
    url("../fonts/rfdewiextended-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #121922;
  --dark-2: #17202c;
  --text: #111820;
  --muted: #5d6670;
  --line: #e9edf1;
  --accent: #ff3c00;
  --white: #ffffff;
  --surface: #f5f7f9;
  --shadow: 0 24px 60px rgba(18, 25, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "RF Dewi", Arial, sans-serif;
  font-size: 18px;
  font-weight: 100;
  line-height: 1.45;
}

h1,
h2 {
  font-family: "RF Dewi", Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  font-weight: 700;
}

body::selection {
  color: var(--white);
  background: var(--accent);
}

button,
a {
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

button {
  cursor: pointer;
}

.page {
  overflow-x: hidden;
}

.container {
  width: min(100% - 48px, 1291px);
  margin: 0 auto;
}

.site-top {
  color: var(--white);
  background: var(--dark);
}

.header {
  position: relative;
  z-index: 90;
  padding: 32px 0 16px;
  isolation: isolate;
}

.header::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  content: "";
  background: rgba(18, 25, 34, 0.96);
  transform: translateX(-50%);
}

.header__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: block;
  flex: 0 0 auto;
  width: 208px;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 58px;
  color: var(--white);
  background: var(--dark-2);
  border-radius: 146px;
}

.header__menu a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.header__menu a:hover {
  color: var(--white);
}

.header__toggle {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 287px;
  min-height: 64px;
  padding: 18px 34px;
  color: var(--white);
  background: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 40px;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
}

.btn:hover {
  transform: translateY(-1px);
  background: #e63600;
  border-color: #e63600;
}

.btn--dark {
  background: var(--dark);
  border-color: var(--dark);
}

.btn--dark:hover {
  background: var(--dark-2);
  border-color: var(--dark-2);
}

body:not(.content-ready) [data-content-image] {
  visibility: hidden;
}

body:not(.content-ready) [data-content],
body:not(.product-detail-ready) [data-product-field] {
  visibility: hidden;
}

body:not(.content-ready) [data-content-bg]::before {
  opacity: 0;
}

body:not(.dynamic-content-ready) [data-products-list],
body:not(.dynamic-content-ready) [data-projects-list],
body:not(.dynamic-content-ready) [data-video-slider] .video-slider__track {
  opacity: 0;
}

.hero {
  position: relative;
  min-height: 672px;
  margin-bottom: 0;
  padding: 96px 0 84px;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
 background: linear-gradient(90deg, rgba(18, 25, 34, 1) 0%, rgba(18, 25, 34, 0.98) 41%, rgba(18, 25, 34, 0.68) 57%, rgba(18, 25, 34, 0.08) 69%), var(--editable-bg, url(../img/main.png)) right center / 62% 100% no-repeat;
}

.hero.hero_pr::before {
  background: linear-gradient(90deg, rgb(18, 25, 34) 0%, rgba(18, 25, 34, 0.96) 19%, rgba(18, 25, 34, 0.52) 49%, rgba(18, 25, 34, 0.95) 100%), linear-gradient(rgba(18, 25, 34, 0) 0%, rgba(18, 25, 34, 0.14) 66%, rgb(18, 25, 34) 100%), var(--editable-bg, url("../img/main-2.png")) center center / cover no-repeat;
}

.hero::after {
  display: none;
}

.hero__content {
  width: min(100%, 1280px);
  display: grid;
  grid-template-columns: 270px 325px minmax(0, 1fr);
  column-gap: 0;
  align-items: center;
}

.hero.hero_pr .hero__content {
  margin-top: 80px;
}

.hero h1,
h2 {
  margin: 0;
  font-family: "RF Dewi", Arial, sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  grid-column: 1 / 3;
  grid-row: 1;
  max-width: 470px;
  font-size: var(--hero-title-size, 51px);
  line-height: 1.2;
}

.hero.hero_pr h1 {
  max-width: 100%;
}

.hero__subtitle {
  display: inline-flex;
  grid-column: 1 / 3;
  grid-row: 2;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: 500px;
  margin-top: 22px;
  margin-left: 0;
  padding: 20px 34px;
  color: var(--white);
  border: 1px solid #364b63;
  border-radius: 68px;
  font-family: "RF Dewi", Arial, sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none;
  vertical-align: top;
}

.hero__line {
  grid-column: 1;
  grid-row: 3;
  width: 160px;
  height: 4px;
  margin: 22px 0 42px;
  background: var(--accent);
  border-radius: 999px;
}

.hero p {
  grid-column: 1 / 3;
  grid-row: 4;
  max-width: 570px;
  margin: 0 0 77px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.2;
}

.hero .btn {
  grid-column: 1;
  grid-row: 5;
  width: 270px;
  min-width: 270px;
  min-height: 65px;
  gap: 10px;
  padding: 20px 34px;
  font-family: "RF Dewi", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 68px;
}

.hero .btn::after {
  display: none;
}

main {
  padding-top: 0;
}

section {
  margin-bottom: 150px;
}

h2 {
  margin-bottom: 58px;
  font-size: 58px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 58px;
}

.section-head h2 {
  margin-bottom: 0;
}

.dark-sections {
  padding: 152px 0 150px;
  color: var(--white);
  background: #14283a;
}

.dark-sections section:last-child {
  margin-bottom: 0;
}

.dark-sections h2 {
  color: var(--white);
}

.about__text {
  max-width: 830px;
  margin: 0 0 66px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.25;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  min-height: 246px;
  padding: 26px 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.card h3,
.advantages__card strong,
.products__card p,
.projects__right h3 {
  margin: 0;
  font-family: "RF Dewi", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.12;
}

/*.grid .card:last-child {
  grid-column: span 2;
}*/

.card h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 19px;
  text-transform: uppercase;
}

.card p,
.card li,
.advantages__card p,
.products__card span,
.projects__right p,
.contacts__links p,
.footer p,
.footer a {
  color: var(--muted);
}

.card p,
.card li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.22;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 76px;
}

.advantages__card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.advantages__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 32px;
  background: #e4e7ea;
  border-radius: 50%;
}

.advantages__icon--image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e4e7ea;
  border-radius: 50%;
}

.advantages__icon--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.advantages__card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 18px;
}

.advantages__card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.24;
}

.products {
  margin-top: 150px;
}

.products__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -22px 0 36px;
}

.products__tags button {
  padding: 14px 22px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
}

.products__tags button:hover {
  border-color: #cfd6de;
}

.products__tags button.is-active {
  color: var(--white);
  background: var(--dark);
  border-color: var(--dark);
}

.products__flex {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.products__card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.products__card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.products__card .btn {
  cursor: pointer;
}

.products__card.is-hidden {
  display: none;
}

.products__card img {
  width: 100%;
  aspect-ratio: 477 / 340;
  object-fit: cover;
}

.products__card p {
  min-height: 104px;
  margin: 0;
  padding: 28px 28px 20px;
  font-size: 22px;
}

.products__card .btn {
  align-self: flex-start;
  margin: auto 28px 30px;
}

.projects__controls {
  display: flex;
  gap: 12px;
}

.projects__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  color: var(--white);
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 50%;
}

.projects__arrow:hover {
  transform: translateY(-1px);
  background: #e63600;
  border-color: #e63600;
}

.projects__arrow:disabled {
  cursor: default;
  opacity: 0.42;
  transform: none;
}

.projects__slider {
  overflow: hidden;
}

.projects__track {
  display: flex;
  gap: 20px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.projects__list {
  display: grid;
  gap: 28px;
}

.projects__list .projects__card {
  flex: initial;
}

.projects__card {
  display: grid;
  flex: 0 0 100%;
  overflow: hidden;
  grid-template-columns: minmax(320px, 584px) 1fr;
  gap: 34px;
  min-height: 550px;
  padding: 54px 58px;
  background: var(--white);
  border: 1.5px solid #FFFFFF;
  border-radius: 8px;
  box-shadow: 0px 31px 19px 0px #00000008;
}

.projects__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #d9d9d9;
  border-radius: 8px;
}

.projects__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4px 0 20px;
}

.projects__right h3 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(34px, 4vw, 42px);
}

.projects__right .btn {
  align-self: flex-start;
  min-width: 287px;
  min-height: 64px;
  padding: 18px 34px;
  border-color: var(--white);
}

.projects__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.projects__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #d8dde2;
  border: 0;
  border-radius: 50%;
}

.projects__dot.is-active {
  width: 34px;
  background: var(--accent);
  border-radius: 999px;
}

.contacts img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.contacts__item {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 620px);
  gap: 48px;
  margin-top: 34px;
  padding: 78px 80px;
  color: var(--white);
  background: var(--dark);
  border-radius: 8px;
}

.contacts__item h2 {
  margin-bottom: 28px;
  color: var(--white);
}

.contacts__text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
}

.contacts__links {
  display: grid;
  align-content: start;
  gap: 22px;
}

.contacts__title {
  color: var(--white);
  font-family: "RF Dewi", Arial, sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.contacts__links p,
.contacts__links a:not(.contacts__title) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 72px;
  padding: 50px 80px 72px;
  color: var(--white);
  background: var(--dark);
  border-radius: 8px 8px 0 0;
}

.footer__item,
.footer__text {
  display: grid;
  gap: 24px;
}

.footer__item {
  max-width: 620px;
}

.footer__details {
  display: grid;
  max-width: 590px;
  gap: 7px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.32;
}

.footer__details p {
  margin: 0;
}

.footer__details p > span:first-child {
  display: block;
  margin: 0 0 2px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.footer__details [data-content] {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-transform: none;
}

.footer__item img {
  width: 208px;
}

.footer p,
.footer a {
  margin: 0;
  font-size: 18px;
  color: var(--white);
}

.footer__item > p,
.footer__text > a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.inner-hero {
  padding: 88px 0 110px;
  color: var(--white);
  background: var(--dark);
}

.inner-hero h1 {
  max-width: 900px;
  margin: 0 0 34px;
  font-family: "RF Dewi", Arial, sans-serif;
  font-size: clamp(46px, 5.6vw, 86px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.inner-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 22px;
}

.page-main {
  padding: 110px 0 0;
}

.contacts-page {
  margin-bottom: 110px;
}

/*.video-slider {
  overflow: hidden;
  margin-bottom: 120px;
}*/

.video-slider__track {
  display: flex;
  transition: transform 0.35s ease;
}

.video-slider__slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(520px, 2fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: start;
}

.video-slider__media {
  position: relative;
  min-height: 502px;
  overflow: hidden;
  background: #d9d9d9;
}

.video-slider__media img,
.video-slider__media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 502px;
  object-fit: cover;
}

.video-slider__media img {
  filter: grayscale(1);
}

.video-slider__media video {
  background: #101820;
}

.video-slider__media.is-playing .video-slider__play {
  opacity: 0;
  pointer-events: none;
}

.video-slider__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116px;
  height: 116px;
  background: var(--accent);
  border: 0;
  border-radius: 0;
  transform: translate(-50%, -50%);
}

.video-slider__play::before {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  content: "";
  border-top: 34px solid transparent;
  border-bottom: 34px solid transparent;
  border-left: 42px solid var(--white);
  transform: translate(-50%, -50%);
}

.video-slider__content {
  padding-top: 2px;
}

.video-slider__content h3 {
  margin: 0 0 32px;
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.video-slider__content p {
  max-width: 360px;
  margin: 0;
  color: #05080b;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.18;
}

.video-slider__controls {
  display: flex;
  gap: 8px;
  margin-top: 72px;
}

.video-slider__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: 8px;
}

.video-slider__arrow:disabled {
  color: rgba(255, 255, 255, 0.38);
  background: #3a5773;
}

.product-detail-page {
  padding: 64px 0 0;
  color: #101820;
  background: var(--white);
}

.product-back {
  display: inline-flex;
  margin-bottom: 34px;
  color: #101820;
  font-size: 14px;
  line-height: 1;
}

.details {
  display: grid;
  grid-template-columns: minmax(420px, 565px) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 124px;
}

.details__picture {
  position: relative;
  overflow: hidden;
  min-height: 435px;
  background: #f7f8f9;
  border-radius: 8px;
  box-shadow: 0 24px 52px rgba(18, 25, 34, 0.08);
}

.details__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
}

.details__picture img {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 435px;
  object-fit: contain;
}

.details__controls {
  position: absolute;
  bottom: 0;
  left: 28px;
  display: flex;
  gap: 8px;
}

.details__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: var(--white);
  background: #3a5773;
  border: 0;
  font-size: 22px;
  line-height: 1;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.details__arrow--next {
  background: var(--accent);
}

.details__content {
  display: grid;
  align-content: start;
  min-height: 435px;
  padding-top: 12px;
  align-content: space-between;
}

.details h3,
.text-products h3,
.technical h3 {
  margin: 0;
  font-family: "RF Dewi", Arial, sans-serif;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.details h3 {
  max-width: 500px;
  font-size: 27px;
}

.details__btn {
  align-self: end;
  width: 230px;
  min-width: 230px;
  min-height: 58px;
  padding: 17px 24px;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
}

.details__btn svg {
  width: 24px;
  height: 24px;
}

.product-video {
  margin: -72px 0 110px;
}

.product-video video {
  display: block;
  width: 100%;
  max-height: 640px;
  background: #101820;
  border-radius: 8px;
  object-fit: contain;
}

.text-products {
  margin-bottom: 118px;
}

.text-products h3 {
  margin-bottom: 42px;
  font-size: 30px;
}

.text-products p {
  margin: 0;
  color:  #121922;
  font-size: 17px;
  line-height: 1.32;
}

.technical {
  margin-bottom: 150px;
}

.technical__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.technical h3 {
  font-size: 30px;
}

.technical__title a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 157px;
  min-height: 48px;
  padding: 15px 26px;
  color: var(--white);
  background: #3a5773;
  border-radius: 68px;
  font-size: 13px;
  line-height: 1;
}

.technical__table {
  overflow: hidden;
  margin-bottom: 102px;
}

.technical__table table {
  width: 100%;
  border-collapse: collapse;
  color: #26313d;
  font-size: 12px;
  line-height: 1.2;
}

.technical__table th {
  height: 48px;
  padding: 13px 22px;
  color: var(--white);
  background: var(--dark);
  font-weight: 100;
  text-align: center;
  font-size: 19px;
}

.technical__table th:nth-child(2),
.technical__table td:nth-child(2) {
  text-align: left;
}

.technical__table td {
  min-height: 42px;
  padding: 12px 22px;
  text-align: center;
  vertical-align: middle;
 color: #121922;
font-size: 17px;
}

.technical__table tbody tr:nth-child(odd) {
  background: #f0f0f0;
}

.technical__table tbody tr:nth-child(even) {
  background: #fafafa;
}

.technical__table th:first-child,
.technical__table td:first-child {
  width: 12%;
}

.technical__table th:nth-child(3),
.technical__table td:nth-child(3) {
  width: 16%;
}

.technical__table th:last-child,
.technical__table td:last-child {
  width: 14%;
}

.technical__img {
  display: flex;
  justify-content: center;
}

.technical__img img {
  display: block;
  width: min(100%, 1040px);
  height: auto;
}

.request-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  min-height: 100dvh;
  padding: 48px 24px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px);
}

.request-modal.is-open {
  display: flex;
}

.request-modal__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

.request-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 617px);
  min-height: 674px;
  align-content: center;
  padding: 116px 93px 90px;
  background: rgba(18, 25, 34, 0.96);
  border-radius: 56px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.32);
}

.request-modal__close {
  position: absolute;
  top: 42px;
  right: 42px;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
}

.request-modal__close span {
  position: absolute;
  top: 50%;
  left: 4px;
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
}

.request-modal__close span:first-child {
  transform: rotate(45deg);
}

.request-modal__close span:last-child {
  transform: rotate(-45deg);
}

.request-modal label {
  position: relative;
  display: block;
  margin-bottom: 16px;
}

.request-modal label span {
  position: absolute;
  top: 50%;
  left: 38px;
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.request-modal input {
  width: 100%;
  height: 80px;
  padding: 24px 38px 16px;
  color: var(--text);
  background: #e9f2ff;
  border: 1.5px solid rgba(17, 24, 32, 0.42);
  border-radius: 8px;
  font: inherit;
  font-size: 20px;
  outline: none;
}

.request-modal input:focus {
  border-color: var(--accent);
}

.request-modal input:not(:placeholder-shown) + span {
  opacity: 0;
}

.request-modal__submit {
  width: 100%;
  min-height: 80px;
  margin-top: 42px;
  font-family: "RF Dewi", Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

body.modal-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(calc(100% - 48px), 680px);
  padding: 20px 22px;
  color: var(--white);
  background: var(--dark);
  border: 1px solid rgba(255, 60, 0, 0.55);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(16, 24, 32, 0.26);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.35;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cookie-banner__actions a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  white-space: nowrap;
}

.cookie-banner__actions button {
  min-width: 128px;
  min-height: 48px;
  padding: 14px 24px;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.legal-page {
  padding: 72px 0 120px;
  color: #121922;
}

.legal-page h1 {
  margin: 0 0 32px;
  font-family: "RF Dewi", Arial, sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.legal-page p {
  max-width: 920px;
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.45;
}

.details {
  display: flex;
}

.product-detail-page .details {
  display: grid;
}

@media (max-width: 1180px) {
  .header__item {
    position: relative;
    flex-wrap: nowrap;
  }

  .header__menu {
    display: none;
  }

  .header__item > .btn {
    order: 2;
    margin-left: auto;
  }

  .header__toggle {
    order: 3;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 7px;
    background: transparent;
    border: 0;
  }

  .header__toggle span {
    display: block;
    width: 37px;
    height: 3px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
  }

  .is-menu-open .header__menu {
    position: fixed;
    top: 127px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    align-content: start;
    width: 100vw;
    max-height: calc(100dvh - 127px);
    padding: 48px calc((100vw - min(100% - 32px, 1560px)) / 2 + 40px);
    gap: 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(23, 32, 44, 0.98);
    border-radius: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  }

  .is-menu-open .header__menu a {
    font-size: 24px;
    line-height: 1.2;
    text-align: left;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .grid,
  .products__flex {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid .card:last-child {
    grid-column: span 1;
  }

  .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 32px, 1560px);
  }

  .header {
    padding: 16px 0;
  }

  .site-top {
    padding-top: 0;
  }

  .logo,
  .footer__item img {
    width: 156px;
  }

  .header__item {
    gap: 16px;
  }

  .header__item > .btn {
    margin-left: auto;
  }

  .header__menu {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 16px;
    gap: 18px;
    border-radius: 8px;
  }

  .is-menu-open .header__menu {
    top: 84px;
    max-height: calc(100dvh - 84px);
  }

  .header .btn {
    min-width: 0;
    min-height: 52px;
    padding: 16px 24px;
    font-size: 16px;
  }

  .hero {
    min-height: 690px;
    padding: 84px 0 62px;
  }

  .hero__content {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__subtitle,
  .hero__line,
  .hero p,
  .hero .btn {
    grid-column: 1;
    grid-row: auto;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(18, 25, 34, 0.98) 0%, rgba(18, 25, 34, 0.78) 66%, rgba(18, 25, 34, 0.32) 100%),
      var(--editable-bg, url("../img/main.png")) center / cover no-repeat;
  }

  .hero.hero_pr::before {
    background: linear-gradient(90deg, rgba(18, 25, 34, 0.98) 0%, rgba(18, 25, 34, 0.78) 66%, rgba(18, 25, 34, 0.32) 100%),
      var(--editable-bg, url("../img/main-2.png")) center / cover no-repeat;
  }

  .hero p {
    font-size: 18px;
  }

  .hero__subtitle {
    width: fit-content;
    min-width: 0;
    min-height: 68px;
    margin-top: 18px;
    margin-left: 0;
    padding: 18px 28px;
    transform: none;
  }

  .hero__line {
    width: 180px;
    height: 4px;
    margin: 28px 0 32px;
  }

  .dark-sections {
    padding: 90px 0;
  }

  section {
    margin-bottom: 90px;
  }

  h2,
  .section-head {
    margin-bottom: 34px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid,
  .advantages,
  .video,
  .products__flex,
  .projects__card,
  .contacts__item {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
    padding: 26px;
  }

  .video-slider__slide {
    grid-template-columns: 1fr;
  }

  .video-slider {
    margin-bottom: 90px;
  }

  .video-slider__media,
  .video-slider__media img,
  .video-slider__media video {
    min-height: 280px;
  }

  .video-slider__content h3 {
    font-size: 42px;
  }

  .video-slider__play {
    width: 82px;
    height: 82px;
  }

  .video-slider__play::before {
    border-top-width: 24px;
    border-bottom-width: 24px;
    border-left-width: 30px;
  }

  .products__tags {
    margin-top: -8px;
  }

  .projects__card {
    min-height: 0;
    padding: 24px;
    gap: 24px;
  }

  .projects__card img {
    max-height: 320px;
  }

  /*.projects__right,*/
  .contacts__item,
  .footer {
    padding: 30px;
  }

  .projects__controls {
    width: 100%;
  }

  .projects__arrow {
    width: 60px;
    height: 60px;
  }

  .projects__right .btn {
    min-width: 287px;
    min-height: 64px;
  }

  .projects__right div {
    margin-bottom: 15px;
  }

  .footer {
    flex-direction: column;
  }

  .request-modal__dialog {
    width: min(100%, 617px);
    min-height: 0;
    padding: 96px 24px 40px;
    border-radius: 36px;
  }

  .request-modal__close {
    top: 30px;
    right: 30px;
  }

  .request-modal label {
    margin-bottom: 18px;
  }

  .request-modal input {
    height: 72px;
    padding: 22px 28px 16px;
    font-size: 20px;
    border-radius: 8px;
  }

  .request-modal label span {
    left: 28px;
    font-size: 20px;
  }

  .request-modal__submit {
    min-height: 72px;
    margin-top: 32px;
  }

  .product-detail-page {
    padding-top: 48px;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 82px;
  }

  .details__picture,
  .details__picture img {
    min-height: 320px;
    height: auto;
  }

  .details__track {
    min-height: 320px;
  }

  .details__content {
    min-height: 0;
    padding-top: 0;
    gap: 34px;
  }

  .details h3 {
    max-width: none;
    font-size: 32px;
  }

  .details__btn {
    align-self: start;
  }

  .text-products,
  .technical {
    margin-bottom: 90px;
  }

  .technical__title {
    align-items: flex-start;
    flex-direction: column;
  }

  .technical__table {
    overflow-x: auto;
    margin-bottom: 70px;
  }

  .technical__table table {
    min-width: 760px;
  }
}

@media (max-width: 540px) {
  .product-video{

    margin-top: 20px;
  }
  .cookie-banner {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .cookie-banner__actions {
    justify-content: space-between;
  }

  .cookie-banner__actions button {
    min-width: 120px;
  }

  .legal-page {
    padding: 42px 0 78px;
  }

  .legal-page h1 {
    font-size: 28px;
  }

  .legal-page p {
    font-size: 16px;
  }

  .advantages {
    text-align: center;
  }
  .advantages__icon {
    margin: 0 auto;
    margin-bottom: 14px;
  }
  .site-top {
    padding-top: 0;
    min-height: 0;
    background: var(--dark);
  }

  .site-top--inner {
    padding-top: 0;
    min-height: 0;
  }

  .container {
    width: min(100% - 38px, 1560px);
  }

  .header {
    right: 0;
    left: 0;
    padding: 0;
  }

  .header.container {
    width: 100%;
    max-width: none;
  }

  .header::before {
    width: 100vw;
  }

  .header__item {
    position: relative;
    justify-content: space-between;
    min-height: 72px;
  }

  .header.container .header__item {
    width: min(100% - 38px, 1560px);
    margin: 0 auto;
  }

  .header .logo {
    width: 111px;
  }

  .footer__item img {
    width: 156px;
  }

  .header__menu,
  .header__item > .btn {
    display: none;
  }

  .is-menu-open .header__menu {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    align-content: start;
    width: 100vw;
    max-height: calc(100dvh - 72px);
    padding: 42px calc((100vw - min(100% - 38px, 1560px)) / 2 + 40px);
    gap: 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(23, 32, 44, 0.98);
    border-radius: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .is-menu-open .header__menu a {
    font-size: 24px;
    line-height: 1.2;
    text-align: left;
  }

  .header__toggle {
    position: absolute;
    right: 0;
    top: 50%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    gap: 7px;
    background: transparent;
    border: 0;
    transform: translateY(-50%);
  }

  .header__toggle span {
    display: block;
    width: 37px;
    height: 3px;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 999px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding: 18px 24px;
    white-space: normal;
  }

  .hero {
    min-height: 650px;
    padding: 54px 0 48px;
    text-align: center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(18, 25, 34, 0.9) 0%, rgba(18, 25, 34, 0.68) 30%, rgba(18, 25, 34, 0.22) 62%, rgba(18, 25, 34, 0.82) 100%),
      linear-gradient(90deg, rgba(18, 25, 34, 0.86) 0%, rgba(18, 25, 34, 0.2) 50%, rgba(18, 25, 34, 0.86) 100%),
      var(--editable-bg, url("../img/main.png")) 50% 58% / auto 100% no-repeat;
    filter: grayscale(1);
  }

  .hero.hero_pr::before {
    background: linear-gradient(180deg, rgba(18, 25, 34, 0.9) 0%, rgba(18, 25, 34, 0.68) 30%, rgba(18, 25, 34, 0.22) 62%, rgba(18, 25, 34, 0.82) 100%),
      linear-gradient(90deg, rgba(18, 25, 34, 0.86) 0%, rgba(18, 25, 34, 0.2) 50%, rgba(18, 25, 34, 0.86) 100%),
      var(--editable-bg, url("../img/main-2.png")) center / auto 100% no-repeat;
    filter: grayscale(1);
  }

  .hero::after {
    display: none;
  }

  .hero__content {
    min-height: 548px;
    align-content: start;
    justify-items: center;
  }

  .hero .btn {
    align-self: end;
    width: 100%;
    max-width: 426px;
    min-width: 0;
    min-height: 64px;
    margin-top: 38px;
    padding: 18px 34px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .hero .btn::after {
    display: none;
  }

  .products__card .btn {
    align-self: center;
    width: min(344px, calc(100% - 32px));
    /*min-height: 100px;
    margin: 18px auto 40px;*/
    padding: 16px 8px;
    gap: 28px;
    border-radius: 59px;
    /*font-size: 28px;*/
    font-weight: 100;
    text-transform: none;
  }

  .products__card .btn svg {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: var(--hero-title-size, 33px);
    line-height: 1.32;
    overflow-wrap: normal;
  }

  .hero--subtitle-lower .hero__subtitle {
    margin-top: auto;
  }

  h2 {
    font-size: 33px;
    line-height: 1.32;
    text-align: center;
  }

  .hero__subtitle {
    width: 100%;
    max-width: 500px;
    height: 65px;
    min-height: 0;
    margin-top: 22px;
    padding: 20px 34px;
    font-size: 18px;
    font-weight: 600;
    gap: 10px;
    white-space: normal;
  }

  .projects__card {
    width: 100%;
    min-width: 0;
    padding: 18px;
    gap: 20px;
  }

  .projects__card > div,
  .projects__right,
  .projects__right > div {
    min-width: 0;
  }

  .projects__card img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .projects__right {
    padding: 0;
  }

  .projects__right h3 {
    font-size: clamp(25px, 8.2vw, 32px);
    line-height: 1.08;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .projects__right p {
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .projects__right .btn {
    width: 100%;
    min-width: 0;
  }

  .hero__line {
    display: none;
  }

  .hero p {
    max-width: 344px;
    margin: 32px auto 0;
    font-size: 18px;
    line-height: 1.25;
  }

  .contacts__title {
    font-size: 31px;
  }

  .contacts {
    overflow: hidden;
    margin-bottom: 98px;
  }

  /*.contacts > div:first-child {
    display: none;
  }*/

  .contacts__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% - 12px);
    max-width: 100%;
    /*min-height: 807px;*/
    margin: 66px auto 0;
    padding: 104px 24px 96px;
    gap: 0;
    text-align: center;
    border-radius: 51px;
  }

  .contacts__text,
  .contacts__links {
    display: contents;
  }

  .contacts__item h2 {
    order: 1;
    margin: 0 0 54px;
    font-size: 35px;
    line-height: 1;
  }

  .contacts__title {
    order: 2;
    margin-bottom: 56px;
    min-width: 0;
    max-width: 100%;
    font-size: 28px;
    line-height: 1;
    white-space: nowrap;
  }

  .contacts__text p {
    order: 3;
    min-width: 0;
    margin: 0 0 54px;
    color: var(--white);
    font-size: 26px;
    line-height: 1;
  }

  .contacts__links p,
  .contacts__links a:not(.contacts__title) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    color: rgba(255, 255, 255, 0.58);
    font-size: 25px;
    line-height: 1.23;
    overflow-wrap: anywhere;
  }

  .contacts__links p {
    order: 4;
    margin-bottom: 54px;
    font-size: 18px;
  }

  .contacts__links a:not(.contacts__title) {
    order: 5;
  }

  .product-detail-page {
    padding-top: 16px;
  }

  .product-back {
    margin-bottom: 18px;
  }

  .details {
    gap: 18px;
    margin-bottom: 64px;
  }

  .details__content {
    order: -1;
    gap: 0;
  }

  .details__picture {
    min-height: 250px;
  }

  .details__picture img {
    height: 250px;
  }

  .details__track {
    min-height: 250px;
  }

  .details__arrow {
    width: 42px;
    height: 42px;
  }

  .details__controls {
    left: 16px;
  }

  .details h3 {
    max-width: 300px;
    font-size: 19px;
    line-height: 1.06;
  }

  .details__btn {
    display: none;
  }

  .footer {
    align-items: center;
    margin-right: calc((100% - 100vw) / 2);
    margin-left: calc((100% - 100vw) / 2);
    padding: 44px 16px 40px;
    text-align: center;
    border-radius: 0;
  }

  .footer__item,
  .footer__text,
  .footer__details {
    justify-items: center;
  }

  .footer__details {
    max-width: 360px;
    margin-right: 0;
    font-size: 18px;
    text-align: center;
  }

  .footer__text .btn {
    width: 287px;
    min-width: 287px;
    min-height: 64px;
    padding: 16px 8px;
    border-radius: 59px;
    font-size: 18px;
    font-weight: 100;
    text-transform: none;
  }

  .text-products h3,
  .technical h3 {
    font-size: 26px;
  }

  .text-products p {
    font-size: 12px;
  }
}
