:root {
    --primary: #01FFFF;
    --gray: #858585;
    --dark: #111111;
    --light: #F1F1F1;
}

@font-face {
    font-family: 'ImpactImported';
    src: url('impact.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Barlow', sans-serif;
}

html {
    scrollbar-width: none;
}

body {
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: opacity 0.5s;
    overflow-x: hidden;
    font-weight: 400;
    color: var(--dark);
}

.body-wrapper {
    overflow-x: hidden;
    width: 100vw;
    max-width: 2560px;
    margin: 0 auto;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

.container {
    padding: 0;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

strong {
    font-weight: 600;
}

h1 {
    font-size: 4.5rem;
    margin: 0;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.05em;
    font-family: 'ImpactImported', 'Barlow', sans-serif;
    text-transform: uppercase;
}

h2 {
    font-size: 4rem;
    line-height: 1.25;
    font-weight: 500;
    margin-bottom: 5rem;
    width: fit-content;
    letter-spacing: 0.05em;
    font-family: 'ImpactImported', 'Barlow', sans-serif;
    text-transform: uppercase;
    padding-left: 1.25rem;
}

.rects {
    display: flex;
    gap: 2.75rem;
    opacity: 0.4;
    pointer-events: none;
}

.title .rects {
    margin-bottom: -5.25rem;
}

.title h2 {
    display: block;
    overflow: hidden;
    height: 4.5rem;
    position: relative;
    z-index: 1;
}

.title h2 span {
    display: inline-block;
    font-family: 'ImpactImported', 'Barlow', sans-serif;
}

.rects .rect {
    width: 5.5rem;
    height: 5.5rem;
    background-color: var(--primary);
}

h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 1.125rem;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

h5 {
    font-weight: 600;
    font-size: 1rem;
}

h6 {
    font-weight: 600;
    font-size: 1rem;
}

p,
li {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

p:last-child {
    margin-bottom: 0;
}

li {
    margin-left: 1rem;
    margin-bottom: 0;
}

ul,
ol {
    margin-bottom: 1.25rem;
}

ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

.article h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-left: 0;
}

.article h3 {
    font-size: 2rem;
    font-weight: 600;
}

.article h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.875rem;
}

.article h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.25rem 0 0.875rem;
}

.article h6 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.875rem;
}

.article img:not(.bgshape) {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    margin: 1.25rem 0;
    /* border-radius: 10px; */
}

section {
    padding: 120px 40px 0;
    position: relative;
    max-width: 2560px;
}

.primary-link {
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1;
    display: block;
    width: fit-content;
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
    position: relative;
    font-family: 'ImpactImported', 'Barlow', sans-serif;
    letter-spacing: 0.025em;
    font-weight: 500;
    border: 2px solid var(--dark);
    color: var(--dark);
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

.primary-link.black {
    background-color: var(--dark);
    color: white;
}

.primary-link:hover,
.primary-link.black:hover {
    background-color: var(--gray);
    border-color: var(--gray);
    color: white;
}

.primary-link.gray {
    background-color: var(--gray);
    border-color: var(--gray);
    color: white;
}

.primary-link.gray:hover {
    background-color: var(--dark);
    border-color: var(--dark);
    color: white;
}

.primary-link.center {
    margin: 60px auto 0;
}

::selection {
    background: #AEFFFF;
    color: var(--dark);
}

::-moz-selection {
    background: #AEFFFF;
    color: var(--dark);
}

.rccookie-container {
    background-color: #FFFFFFBB;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 10px;
}

.rccookie-container .primary-link,
.rccookie-modal .primary-link {
    background-color: var(--primary);
    color: white;
}

.rccookie-container .secondary-link {
    color: var(--dark);
}

.rccookie-modal .modal-content {
    border-radius: 15px;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.custom-control-input:not(:disabled):active~.custom-control-label::before,
.custom-control-input:not(:disabled):focus~.custom-control-label::before {
    border-color: var(--primary) !important;
    box-shadow: none !important;
}

.custom-control-label::before {
    border: 1px solid var(--dark);
}

.slider {
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
}

.slider:hover {
    background: var(--primary);
    border-color: var(--primary) !important;
    color: white;
}

.sliderMask {
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
}

.sliderContainer_success .slider {
    top: -1px;
    border: 1px solid var(--primary);
    background-color: var(--primary) !important;
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    display: none;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: opacity 0.4s;
    z-index: 996;
}

.overlay.active {
    opacity: 1;
}

a {
    transition: color 0.3s;
    text-decoration: none;
    cursor: pointer;
    color: var(--dark);
}

a:hover,
a:focus-visible {
    text-decoration: none;
    color: var(--dark);
}

button {
    transition: background-color 0.3s, color 0.3s;
    border: none;
    outline: none;
    cursor: pointer;
    background: transparent;
}

button:focus {
    outline: none !important;
}

.vbox-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vbox-close {
    padding: 20px !important;
    top: 10px !important;
    right: 20px !important;
}

.vbox-next {
    right: 40px !important;
}

.vbox-prev {
    left: 40px !important;
}

.vbox-title {
    display: none !important;
}

/* SIDEBAR OPEN */

.open-sidebar {
    width: 28px;
    height: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    display: none;
}

.open-sidebar .hb {
    border-bottom: 3px solid white;
    border-radius: 99px;
    transition: all 0.45s;
}

.desktop-navbar.scrolled .open-sidebar .hb {
    border-color: var(--primary);
}

.open-sidebar .hb1,
.open-sidebar .hb2 {
    width: 26px;
}

.open-sidebar .hb3 {
    width: 13px;
    margin-left: 12px;
}

.open-sidebar.closed .hb1 {
    transform: rotate(-45deg) translate(-6px, 6px);
    width: 30px;
}

.open-sidebar.closed .hb2 {
    margin-right: -100%;
    opacity: 0;
}

.open-sidebar.closed .hb3 {
    transform: rotate(45deg) translate(-6px, -6px);
    width: 30px;
    margin-left: 0;
}

/* SIDEBAR */

#sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px !important;
}

@media (min-width: 1281px) {
    #sidebar {
        display: none;
    }
}

