:root {
    --primary: #819693;
    --darkblue: #131D35;
    --dark: #282828;
    --light: #E7EBEA;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Prompt', 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: 5rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.05em;
}

h2 {
    font-size: 4rem;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 3rem;
    width: fit-content;
    letter-spacing: 0;
    color: var(--primary);
}

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

h4 {
    font-size: 1.125rem;
}

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: 3rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.article h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
}

.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: 100px 40px 0;
    position: relative;
    max-width: 2560px;
}

.primary-link {
    padding: 0.875rem 3rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    display: block;
    width: fit-content;
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
    position: relative;
    color: white;
    clip-path: polygon(1rem 0, 100% 0, calc(100% - 1rem) 100% , 0 100%);
}

.primary-link:hover {
    color: white;
}

.primary-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, var(--primary) 0%, var(--primary) 50%, var(--dark) 50%, var(--dark) 100%);
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.6s cubic-bezier(0, 0.69, 0.4, 1);
    z-index: -1;
}

.primary-link.green::before {
    background-image: linear-gradient(90deg, var(--dark) 0%, var(--dark) 50%, var(--primary) 50%, var(--primary) 100%);
}

.primary-link:hover::before {
    background-position: 0 0;
}

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

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

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

.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: #131D3588;
    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 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.item .link {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
}

.item .link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.4s cubic-bezier(0.01, 0.69, 0.4, 1);
    letter-spacing: 0;
}

.item .link:hover::after {
    width: 100%;
}

.relative {
    position: relative;
}

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

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

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

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

.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;
    overflow: hidden;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9vw), 0% 100%);
}

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

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

.hero.main-hero .layer {
    opacity: 0.4;
}

.bgshape {
    position: absolute;
    pointer-events: none;
}

.bgshape:not(.references .bgshape) path {
    will-change: stroke-dashoffset;
}

.bgshape:not(.references .bgshape) path:first-of-type {
    stroke-dashoffset: 740;
    stroke-dasharray: 740;
}

.bgshape:not(.references .bgshape) path:nth-of-type(2) {
    stroke-dashoffset: 1050;
    stroke-dasharray: 1050;
}

.bgshape:not(.references .bgshape) path:nth-of-type(3) {
    stroke-dashoffset: 1450;
    stroke-dasharray: 1450;
}

.hero .bgshape {
    top: 2rem;
    right: 0;
    height: 100%;
    opacity: 0.4;
}

.hero.main-hero .bgshape {
    top: 4rem;
}

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

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

.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;
}

.about {
    margin-top: -60px;
}

.about .flex-content {
    gap: 60px;
}

.about .left {
    padding-left: 15%;
    position: relative;
}

.about .left .rect {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: calc(100% - 180px);
    background-color: var(--primary);
    height: 999px;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0% 100%);
}

.about .left .image {
    width: 100%;
    padding: 10px;
    background-color: white;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0% 100%);
}

.about .left img {
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0% 100%);
}

.services {
    margin-top: 60px;
    padding: 70px 40px 220px;
    background-color: #F3F5F4;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% calc(100% - 8vw));
}

.services .items {
    gap: 80px;
}

.services .items .item {
    width: calc(50% - 40px);
    height: 350px;
    clip-path: polygon(0 0, 100% 40px, 100% 100%, 0% 100%);
    position: relative;
}

.services .items .item .content {
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    color: white;
}

.services .items .item .layer {
    background-color: var(--darkblue);
    opacity: 0.6;
    pointer-events: all;
}

.services .items .item .content .icon {
    height: 3.5rem;
    margin-bottom: 1.25rem;
}

.services .items .item .content h3 {
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
}

.services .items .item .content .more {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-transform: uppercase;
    text-decoration: underline;
}

.services .items .item .bg {
    transition: transform 0.6s cubic-bezier(0.01, 0.69, 0.4, 1);
}

.services .items .item:hover .bg {
    transform: scale(1.06);
}

.references {
    margin-top: -100px;
}

.references h3 {
    font-size: 1.625rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #64666B;
}

.references .relative {
    margin-bottom: 30px;
    padding-bottom: 140px;
}

.references:not(.subpage) .relative:first-of-type .swiper-button-prev,
.references:not(.subpage) .relative:first-of-type .swiper-button-next {
    top: calc(50% - 70px);
}

.references .relative:not(:first-of-type) {
    margin-top: -60px;
    padding-top: 60px;
    overflow-x: visible;
    overflow-y: clip;
}

