* {
  padding: 0px;
  margin: 0px;
}

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

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

td {
  padding: 5px;
  outline: 1px solid black;
}

aside,
nav,
footer,
header,
section {
  display: block;
}

html,
body {
  height: 100%;
  min-width: 320px;
}

body {
  line-height: 1;
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: "Roboto", sans-serif;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  max-width: 100%;
  vertical-align: top;
  font-size: 10px;
  line-height: 1.1;
}

video {
  display: block;
  max-width: 100%;
}

body._lock {
  overflow: hidden;
}

.m-wrapper {
  color: #333;
  font-size: 14px;
  background: #fff;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

p {
  padding: 0;
  margin: 0;
}

.advantages {
  width: auto;
}

section._mb,
div._mb,
li._mb {
  margin-bottom: 96px;
}
@media (max-width: 1439.98px) {
  section._mb,
  div._mb,
  li._mb {
    margin-bottom: 72px;
  }
}
@media (max-width: 767.98px) {
  section._mb,
  div._mb,
  li._mb {
    margin-bottom: 56px;
  }
}
@media (max-width: 359.98px) {
  section._mb,
  div._mb,
  li._mb {
    margin-bottom: 40px;
  }
}
section._mt,
div._mt,
li._mt {
  margin-top: 96px;
}
@media (max-width: 1439.98px) {
  section._mt,
  div._mt,
  li._mt {
    margin-top: 72px;
  }
}
@media (max-width: 767.98px) {
  section._mt,
  div._mt,
  li._mt {
    margin-top: 56px;
  }
}
@media (max-width: 359.98px) {
  section._mt,
  div._mt,
  li._mt {
    margin-top: 40px;
  }
}
section._pt,
div._pt,
li._pt {
  padding-top: 96px;
}
@media (max-width: 1439.98px) {
  section._pt,
  div._pt,
  li._pt {
    padding-top: 72px;
  }
}
@media (max-width: 767.98px) {
  section._pt,
  div._pt,
  li._pt {
    padding-top: 56px;
  }
}
@media (max-width: 359.98px) {
  section._pt,
  div._pt,
  li._pt {
    padding-top: 40px;
  }
}
section._pb,
div._pb,
li._pb {
  padding-bottom: 96px;
}
@media (max-width: 1439.98px) {
  section._pb,
  div._pb,
  li._pb {
    padding-bottom: 72px;
  }
}
@media (max-width: 767.98px) {
  section._pb,
  div._pb,
  li._pb {
    padding-bottom: 56px;
  }
}
@media (max-width: 359.98px) {
  section._pb,
  div._pb,
  li._pb {
    padding-bottom: 40px;
  }
}

._op0 {
  opacity: 0;
}

._lc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: clip;
}
._lc--1 {
  -webkit-line-clamp: 1;
}
._lc--2 {
  -webkit-line-clamp: 2;
}
._lc--3 {
  -webkit-line-clamp: 3;
}
._lc--4 {
  -webkit-line-clamp: 4;
}

.m-wrapper a.btn,
.m-wrapper button.btn {
  display: inline-flex;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  background-color: #e31235;
  padding: 12px 24px;
  border-radius: 8px;
  transition: background-color 0.3s ease 0s;
}
@media (min-width: 992px) {
  .m-wrapper a.btn:hover,
  .m-wrapper button.btn:hover {
    background-color: #bd0f2c;
  }
  .m-wrapper a.btn:focus,
  .m-wrapper button.btn:focus {
    background-color: #9c0c24;
  }
}
.m-wrapper a.btn._fw,
.m-wrapper button.btn._fw {
  width: 100%;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
}

.prm-grid {
}
.prm-grid__container {
  max-width: 991px;
  margin-inline: auto;
}
.prm-grid__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.prm-grid__item {
  max-width: 100%;
  overflow: hidden;
}

.prm-grid__item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition-duration: 0.3s;
}

@media (min-width: 991.98px) {
  .prm-grid__item:hover img{
    scale: 1.1;
  }
}

@media (min-width: 767.98px) {
  .prm-grid__item:nth-child(1) {
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .prm-grid__item:nth-child(2) {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .prm-grid__item:nth-child(3) {
    grid-column: 2/3;
    grid-row: 1/3;
  }
}

@media (max-width: 767.98px) {
  .prm-grid__container {
    max-width: 100%;
    padding: 0 60px;
  }
  .prm-grid__items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .prm-grid__item:nth-child(2) {
    grid-row: 2/3;
  }
  .prm-grid__item:nth-child(3) {
    grid-row: 1/3;
  }

  .prm-grid__item:nth-child(3) {
    grid-row: 1/2;
  }
}

.prm-grid__item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
}

.prm-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  width: 85%;
  max-width: 1000px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.video-player {
  width: 100%;
  height: 90vh;
  display: block;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
}

.close:hover {
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .prm-grid__item {
      width: 100%;
  }
  
  .video-player {
      height: 50vh;
  }
}

.page {
  flex: 1 1 auto;
  z-index: 2;
}