#sidebar .lang {
    font-size: 20px;
    color: var(--dark);
    gap: 0.5rem;
}

#sidebar .lang a {
    font-size: 1.125rem;
    color: var(--dark);
    border-color: var(--dark);
    padding-right: 0.5rem;
}

#sidebar,
.navbar-dropdown {
    width: 100%;
    position: fixed;
    right: -100vw;
    top: 66px;
    height: calc(100vh - 66px);
    z-index: 998;
    transition: right 0.45s ease-out;
    overflow: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    padding: 0 20px;
}

#sidebar  {
    background: #FFFFFFDD;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#sidebar.active,
.navbar-dropdown.active {
    right: 0;
}

#sidebar .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    margin-top: -10px;
    height: 100%;
}

#sidebar .links {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#sidebar .links .nav-item {
    width: 100vw;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--dark);
}

#sidebar .links a svg {
    position: absolute;
    right: 25px;
    top: 47%;
    transform: translateY(-50%) rotate(-90deg);
    width: 1.375rem;
}

#sidebar .links a svg path {
    stroke: var(--primary);
    stroke-width: 1;
}

#sidebar .primary-link {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

/* DESKTOP NAVBAR */

.desktop-navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #11111188;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background-color 0.4s;
    padding: 0 40px;
}

.desktop-navbar.scrolled {
    background-color: #FFFFFFDD;
}

.desktop-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.desktop-navbar .logo {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 4rem;
}

.desktop-navbar .logo img {
    position: absolute;
    top: 0;
    left: 0;
    height: 4rem;
    transition: opacity 0.3s;
}

.desktop-navbar .logo .dark {
    opacity: 0;
}

.desktop-navbar.scrolled .logo .dark {
    opacity: 1;
}

.desktop-navbar.scrolled .logo .light {
    opacity: 0;
}

.desktop-navbar .links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-left: 2.5rem;
    margin-left: auto;
}

.desktop-navbar .links .link {
    position: relative;
}

.desktop-navbar .links .nav-item {
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
    color: white;
    letter-spacing: 0;
}

.desktop-navbar.scrolled .links .nav-item {
    color: var(--dark);
}

.desktop-navbar .links .nav-item:hover {
    color: white;
}

.desktop-navbar.scrolled .links .nav-item:hover {
    color: var(--dark);
}

.desktop-navbar .links .nav-item::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.4s cubic-bezier(0.01, 0.69, 0.4, 1);
}

.desktop-navbar.scrolled .links .nav-item::after {
    background-color: var(--dark);
}

.desktop-navbar .links .nav-item:hover::after {
    width: 100%;
}

.desktop-navbar .links .nav-item svg {
    width: 0.875rem;
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.desktop-navbar .links .nav-item.active svg {
    transform: rotate(180deg);
}

.desktop-navbar .links .nav-item svg path {
    transition: stroke 0.3s;
    stroke: white;
}

.desktop-navbar.scrolled .links .nav-item svg path {
    stroke: var(--dark);
}

/* .desktop-navbar .buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.desktop-navbar .buttons .item {
    position: relative;
}

.desktop-navbar .buttons a {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

.desktop-navbar .buttons svg {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    vertical-align: baseline;
}

.desktop-navbar .buttons>button:not(.open-sidebar) {
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-navbar .buttons svg * {
    transition: fill 0.3s, stroke 0.3s;
}

.desktop-navbar.scrolled .buttons button:hover svg * {
    stroke: var(--primary);
}

.lang {
    display: flex;
    justify-content: center;
    gap: 0.5vw;
}

.lang a {
    color: white;
    border-right: 1px solid var(--white);
    padding-right: 0.5vw;
}

.desktop-navbar.scrolled .lang a {
    color: var(--dark);
    border-color: var(--dark);
}

.lang a:last-of-type {
    border-right: none;
    padding-right: 0;
}

.lang a.active {
    font-weight: 800;
} */

/* NAVBAR DROPDOWN */

.desktop-navbar .navbar-dropdown {
    position: absolute;
    top: 3.25rem;
    left: 0;
    padding: 0;
    width: fit-content;
    height: fit-content;
    overflow: hidden;
    border-bottom-right-radius: 1rem;
    z-index: 998;
    max-height: 0;
    transition: max-height 0.6s cubic-bezier(0.01, 0.69, 0.4, 1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.desktop-navbar .navbar-dropdown.active {
    z-index: 999;
}

.navbar-dropdown .container {
    display: block;
    padding: 0.5rem 0;
    background-color: #FFFFFFEF;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.desktop-navbar .navbar-dropdown .arrow {
    display: none;
}

.navbar-dropdown .container a {
    display: block;
    font-size: 1rem;
    padding: 0.625rem 1.25rem 0.75rem;
    white-space: nowrap;
    color: var(--dark);
    font-family: 'Bodoni Moda', serif;
    font-weight: 600;
    font-variation-settings: 'opsz' 6;
    letter-spacing: 0;
}

/* KIS LENYÍLÓK */

.desktop-modal {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 40px);
    max-width: 300px;
    background-color: #FFFFFFDD;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
    border-radius: 15px;
    display: none;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    padding: 20px;
}

.desktop-modal.active {
    transform: translate(-50%, 2.5vw);
    opacity: 1;
}

.desktop-modal::before {
    content: '';
    position: absolute;
    top: -17.75px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 21px;
    background-image: url('../images/triangle.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
}

.desktop-modal .cancel,
.navbar-dropdown .cancel {
    position: absolute;
    top: 15px;
    right: 12px;
    padding: 10px;
    cursor: pointer;
    width: 36px;
}

.desktop-modal h4 {
    margin: 0 0 20px;
    text-transform: none;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
}

.desktop-modal form {
    padding: 0;
    width: 100%;
    background-color: transparent;
    gap: 0;
}

.desktop-modal form input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--dark);
    border-radius: 5px;
    margin-bottom: 15px;
    line-height: 1;
}

.desktop-modal .primary-link {
    background-color: var(--primary);
    margin: 0 auto;
}

.desktop-modal .primary-link:hover {
    background-color: var(--primary);
}

/* Állandó */

.flex-content {
    display: flex;
    gap: 80px;
}

.flex-content.center {
    align-items: center;
}

.flex-content.reverse {
    flex-direction: row-reverse;
}

.flex-content .side {
    width: 50%;
}

.flex-content .side > img,
.flex-content .side .image img {
    width: 100%;
}

.card {
    display: block;
    border: none;
    border-radius: 10px;
}

.flex-content .primary-link {
    margin-top: 2rem;
}

.items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
}