.references .bgshape {
    bottom: 0;
    width: 80%;
    z-index: -1;
}

.references .bgshape.right {
    right: 0;
}

.references .bgshape.left {
    left: 0;
}

.references .primary-link.center {
    margin-top: 40px;
}

.reviews {
    margin-top: 80px;
    padding: 80px 40px 200px;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7vw), 0% 100%);
    z-index: 2;
}

.reviews .layer {
    background-color: var(--darkblue);
    opacity: 0.6;
}

.reviews h2 {
    color: white;
}

.reviews .relative {
    max-width: 950px;
    margin: 0 auto;
    background-color: #131D35DD;
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0% 100%);
}

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

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

.reviews .swiper-button-prev::after,
.reviews .swiper-button-next::after {
    color: white;
}

.reviews .swiper-slide {
    padding: 140px 180px 90px;
    height: auto;
}

.reviews .swiper-slide p {
    text-align: center;
}

.reviews .swiper-slide h4 {
    text-align: right;
    margin-top: 1.75rem;
    margin-bottom: 0;
}

.blog {
    margin-top: -40px;
}

.blog .bgshape {
    top: calc(-2vw - 60px);
    left: -5vw;
    width: 45vw;
    opacity: 0.08;
}

.blog.subpage .bgshape {
    top: calc(-6vw - 70px);
}

.blog .items .item {
    filter: drop-shadow(2px 4px 20px #C8C9C932);
}

.blog .items .item .image {
    width: 100%;
    height: 250px;
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0% 100%);
}

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

.blog .items .item .content {
    padding: 25px 25px 70px;
    background-color: white;
    height: 100%;
}

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

.blog .items .item .content h3 a {
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

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

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

.blog .items .item .link {
    left: 25px;
    transform: none;
}

.webtemplate {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.webtemplate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/webtemplatebg.jpg') no-repeat center center / cover;
    z-index: -2;
}

.contact {
    color: white;
    padding: 80px 40px 0;
}

.contact .bgshape {
    top: -70px;
    right: -3vw;
    opacity: 0.2;
    width: 45%;
    z-index: -1;
}

.contact h2 {
    color: white;
}

.contact h3 {
    font-weight: 700;
    font-size: 1.75rem;
}

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

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

.contact a {
    color: white;
}

.contact-form {
    padding-top: 60px;
    position: static;
}

.contact-form form {
    background: url('../images/contactbg.png');
    background-size: 100% 100%;
    color: var(--dark);
    margin: 0 auto;
    max-width: 950px;
    padding: 90px 100px 60px;
}

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

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

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: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group:first-of-type {
    margin-top: 20px;
}

.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(--primary);
    transition: 0.3s ease;
}

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

.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: 0.5px;
}

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

/* FOOTER */

footer {
    position: relative;
}

footer .content {
    padding: 100px 40px 80px;
    color: white;
}

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

footer .item .logo {
    width: 100%;
    max-width: 220px;
    margin-top: -6.5%;
}

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;
}

.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;
}

.article-hero .container {
    max-width: 950px;
}

.contact-subpage h3 {
    max-width: 750px;
}

.contact-subpage path {
    fill: var(--dark);
}

.webtemplate.subpage {
    margin-top: 0;
    overflow: visible;
}

.webtemplate.subpage::before {
    display: none;
}

.webtemplate.subpage footer::before {
    display: block;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 600px);
    background: var(--darkblue);
    z-index: -2;
}

.map {
    padding: 0;
    margin-top: 100px;
}

.map iframe {
    width: 100%;
    height: 520px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% calc(100% - 8vw));
    background-color: var(--light);
}

.webtemplate.subpage .contact-form {
    padding-top: 0;
    margin-top: -200px;
}

.services.subpage {
    background-color: transparent;
    clip-path: none;
    margin-top: 0;
    padding: 80px 40px 0;
}

.services.subpage .bgshape {
    top: calc(-6vw - 100px);
    left: 0;
    width: 45%;
    opacity: 0.12;
}

.services.subpage .items {
    gap: 40px;
}

.services.subpage .items .item {
    width: calc(33.33% - 28px);
    height: 300px;
}

.nav .bgshape {
    top: calc(-5vw - 100px);
    left: 0;
    width: 45%;
    opacity: 0.12;
    z-index: -1;
}