.items .item {
    display: flex;
    flex-direction: column;
    width: calc(33.33% - 28px);
    position: relative;
}

.items.two .item {
    width: calc(50% - 20px);
}

.items .item h3,
.items .item h3 a {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-family: 'ImpactImported', 'Barlow', sans-serif;
    letter-spacing: 0.05em;
    font-weight: 500;
    text-transform: uppercase;
}

.item .link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-transform: uppercase;
    font-family: 'ImpactImported', 'Barlow', sans-serif;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111111AA;
    color: white;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.relative {
    position: relative;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.swiper {
    width: 100%;
    position: relative;
}

.swiper-button-prev,
.swiper-button-next {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    z-index: 99;
    cursor: pointer;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 30px;
    font-weight: 600;
    color: var(--gray);
}

.swiper-button-prev::after {
    margin-right: 3px;
}

.swiper-button-next::after {
    margin-left: 1px;
}

.swiper-button-prev {
    left: -54px;
}

.swiper-button-next {
    right: -54px;
}

.swiper-slide {
    height: 250px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-wrapper {
    align-items: center;
}

/* LOADER */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    z-index: 9999;
    transition: opacity 0.5s;
}

.loader.end {
    opacity: 0;
}

.loader svg {
    width: 100%;
    height: 100%;
    max-width: 450px;
    max-height: 450px;
}

/* HERO */

.hero {
    width: 100vw;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 180px 40px 200px;
    display: flex;
    justify-content: center;
    color: white;
}

.hero.main-hero {
    padding: 280px 40px 220px;
}

.hero .layer {
    background-color: var(--dark);
    opacity: 0.5;
}

.hero .logo {
    position: absolute;
    top: calc(50% + 0.75rem);
    left: 50%;
    transform: translate(-50%, -50%);
    height: 420px;
    overflow: visible;
}

.logo .S {
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.41;
    max-width: 60rem;
}

.hero.main-hero h1 {
    margin-bottom: 1.25rem;
}

.hero h3 {
    font-size: 2.125rem;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: #DADBD5;
    margin-bottom: 2.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 0;
    max-width: 40rem;
}

.services .items {
    gap: 80px;
}

.services .items .item {
    width: calc(50% - 40px);
    position: relative;
    background-color: var(--light);
    padding: 40px;
    margin-top: 40px;
    padding-bottom: calc(40px + 4rem);
}

.services .items .item .image {
    width: 100%;
    height: 300px;
    margin: -80px auto 30px;
}

.services .items .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services .items .item h3 a {
    font-size: 1.625rem;
}

.services .items .item .primary-link {
    position: absolute;
    bottom: 40px;
    left: 40px;
}

.about .flex-content {
    align-items: flex-start;
}

.about .right.side {
    position: relative;
    padding-bottom: 40px;
}

.about .right.side .rects {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, calc(-50% - 20px)) scale(0.75);
}

.about .right.side::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 60px;
    width: 1200px;
    height: calc(100% + 80px);
    background-color: var(--light);
    z-index: -1;
}

.whyus .items {
    max-width: 900px;
    margin: 0 auto;
    gap: 80px;
}

.whyus .item {
    align-items: center;
    text-align: center;
    width: calc(33.33% - 54px);
}

.whyus .item img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    padding: 14px;
    background-color: var(--primary);
    margin-bottom: 20px;
}

.whyus .item h3 {
    font-size: 1.375rem;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Barlow', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.whyus .logo {
    width: 770px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.products .flex-content {
    gap: 0;
    position: relative;
    box-shadow: 2px 2px 20px 5px #C8C9C932;
    margin-bottom: 100px;
}

.products .flex-content .rects {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%) scale(0.75);
}

.products .flex-content .left img {
    height: 100%;
    object-fit: cover;
}

.products .flex-content .right {
    padding: 40px 7%;
    background: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.products .flex-content .right p,
.products .flex-content .right a {
    font-size: 1.25rem;
    font-weight: 600;
}

.products .flex-content .right a {
    font-size: 1.5rem;
    color: var(--primary);
}

.products .item {
    padding: 25px;
    background-color: white;
    box-shadow: 2px 2px 20px 5px #C8C9C932;
    margin-top: 125px;
    position: relative;
    padding-bottom: calc(25px + 4rem);
}

.products .item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-top: -150px;
    margin-bottom: 25px;
}

.products .item .buttons {
    position: absolute;
    bottom: 25px;
    left: 25px;
    display: flex;
    gap: 1.25rem;
}

.products .item .buttons .primary-link {
    font-size: 1rem;
}

.reviews .monyak {
    position: relative;
    padding: 100px 0;
}

.reviews .monyak .image {
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.reviews .monyak .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviews .monyak .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.reviews .relative {
    background-color: var(--light);
    max-width: 900px;
    margin-left: auto;
}

.reviews .relative .swiper-button-prev {
    left: 40px;
}

.reviews .relative .swiper-button-next {
    right: 40px;
}

.reviews .relative .swiper-slide {
    padding: 80px 160px;
    height: auto;
}

.reviews .relative .swiper-slide p {
    text-align: center;
    font-weight: 500;
    font-style: italic;
}

.reviews .relative .swiper-slide h4 {
    text-align: right;
    margin-top: 2rem;
    font-weight: 600;
}

.reviews .relative .rects {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%) scale(0.75);
}

.references .buttons {
    display: flex;
    justify-content: flex-end;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.references .buttons div {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--gray);
    font-size: 1rem;
}

.references .buttons div img {
    height: 1rem;
}

.references .relative::before {
    content: '';
    position: absolute;
    top: 50%;
    right: calc(100% - 100px);
    transform: translateY(-50%);
    width: 999px;
    height: calc(100% + 120px);
    background-color: var(--light);
    z-index: -1;
}

.references .swiperDiv:not(:first-child) {
    margin-top: 120px;
}

.references .swiperDiv:nth-of-type(even) .relative::before {
    right: auto;
    left: calc(100% - 100px);
}

.references .relative .rects {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%) scale(0.75);
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
}

.references .swiperDiv:nth-of-type(even) .relative .rects {
    left: auto;
    right: 0;
    transform: translate(50%, -50%) scale(0.75);
}

.blog .items .item .image {
    width: calc(100% - 50px);
    height: 250px;
    margin: 0 auto;
    margin-bottom: -60px;
    position: relative;
    z-index: 1;
}

.blog .items .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog .items .item .image .rects {
    position: absolute;
    bottom: -1rem;
    right: -25px;
    transform: scale(0.5);
    transform-origin: bottom right;
}

.blog .items .item .content {
    padding: 90px 25px;
    padding-bottom: calc(20px + 4rem);
    background-color: white;
    height: 100%;
    box-shadow: 2px 2px 20px 5px #C8C9C932;
}

.blog .items .item .content h3 {
    margin-bottom: 0.375rem;
}

.blog .items .item .content .date {
    display: block;
    font-size: 0.875rem;
    color: #444444;
    margin-bottom: 0.75rem;
}

.blog .items .item .content p {
    margin-bottom: 0;
}

.blog .items .item .primary-link {
    position: absolute;
    bottom: 25px;
    left: 25px;
    font-size: 1rem;
}

.contact {
    position: static;
}

.contact .flex-content {
    gap: 0;
    margin-top: 160px;
}

.contact .left,
.contact a {
    color: white;
}

.contact .left {
    position: relative;
    padding-left: 0;
    width: 45%;
}

.contact .left::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -200px;
    width: 1200px;
    height: calc(100% + 160px);
    background-color: #000000A0;
    z-index: -1;
}

.contact .left h4 {
    max-width: 500px;
    letter-spacing: 0.025em;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.contact .left .bg {
    left: auto;
    top: -80px;
    right: -200px;
    max-width: none;
    width: 1200px;
    height: calc(100% + 160px);
    z-index: -2;
}

.contact p {
    margin-bottom: 0.375rem;
}

.contact p:last-of-type {
    margin-bottom: 0;
}

.contact .left h5 {
    margin-top: 2rem;
}

.contact form {
    background-color: var(--light);
    padding: 50px 70px;
}

.contact .left .rects {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(2.75rem, 50%);
    z-index: 1;
}

form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

form input,
form textarea,
form select {
    padding: 0.75rem 1rem 0.875rem;
    outline: none;
    background-color: white;
    color: var(--dark) !important;
    font-size: 1rem;
    width: 100%;
    resize: none;
    border: 1.75px solid var(--dark);
}

form input:nth-of-type(2),
form input:nth-of-type(3) {
    width: calc(50% - 0.625rem);
}

form select {
    appearance: none;
    background-image: url("../images/angle-down-gray.svg");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px;
}

form input::placeholder,
form textarea::placeholder,
form select::placeholder {
    color: var(--dark);
    opacity: 0.5;
}

.form-check {
    margin-left: 32px;
    padding-left: 0 !important;
    width: 100%;
}

.form-check:not(.form-group .form-check):first-of-type {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 0;
    width: 100%;
}

.form-group:first-of-type {
    margin-top: 1rem;
}

.form-check-input {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.form-check-input+label {
    position: relative;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 0;
    color: var(--dark);
}

.form-check-input+label::before {
    content: " ";
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    margin-left: -32px;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 1.75px solid var(--dark);
    transition: 0.3s ease;
}

.form-check-input:checked+label::before {
    background-color: var(--dark);
}

.form-check-input+label::after {
    content: " ";
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+");
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: center center;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -32px;
    left: 0;
    top: -10px;
    text-align: center;
    background-color: transparent;
    font-size: 10px;
    height: 20px;
    width: 20px;
    transition: 0.3s ease;
    opacity: 0;
}

.form-check-input:checked+label::after {
    opacity: 1;
    top: 2px;
}

.contact .primary-link {
    margin-top: 1.25rem;
    position: relative;
    z-index: 2;
}

.contact .primary-link:hover {
    background-color: var(--dark);
    border-color: var(--dark);
}

/* FOOTER */

footer {
    position: relative;
    margin-top: 200px;
}

footer .rects {
    position: absolute;
    top: 0;
    right: 40px;
    transform: translateY(-50%);
}

footer .content {
    background-color: var(--dark);
    color: white;
    padding: 100px 40px 80px;
}

footer .container {
    display: flex;
    justify-content: space-between;
}

footer .item .logo {
    width: 80px;
}

footer .item {
    display: flex;
    flex-direction: column;
    min-width: 17%;
    max-width: 21%;
}

footer .item h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    text-transform: none;
}

footer .item p,
footer .item a {
    width: fit-content;
    color: white;
    margin-bottom: 0;
}

footer li {
    margin-bottom: 0.625rem;
    list-style: none;
    margin-left: 0;
}

footer .socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

footer .socials svg {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0;
}

footer .socials svg path {
    fill: white;
}

footer .socials #icon path {
    fill: var(--primary);
}