.image-left-text-right .flex-content,
.text-left-image-right .flex-content {
    gap: 60px;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

.image-left-text-right img {
    clip-path: polygon(0 0, 100% 60px, 100% 100%, 0% 100%);
    min-height: 380px;
    max-height: 550px;
    object-fit: cover;
}

.image-left-text-right .left.side,
.text-left-image-right .right.side {
    position: relative;
    z-index: 10;
}

.image-left-text-right .right.side,
.text-left-image-right .left.side {
    margin-top: 160px;
    position: relative;
    padding-right: 60px;
    padding-bottom: 80px;
}

.image-left-text-right .right.side::before,
.text-left-image-right .left.side::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -200px;
    width: calc(100% + 200px);
    height: calc(100% + 80px);
    background: #eff1f1;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 60px));
}

.text-left-image-right img {
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0% 100%);
    min-height: 380px;
    max-height: 550px;
    object-fit: cover;
}

.text-left-image-right .left.side {
    padding-right: 0;
    padding-left: 60px;
    padding-bottom: 80px;
}

.text-left-image-right .left.side::before {
    left: 0;
    right: -200px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
}

.references.subpage {
    margin-top: 1px;
}

.references.subpage .relative {
    padding: 0;
    margin: 0 auto 60px;
}

.references.subpage .relative:first-of-type:not(:last-of-type) {
    margin-bottom: 80px;
}

.about.subpage .flex-content {
    gap: 100px;
}

.about.subpage .left.side {
    padding-left: 0;
    padding-right: 180px;
    margin-top: -80px;
}

.about.subpage .left.side .rect {
    left: auto;
    right: 0;
    width: calc(100% - 140px);
}

.about.subpage .bgshape {
    top: calc(-6vw - 100px);
    left: 0;
    width: 45%;
    opacity: 0.12;
}

.about-icons h2 {
    margin-bottom: 4rem;
}

.about-icons .items .item {
    width: calc(25% - 30px);
    align-items: center;
    text-align: center;
}

.about-icons .items .item img {
    height: 5.5rem;
    margin-bottom: 1.25rem;
}

.about-icons .items .item h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

.references.about-references {
    overflow: hidden;
    margin-top: 1px;
}