footer .item .raccoon {
    margin-top: 1.25rem;
}

footer .item .raccoon a {
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0;
    font-weight: 500;
}

.hero .rects {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
}

.nav {
    padding: 0 40px;
    margin-top: 60px;
    line-height: 1.15;
    position: relative;
    z-index: 2;
}

.nav a:after {
    content: '/';
    margin-left: 0.375rem;
}

.nav span {
    font-weight: 600;
}

.references h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-subpage {
    padding-top: 60px;
}

.contact-subpage .flex-content {
    margin-top: 0;
}

.contact-subpage .left::before,
.contact-subpage .left .bg {
    top: -140px;
    right: auto;
    left: calc(100% + 320px);
    height: calc(100% + 280px);
    background-color: #F1F1F196;
}

.contact-subpage .left,
.contact-subpage .left a {
    color: var(--dark);
}

.contact-subpage + footer {
    margin-top: 130px;
}

.more-services .item {
    background-color: var(--light);
    padding: 30px 40px;
    text-align: center;
    margin-bottom: 120px;
}

.more-services .item .image {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: -120px;
}

.more-services .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-services .item .image:hover .link {
    opacity: 1;
}

.service-about .flex-content {
    padding: 60px 0;
}

.service-about .left {
    position: relative;
}

.service-about .left::before {
    content: '';
    position: absolute;
    top: -60px;
    right: 100px;
    left: auto;
    width: 1200px;
    height: calc(100% + 120px);
    background-color: var(--light);
    z-index: -1;
}

.service-about .left .rects {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%) scale(0.75);
}

.service-about.reverse .left::before {
    right: auto;
    left: 100px;
}

.service-about.reverse .left .rects {
    left: auto;
    right: 0;
    transform: translate(50%, -50%) scale(0.75);
}

.banner-image {
    padding: 0;
    margin-top: 80px;
}

.banner-image img,
 .banner-image video {
    width: 100%;
    max-height: 40vw;
    object-fit: cover;
}

.product-intro {
    padding-top: 80px;
}

.product-intro .nav {
    padding: 0;
}

.product-intro .flex-content {
    margin-top: 60px;
}

.product-intro .flex-content .left {
    position: relative;
    padding: 40px 0 60px;
}

.product-intro .flex-content .left::before {
    content: '';
    position: absolute;
    top: 0;
    right: 200px;
    left: auto;
    width: 1200px;
    height: 100%;
    background-color: var(--light);
    z-index: -1;
}

.product-intro .flex-content .left .rects {
    position: absolute;
    bottom: 0;
    right: 200px;
    transform: translate(50%, 50%) scale(0.8);
}

.product-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.product-intro .label {
    display: block;
    width: fit-content;
    padding: 0.5rem 1rem;
    background-color: #C9FFFF;
    margin-bottom: 2rem;
    font-weight: 600;
}

.product-intro .price {
    font-size: 1.25rem;
    margin-top: 2rem;
    letter-spacing: 0.05em;
    font-weight: 500;
    font-family: 'ImpactImported', 'Barlow', sans-serif;
}

.product-intro .price span {
    font-family: 'ImpactImported', 'Barlow', sans-serif;
    font-size: 1.75rem;
    padding-left: 0.25rem;
}

.gallery .swiper-slide {
    height: 300px;
}

.gallery .swiper-slide img {
    transition: transform 0.5s;
}

.gallery .swiper-slide:not(.swiper-slide-next) img {
    transform: scale(0.82);
}

.parameters {
    background-color: var(--light);
    padding: 80px 40px;
    margin: 80px 0;
}

.parameters .container {
    position: relative;
}

.parameters .container .rects {
    position: absolute;
    bottom: -80px;
    right: 0;
    transform: translateY(50%);
}

.parameters h3 {
    font-family: 'ImpactImported', 'Barlow', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.parameters .table .line {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--gray);
}

.parameters .table .line:last-of-type {
    border-bottom: none;
}

.parameters .table .line .name {
    text-transform: uppercase;
    width: 50%;
    font-weight: 500;
    font-size: 1.125rem;
}

.parameters .table .line .value {
    width: 50%;
    font-weight: 600;
    font-size: 1.125rem;
}

.offer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00000088;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.4s;
    padding: 20px;
}

.offer-modal.active {
    opacity: 1;
}

.offer-modal .content {
    background-color: white;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    position: relative;
}

.offer-modal .cancel {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 20px;
}

.offer-modal h3 {
    text-transform: uppercase;
    font-size: 1.75rem;
    text-align: center;
    font-family: 'ImpactImported', 'Barlow', sans-serif;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.offer-modal p {
    margin-bottom: 1rem;
}

.offer-modal form {
    gap: 0.625rem;
}

.offer-modal form input:nth-of-type(2),
.offer-modal form input:nth-of-type(3) {
    width: calc(50% - 0.3125rem);
}

.offer-modal form .primary-link {
    margin-top: 1rem;
}

@media (min-width: 1280px) {
    .service-about p {
        font-size: 1.125rem;
    }
}

@media (max-width: 1279px) {

    .desktop-navbar {
        height: 66px;
        padding: 0;
    }

    .desktop-navbar .container {
        max-width: 100%;
        padding: 10px 20px;
        position: relative;
    }

    .desktop-navbar .logo {
        height: 46px;
        width: auto;
    }

    .desktop-navbar .logo img {
        height: 46px;
    }

    .desktop-navbar .links {
        display: none;
    }

    .desktop-navbar .open-sidebar {
        display: flex;
    }

    .desktop-navbar .buttons {
        gap: 15px;
        position: static;
    }

    .desktop-navbar .buttons a {
        display: none;
    }

    .desktop-navbar .buttons svg {
        height: 28px;
    }

    .desktop-navbar .buttons .item {
        position: static;
    }

    .desktop-navbar .lang {
        display: none;
    }

    .desktop-modal {
        left: auto;
        right: 20px;
        transform: none;
        max-width: 380px;
    }

    .desktop-modal.active {
        transform: translateY(33px);
    }

    .desktop-modal::before {
        left: auto;
        transform: none;
        right: 36px;
    }

    .desktop-modal .cancel {
        top: 14px;
    }

    #sidebar .navbar-dropdown {
        top: 0;
        background-color: #FFFFFFEF;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    #sidebar .navbar-dropdown .container {
        box-shadow: none;
        background-color: transparent;
    }

    #sidebar .navbar-dropdown .arrow {
        width: 14px;
        height: 24px;
        object-fit: contain;
        cursor: pointer;
        margin: 20px 0 0;
        display: block;
    }

    #sidebar .navbar-dropdown .container {
        padding: 0 0 40px;
        gap: 20px;
        flex-direction: row;
        align-items: auto;
        justify-content: center;
        max-height: none;
        align-items: initial;
    }

    #sidebar .navbar-dropdown .container .item {
        width: 100%;
    }

    #sidebar .navbar-dropdown .container a {
        font-size: 1.125rem;
        font-weight: 500;
        padding: 0.75rem 0;
        text-align: center;
    }

}