@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: 2.25rem;
        margin-bottom: 1.5rem;
    }

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

    h4 {
        font-size: 1.125rem;
    }

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

    section {
        padding: 40px 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.875rem;
        padding: 0.875rem 2.5rem 0.75rem;
    }

    .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;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0% 100%);
    }

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

    .hero .bgshape {
        width: calc(100% - 20px);
        height: auto;
        top: auto;
        bottom: -40px;
    }

    .hero.main-hero .bgshape {
        top: auto;
    }

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

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

    .about {
        margin-top: -20px;
      }

    .about .flex-content {
        flex-direction: column;
        gap: 30px;
    }

    .about .left {
        padding-left: 15%;
    }

    .about .left .rect {
        width: calc(100% - 60px);
        bottom: 60px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), 0% 100%);
    }

    .about .left img,
    .about .left .image {
        clip-path: polygon(0 30px, 100% 0, 100% 100%, 0% 100%);
    }

    .services {
        padding: 40px 20px 80px;
    }

    .services .items {
        gap: 30px;
    }

    .services .items .item {
        height: 300px;
    }

    .services .items .item .content h3 {
        font-size: 1.75rem;
    }

    .references {
        margin-top: -30px;
    }

    .references h2 {
        margin-bottom: 2.5rem;
    }

    .references .relative {
        padding-bottom: 60px;
        width: calc(100% - 60px);
        margin: 0 auto;
    }

    .references .relative:first-of-type .swiper-button-prev,
    .references .relative:first-of-type .swiper-button-next {
        top: calc(50% - 30px);
    }

    .references .bgshape {
        width: 100%;
    }

    .references .primary-link.center {
        margin-top: 30px;
    }

    .reviews {
        margin-top: 60px;
        padding: 40px 20px 80px;
    }

    .reviews .relative {
        clip-path: polygon(0 40px, 100% 0, 100% 100%, 0% 100%);
    }

    .reviews .swiper-button-prev {
        left: 10px;
    }
    
    .reviews .swiper-button-next {
        right: 10px;
    }

    .reviews .swiper-slide {
        padding: 60px 55px 30px;
    }

    .reviews .swiper-slide h4 {
        font-size: 1.125rem;
    }

    .blog {
        margin-top: 0;
    }

    .blog .bgshape {
        top: -45px;
        left: -5vw;
        width: 60%;
    }

    .blog .items .item .content h3 a {
        font-size: 1.25rem;
    }

    .webtemplate {
        margin-top: 60px;
    }

    .webtemplate::before {
        top: -300px;
        height: calc(100% + 300px);
    }

    .contact {
        color: white;
        padding: 40px 20px 0;
    }

    .contact .bgshape {
        top: -50px;
        width: 50%;
    }

    .contact-form {
        padding-top: 40px;
    }

    .contact-form form {
        padding: 46px 20px 25px;
        background-image: url('../images/contactbg-mobile.png');
    }

    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 .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: 180px;
        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: 30px;
    }

    .webtemplate.subpage footer::before {
        height: calc(100% + 600px);
    }

    .map {
        margin-top: 40px;
    }

    .map iframe {
        height: 340px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% calc(100% - 60px));
    }

    .webtemplate.subpage .contact-form {
        margin-top: -100px;
        filter: drop-shadow(0 4px 20px #00000022);
    }

    .services.subpage {
        padding: 40px 20px 0;
    }

    .services.subpage .bgshape {
        width: 50%;
        top: -100px;
    }

    .services.subpage .items {
        gap: 20px;
    }

    .services.subpage .items .item {
        width: 100%;
        height: 260px;
    }

    .nav .bgshape {
        top: -90px;
    }

    .image-left-text-right .flex-content,
    .text-left-image-right .flex-content {
        flex-direction: column;
        gap: 20px;
    }

    .text-left-image-right .flex-content {
        flex-direction: column-reverse;
    }

    .image-left-text-right .right.side,
    .text-left-image-right .left.side {
        margin-top: 0;
        padding-right: 0;
        padding-bottom: 60px;
    }

    .image-left-text-right img,
    .text-left-image-right img {
        clip-path: polygon(0 40px, 100% 0, 100% 100%, 0% 100%);
        min-height: 220px;
    }

    .image-left-text-right .right.side::before,
    .text-left-image-right .left.side::before {
        left: -20px;
        width: calc(100% + 40px);
    }

    .text-left-image-right .left.side {
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 60px;
    }

    .references.subpage {
        margin-top: 20px;
    }

    .references.subpage .relative,
    .references.subpage .relative:first-of-type:not(:last-of-type) {
        margin-bottom: 40px;
    }

    .references.subpage .relative .swiper-button-prev,
    .references.subpage .relative .swiper-button-next {
        top: 50%;
    }

    .about.subpage .flex-content {
        gap: 20px;
    }

    .about.subpage .left.side {
        padding-right: 15%;
        margin-top: 0;
    }

    .about.subpage .left.side .rect {
        width: calc(100% - 140px);
    }

    .about.subpage .left.side .image {
        margin-left: -10px;
    }

    .about.subpage .bgshape {
        display: none;
    }

    .about-icons h2 {
        margin-bottom: 2rem;
    }

    .about-icons .items {
        gap: 30px;
    }

    .about-icons .items .item {
        width: 100%;
    }

    .about-icons .items .item img {
        height: 3.5rem;
        margin-bottom: 0.75rem;
    }

    .about-icons .items .item h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .references.about-references .relative:first-of-type {
        margin-bottom: 1.5rem;
    }

}

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

    h2 {
        font-size: 3.25rem;
        margin-bottom: 3rem;
    }

    .flex-content {
        gap: 40px;
    }
    
    .items .item {
        width: calc(50% - 20px);
    }


    h2 {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }
    
    /*********************************/
    
    .hero {
        padding: 140px 40px 140px;
    }

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

    .hero .container {
        padding: 40px 40px 45px;
    }

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

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

    .about .left {
        padding-left: 10%;
    }

    .about .left .image,
    .about .left img {
        clip-path: polygon(0 30px, 100% 0, 100% 100%, 0% 100%);
    }

    .services {
        padding: 60px 40px 140px;
    }

    .references {
        margin-top: -60px;
    }

    .references .relative {
        padding-bottom: 80px;
        width: calc(100% - 80px);
        margin: 0 auto;
    }

    .references .relative:first-of-type .swiper-button-prev,
    .references .relative:first-of-type .swiper-button-next {
        top: calc(50% - 40px);
    }

    .reviews {
        margin-top: 80px;
        padding: 70px 40px 140px;
    }

    .reviews .swiper-slide {
        padding: 100px 140px 60px;
    }

    .services.subpage .items .item {
        width: calc(50% - 20px);
        height: 270px;
    }
    
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .about .card {
        margin: 40px auto 0;
    }
}

@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;
    }
}