@media (max-width: 767px) {

    p,
    li,
    a {
        font-size: 0.875rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 2.75rem;
        padding-left: 0.75rem;
    }

    .rects {
        gap: 1rem;
    }

    .title .rects {
        margin-bottom: -2.75rem;
    }

    .title h2 {
        height: 2.5rem;
    }

    .rects .rect {
        width: 3rem;
        height: 3rem;
    }

    h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }

    h4 {
        font-size: 1.125rem;
    }

    h5,
    h6 {
        font-size: 0.875rem;
    }

    section {
        padding: 60px 20px 0;
    }

    ul,
    ol {
        margin-bottom: 1rem;
    }

    .article h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .article h3 {
        font-size: 1.5rem;
    }

    .article h4 {
        font-size: 1.25rem;
    }

    .article h5 {
        font-size: 1rem;
    }

    .article h6 {
        font-size: 0.875rem;
    }

    .article img {
        margin: 1rem 0;
        max-height: 450px;
    }

    .primary-link {
        font-size: 0.9125rem;
        padding: 0.75rem 1.5rem;
    }

    .primary-link.center {
        margin: 2rem auto 0;
    }

    .vbox-close {
        padding: 20px !important;
        top: 5px !important;
        right: 5px !important;
    }

    .vbox-next {
        right: 25px !important;
    }

    .vbox-prev {
        left: 25px !important;
    }

    .flex-content,
    .flex-content.reverse {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .flex-content .side {
        width: 100%;
    }

    .flex-content .primary-link {
        margin-top: 1.25rem;
    }

    .items {
        gap: 20px;
    }

    .items .item,
    .items.two .item {
        width: 100%;
    }

    .items .item h3 {
        font-size: 1.125rem;
        margin-bottom: 1.125rem;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 20px;
    }

    .swiper-button-prev {
        left: -44px;
    }

    .swiper-button-next {
        right: -44px;
    }

    /***************** */

    .hero {
        padding: 140px 20px 110px;
        
    }

    .hero.main-hero {
        padding: 200px 20px 110px;
    }

    .hero .logo {
        top: calc(50% + 0.625rem);
        height: 186px;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.45;
    }
    
    .hero.main-hero h1 {
        font-size: 2.125rem;
        margin-bottom: 0.875rem;
    }
    
    .hero h3 {
        font-size: 1.625rem;
        max-width: 16rem;
        margin-bottom: 2.25rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .services .items {
        gap: 30px;
    }

    .services .items .item {
        padding: 20px;
        margin-top: 20px;
    }

    .services .items .item .image {
        margin: -40px auto 20px;
    }

    .services .items .item h3 a {
        font-size: 1.5rem;
        margin-bottom: 0rem;
    }

    .services .items .item .primary-link {
        position: static;
        margin-top: 0.625rem;
    }

    .about .right.side {
        padding-bottom: 0;
        margin: 20px 0;
    }

    .about .right.side .rects {
        transform: translate(20px, -50%) scale(0.9);
        transform-origin: right;
    }

    .about .right.side::before {
        top: -20px;
        left: 20px;
        height: calc(100% + 40px);
    }

    .whyus .logo {
        display: none;
    }

    .whyus .items {
        gap: 32px;
    }

    .whyus .item img {
        width: 80px;
        height: 80px;
        padding: 10px;
        margin-bottom: 0.875rem;
    }

    .whyus .item h3 {
        margin-bottom: 0.625rem;
    }

    .products .flex-content {
        margin-bottom: 40px;
    }

    .products .flex-content .right {
        padding: 25px;
    }

    .products .flex-content .right p {
        font-size: 1.0625rem;
    }

    .products .flex-content .right a {
        font-size: 1.25rem;
    }

    .products .item {
        margin-top: 90px;
    }

    .products .item img {
        height: 180px;
        margin-top: -100px;
        margin-bottom: 20px;
    }

    .products .item .buttons {
        gap: 1rem;
    }

    .products .item .buttons .primary-link {
        font-size: 0.9375rem;
    }

    .reviews .monyak {
        padding: 0;
    }

    .reviews .monyak .image {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: calc(100% - 40px);
        height: auto;
        max-height: 320px;
        margin: 0 auto -20px;
        z-index: 1;
    }

    .reviews .relative .swiper-button-prev {
        left: 6px;
    }

    .reviews .relative .swiper-button-next {
        right: 6px;
    }

    .reviews .relative .swiper-slide {
        padding: 60px 54px 48px;
    }

    .reviews .relative .swiper-slide h4 {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .reviews .primary-link.center {
        margin-top: 3.5rem;
    }

    .references .buttons {
        gap: 1.5rem;
        margin-bottom: 0.875rem;
    }

    .references .buttons div {
        gap: 0.625rem;
        font-size: 0.875rem;
    }

    .references .buttons div img {
        height: 0.875rem;
    }

    .references .relative::before {
        height: calc(100% + 90px);
    }

    .references .relative .rects {
        left: -20px;
        transform: translate(0, -50%) scale(0.9);
        transform-origin: left;
    }

    .blog .items .item .content {
        height: auto;
    }

    .blog .items .item .image {
        height: 200px;
    }

    .blog .items .item .image .rects {
        transform: scale(0.75);
    }

    .contact .flex-content {
        flex-direction: column;
        margin-top: 80px;
        gap: 40px;
    }

    .contact .left::before,
    .contact .left .bg {
        top: -40px;
        right: -200px;
        left: auto;
        width: 1200px;
        height: calc(100% + 140px);
    }

    .contact .left .rects {
        display: none;
    }

    .contact form {
        padding: 20px;
    }

    form {
        gap: 0.625rem;
    }

    form input,
    form textarea,
    form select,
    form option {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    form input:nth-of-type(2),
    form input:nth-of-type(3) {
        width: 100%;
    }

    form select {
        background-size: 1rem;
    }

    .form-check-input+label {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .form-check:not(.form-group .form-check):first-of-type {
        margin-top: 0.75rem;
    }

    form .primary-link {
        margin: 1rem auto 0;
    }

    footer {
        margin-top: 80px;
    }

    footer .rects {
        right: 20px;
    }

    footer .content {
        padding: 80px 20px 60px;
    }

    footer .container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    footer .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }

    footer .item .logo {
        width: 80px;
        margin-bottom: 0;
    }

    footer .item:first-of-type p {
        font-size: 13px;
        max-width: 200px;
    }

    footer .item h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    footer .item a,
    footer .item p {
        margin-bottom: 6px;
        font-size: 14px;
        text-align: center;
        width: 100%;
    }

    footer .socials a {
        width: fit-content;
    }

    footer .socials {
        justify-content: center;
    }

    footer .raccoon {
        margin-top: 30px;
    }

    footer .raccoon a {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0;
        text-align: center;
    }

    .nav {
        padding: 0 20px;
        font-size: 0.875rem;
        margin-top: 60px;
    }

    .nav a:after {
        margin-left: 0.25rem;
    }

    .references h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .references .swiperDiv:nth-of-type(even) .relative .rects {
        right: -20px;
        transform: translate(0, -50%) scale(0.85);
        transform-origin: right;
    }

    .references .swiperDiv:not(:first-child) {
        margin-top: 80px;
    }

    .contact-subpage {
        padding-top: 10px;
    }

    .contact-subpage .left::before {
        background-color: #F1F1F1CC;
    }

    .contact-subpage + footer {
        margin-top: 80px;
    }

    .service-about .flex-content {
        padding: 40px 0 0;
        flex-direction: column;
        gap: 60px;
    }

    .service-about .left::before {
        top: -40px;
        right: 40px;
        height: calc(100% + 80px);
    }

    .service-about .left .rects {
        left: -20px;
        transform: translate(0, -50%) scale(0.9);
        transform-origin: left;
    }

    .service-about.reverse .left::before {
        right: auto;
        left: 40px;
    }

    .service-about.reverse .left .rects {
        left: auto;
        right: -20px;
        transform: translate(0, -50%) scale(0.9);
        transform-origin: right;
    }

    .banner-image {
        margin-top: 60px;
    }

    .banner-image img,
    .banner-image video {
        max-height: 60vw;
    }

    .product-intro {
        padding-top: 40px;
    }

    .product-intro .flex-content {
        margin-top: 40px;
        flex-direction: column;
        gap: 40px;
    }

    .product-intro .flex-content .left::before {
        right: 60px;
    }

    .product-intro .flex-content .left .rects {
        right: 0;
        transform: translateY(50%) scale(0.68);
        transform-origin: right;
    }

    .product-intro h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .product-intro .label {
        margin-bottom: 1.5rem;
    }

    .product-intro .price {
        font-size: 1.125rem;
        margin-top: 1.5rem;
    }

    .product-intro .price span {
        font-size: 1.5rem;
        padding-left: 0.125rem;
    }

    .gallery .relative {
        width: calc(100% - 56px);
        margin: 0 auto;
    }

    .gallery .swiper-slide:not(.swiper-slide-next) img {
        transform: scale(1);
    }

    .gallery .swiper-slide:not(.swiper-slide-active) img {
        transform: scale(0.82);
    }

    .gallery .swiper-slide {
        height: 240px;
    }

    .parameters {
        padding: 40px 20px;
        margin: 60px 0;
    }

    .parameters .container {
        position: static;
    }

    .parameters .container .rects {
        bottom: 0;
        right: 50%;
        transform: translate(50%, 50%) scale(0.8);
    }

    .parameters h3 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .parameters .table .line {
        padding: 1rem 0;
    }

    .parameters .table .line .name,
    .parameters .table .line .value {
        font-size: 0.875rem;
    }

    .offer-modal .content {
        padding: 20px;
    }

    .offer-modal .cancel {
        top: 10px;
        right: 10px;
    }

    .offer-modal h3 {
        font-size: 1.5rem;
    }

    .offer-modal form input:nth-of-type(2),
    .offer-modal form input:nth-of-type(3) {
        width: 100%;
    }
}

@media (min-width: 767px) and (max-width: 1023px) {
    
    section {
        padding: 80px 40px 0;
    }

    .flex-content {
        gap: 40px;
    }
    
    .items .item {
        width: calc(50% - 20px);
    }
    
    /*********************************/
    
    .hero {
        padding: 200px 40px 140px;
    }

    .hero.main-hero {
        padding: 200px 40px 140px;
    }

    .hero .logo {
        top: calc(50% + 0.875rem);
        height: 340px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .services .items {
        gap: 40px;
    }

    .services .items .item {
        width: calc(50% - 20px);
        padding: 32px;
        padding-bottom: calc(32px + 4rem);
    }

    .services .items .item .image {
        height: 240px;
    }

    .whyus .items {
        gap: 60px;
    }

    .whyus .item {
        width: calc(50% - 30px);
    }

    .whyus .logo {
        width: 640px;
    }

    .products .item .buttons {
        gap: 1rem;
    }

    .products .item .buttons .primary-link {
        padding: 0.75rem 1.5rem;
    }

    .contact .flex-content {
        flex-direction: column;
        margin-top: 80px;
        gap: 40px;
    }

    .contact .flex-content .side {
        width: 100%;
    }

    .contact .left::before,
    .contact .left .bg {
        top: -40px;
        right: -200px;
        left: auto;
        width: 1200px;
        height: calc(100% + 140px);
    }

    .contact .left .rects {
        display: none;
    }

    footer {
        margin-top: 80px;
    }

    .product-intro .flex-content {
        align-items: flex-start;
    }
    
    .gallery .relative {
        width: calc(100% - 56px);
        margin: 0 auto;
    }

    .gallery .swiper-slide {
        height: 240px;
    }

    .gallery .swiper-slide:not(.swiper-slide-next) img {
        transform: scale(1);
    }

    .banner-image img,
    .banner-image video {
        max-height: 56vw;
    }

    .contact-subpage .left::before {
        background-color: #F1F1F1CC;
    }

    .contact-subpage .flex-content {
        margin-top: 40px;
    }
    
    .service-about .flex-content {
        align-items: flex-start;
        padding: 60px 0 0;
    }

    .service-about .flex-content .left::before {
        top: -40px;
        height: calc(100% + 80px);
    }

}

@media (min-width: 1024px) and (max-width: 1279px) {
    .products .item {
        padding-bottom: calc(25px + 8rem);
    }

    .products .item .buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        width: calc(100% - 50px);
    }

    .products .item .buttons .primary-link {
        width: 10rem;
        text-align: center;
    }

    .contact form {
        padding: 40px;
    }

    .gallery .relative {
        width: calc(100% - 56px);
        margin: 0 auto;
    }

    .gallery .swiper-slide {
        height: 240px;
    }

    .gallery .swiper-slide:not(.swiper-slide-next) img {
        transform: scale(1);
    }

    .banner-image img,
    .banner-image video {
        max-height: 56vw;
    }

    .contact-subpage .left::before,
    .contact-subpage .left .bg {
        left: calc(100% + 140px);
    }
}

@media (min-width: 1280px) and (max-width: 1440px) {
    
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
}

@media (min-width: 1023px) {
    .container {
        max-width: 1023px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}