:root {
    --primary: #3540FA;
    --secondary: #EE5B00;
    --gray: #333333;
    --heading-size: clamp(2.5rem, 3vw + 1rem, 5rem);
    --swiper-theme-color: white;
    --swiper-pagination-bottom: 20px;
}

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

html {
    scrollbar-width: none;
}

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

.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;
    margin: 0 auto;
    width: 100%;
}

strong {
    font-weight: 700;
}

h1 {
    font-size: 4.5rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 4rem;
}

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

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

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

h6 {
    font-weight: 500;
    font-style: italic;
    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.5rem;
}

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;
    margin-top: 1.5rem;
    text-transform: none;
}

.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 {
    width: 100%;
    max-height: 750px;
    object-fit: cover;
    margin: 1.25rem 0;
}

section {
    padding: 60px 40px;
    margin: 0 auto;
    position: relative;
    max-width: 2560px;
    background-color: white;
}

.primary-link {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    background-color: transparent;
    border: 1px solid white;
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
    color: white;
}

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

.primary-link.outline {
    color: var(--primary);
    border-color: var(--primary);
}

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

.primary-link.red {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

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

.primary-link svg {
    height: 1.125rem;
    object-fit: contain;
    margin-right: 0.5rem;
    /* margin-top: -0.125rem; */
}

.primary-link img {
    height: 0.875rem;
}

.primary-link svg path {
    transition: fill 0.3s, stroke 0.3s;
}

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

.primary-link.outline:hover {
    background-color: var(--primary);
    color: white;
}

.primary-link.red:hover {
    color: var(--secondary);
}

.primary-link.red:hover path {
    fill: var(--secondary);
}

.primary-link.gray:hover {
    background-color: transparent;
    color: var(--gray);
}

::selection {
    background: #3038d0;
    color: white;
}

::-moz-selection {
    background: #3038d0;
    color: white;
}

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

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

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

.rccookie-modal .modal-content {
    border-radius: 1rem;
}

.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(--gray);
}

.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(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.4s;
    z-index: 996;
}

.overlay.active {
    opacity: 1;
}

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

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

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

.relative {
    position: relative;
}

.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: 26px !important;
    font-weight: 600;
    color: white;
    transition: color 0.3s;
}

.hero.light .swiper-button-prev::after,
.hero.light .swiper-button-next::after {
    color: var(--gray);
}

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

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

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

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

.swiper-pagination-bullet {
    transition: all 0.3s;
}

/* 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: 4px solid white;
    border-radius: 99px;
    transition: all 0.45s;
}

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

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

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

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

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

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

/* SIDEBAR */

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

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

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

@media (min-width: 1280px) {
    #sidebar:not(.profile) {
        display: none;
    }
}

#sidebar:not(.profile),
.navbar-dropdown {
    width: 100%;
    position: fixed;
    right: -100vw;
    top: 66px;
    height: calc(100svh - 66px);
    z-index: 1000;
    background: #FFFFFFE8;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: right 0.45s ease-out;
    overflow: hidden;
    overflow-y: scroll;
    overscroll-behavior: contain;
    padding: 0 20px;
}

#sidebar:not(.profile).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: 18px;
    font-weight: 500;
    text-transform: uppercase;
}

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

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

#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;
    transition: background-color 0.5s, top 0.5s, backdrop-filter 0.5s, -webkit-backdrop-filter 0.5s, box-shadow 0.5s;
    background-color: transparent;
    padding: 20px 40px;
}

.desktop-navbar.active {
    top: -90px;
}

.desktop-navbar.scrolled {
    background-color: #FFFFFFDD;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.desktop-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
}

.desktop-navbar.profile-navbar .container {
    max-width: 100%;
}

.desktop-navbar .links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0 1.25rem;
}

.desktop-navbar .logo {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 20px;
    transition: filter 0.3s;
}

.desktop-navbar.scrolled .logo,
.desktop-navbar.dark .logo {
    filter: invert(0.85);
}

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

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

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

.desktop-navbar .links .nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    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,
.desktop-navbar.dark .links .nav-item::after {
    background-color: var(--gray);
}

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

.desktop-navbar .buttons {
    display: none;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    position: relative;
}

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

.desktop-navbar .buttons svg {
    height: 2rem;
    object-fit: contain;
}

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

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

.profile-navbar button:not(.open-sidebar) {
    color: white;
    display: flex;
    align-items: center;
    font-size: 1vw;
    gap: 1vw;
}

.profile-navbar .buttons button svg {
    width: 1vw;
}

.profile-navbar .buttons button .icon {
    width: 2vw;
    height: 2vw;
}

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

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

/* MODALOK */

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #22222266;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    display: none;
    transition: opacity 0.3s;
    align-items: center;
    justify-content: center;
}

.custom-modal .content {
    overflow: hidden;
    border-radius: 1.25rem 1.25rem;
    width: calc(100vw - 40px);
    max-width: 800px;
    max-height: 90vh;
    box-shadow: 0 2px 20px 5px #00000016;
    padding: 30px;
    position: relative;
    background-color: #FCFCFC;
    overflow-y: auto;
}

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

.custom-modal .cancel {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    cursor: pointer;
}

/* CUSTOM CLASSOK */

.items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    position: relative;
    z-index: 3;
}

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

.items .item img {
    height: 4rem;
    margin-bottom: 1rem;
}

.items .item h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

section .link {
    display: block;
    width: fit-content;
    position: relative;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--secondary);
}

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

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

.card {
    border: none;
    padding: 1.75rem;
    border-radius: 1.25rem;
    box-shadow: 0 2px 20px -2px #00000016;
}

.nav {
    width: 100%;
    display: flex;
    margin: 0 auto 45px;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.1;
}

.nav a::after {
    content: "/";
    margin: 0 0.5rem;
}

.nav a:last-of-type {
    color: var(--primary);
    font-weight: 600;
}

.nav a:last-of-type::after {
    content: "";
}

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

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

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

/* HERO */

.hero {
    width: 100vw;
    position: relative;
    z-index: 3;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    padding: 100px 40px;
    min-height: 400px;
    transition: all 0.6s;
}

.hero.main-hero {
    min-height: 650px;
}

.hero .layer {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%;
    clip-path: polygon(20vw 0, 100% 0, 100% 100%, 0% 100%);
    background: linear-gradient(70deg, #FFFFFF88 0%, transparent 100%);
}

.hero .container {
    height: 100%;
    position: relative;
    z-index: 2;
    gap: 40px;
}

.hero .left {
    width: 47%;
}

.hero .left p {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

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

.hero .left .swiper-wrapper {
    align-items: flex-end;
}

.hero .right {
    position: relative;
    width: 53%;
}

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

.hero .right img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    transition: all 0.5s;
}

.hero .right .swiper-slide:not(.swiper-slide-active) img {
    opacity: 0;
    scale: 0;
}

.hero h1 {
    position: relative;
    z-index: 1;
}

.whyus h2 {
    margin-bottom: 5rem;
}

.whyus .item .number {
    position: absolute;
    top: -5.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13.5rem;
    font-weight: 500;
    color: #eeebff;
    z-index: -1;
}

.whyus .item {
    text-align: center;
    font-weight: 600;
    margin-bottom: 32px;
}

.whyus .item img {
    transition: scale 0.8s cubic-bezier(0.01, 0.69, 0.4, 1);
}

.whyus .item:hover img {
    scale: 1.15;
}

.services .items {
    gap: 80px;
}

.services .service {
    margin-top: 120px;
    position: relative;
    width: calc(50% - 40px);
    padding: 40px;
    padding-bottom: 100px;
    border-radius: 0.625rem;
    color: white;
}

.services .service * {
    position: relative;
    z-index: 2;
}

.services .service::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 101%;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0% 100%);
    background: linear-gradient(70deg, #FFFFFF88 0%, transparent 100%);
}

.services .service:nth-of-type(1) {
    background-color: var(--primary);
}

.services .service:nth-of-type(2) {
    background-color: var(--secondary);
}

.services .service img {
    display: block;
    margin: -170px auto 2rem;
    height: 250px;
    position: relative;
    z-index: 2;
}

.services .service h3 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

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

.services .service:nth-of-type(2) .primary-link:hover {
    color: var(--secondary);
}

.info-block {
    position: relative;
    padding: 40px 80px;
    background-color: #E5E1FC;
    border-radius: 0.625rem;
    margin-top: 80px;
    font-weight: 500;
    padding-bottom: 200px;
}

.info-block * {
    position: relative;
    z-index: 2;
}

.info-block::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 66%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 45% 100%);
    background: linear-gradient(135deg, #FFFFFF88 0%, transparent 100%);
}

.info-block h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.info-block p,
li {
    font-size: 1.0625rem;
}

.info-block .primary-link {
    margin: 1.5rem auto;
}

.cutted-phones {
    width: 570px;
    margin: -260px auto 0;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.cutted-phones img {
    height: 350px;
}

.cutted-phones img:first-of-type {
    margin-right: -160px;
    margin-top: 140px;
}

.cutted-phones img:nth-of-type(3) {
    margin-top: 30px;
    margin-left: -20px;
}

.cutted-phones img:nth-of-type(4) {
    margin-top: 120px;
    margin-left: -110px;
    height: 380px;
}

.highlighted .items {
    gap: 50px;
}

.highlighted .item {
    width: calc(33.33% - 34px);
    padding: 1.5rem;
    box-shadow: 4px 4px 10px 0 #3540FA16;
    border-radius: 0.625rem;
    overflow: hidden;
    padding-bottom: 5rem;
}

.highlighted .item img {
    margin: -1.5rem -1.5rem 0.75rem;
    width: calc(100% + 3rem + 2px);
    height: 180px;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.highlighted .item h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.highlighted .item .primary-link {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.blog {
    background-color: #F5F5F5;
    margin: 0;
}

.blog .item {
    width: calc(50% - 20px);
    flex-direction: row;
    background: white;
}

.blog .item .image {
    width: 40%;
    position: relative;
}

.blog .item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.blog .item .content {
    width: 60%;
    padding: 30px;
}

.blog .item h3 {
    text-align: left;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.blog .item .date {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
}

.blog .item p {
    margin-bottom: 0.75rem;
}


.contact {
    position: static;
    margin-bottom: 0;
    padding: 40px 40px 0;
    background-color: transparent;
}

.contact .content {
    background: url('../images/contactbg.jpg');
    background-size: 100% 100%;
    color: white;
    padding: 50px 80px;
    margin-bottom: -48px;
    display: flex;
    gap: 70px;
    border-radius: 0.625rem;
}

.contact .content .infos,
.contact-subpage .infos {
    width: 45%;
}

.contact .content .infos h3,
.contact-subpage .infos h3 {
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.contact .content .infos h3:first-of-type,
.contact-subpage .infos h3:first-of-type {
    margin-top: 0;
}

.contact .content .infos p,
.contact-subpage .infos p {
    max-width: 400px;
    margin-bottom: 0.625rem;
}

.contact .content a {
    color: white;
}

.contact form label {
    color: white;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact form {
    width: 55%;
}

form input,
form textarea,
form select {
    padding: 0.75rem 1rem;
    border: none;
    outline: none;
    background-color: white;
    color: var(--gray) !important;
    border: none;
    border-radius: 0.3125rem;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    resize: none;
}

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(--gray);
    opacity: 0.5;
}

.form-check {
    margin-left: 37px;
    padding-left: 0 !important;
}

.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(--gray);
}

.form-check-input+label::before {
    content: " ";
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    margin-left: -37px;
    width: 24px;
    height: 24px;
    background-color: white;
    border: 2px solid white;
    border-radius: 5px;
    transition: 0.3s ease;
}

.form-check-input:checked+label::before {
    background-color: transparent;
}

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

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

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

.contact form .primary-link:hover {
    color: var(--secondary);
}

/* FOOTER */

footer {
    position: relative;
    padding-top: 50px;
    pointer-events: none;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    z-index: -2;
}

footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(330deg, #FFFFFF88 0%, transparent 100%);
    clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
    z-index: -1;
}

/* footer .container.rect {
    margin-top: -60px;
    margin-bottom: 80px;
    height: 50px;
    background-color: var(--secondary);
    border-radius: 0 0 0.625rem 0.625rem;
} */

footer .content {
    padding: 80px 40px 60px;
    color: white;
    pointer-events: all;
}

footer .container {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

footer .item img {
    display: block;
    width: 200px;
    margin-bottom: 30px;
}

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

footer .item:first-of-type p {
    font-size: 0.875rem;
}

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

footer .item p,
footer .item a {
    display: block;
    width: fit-content;
    font-size: 1rem;
    color: white;
    margin-bottom: 0;
}

footer li {
    margin-bottom: 10px;
    list-style: none;
    margin-left: 0;
}

footer .item a img {
    width: 32px;
    margin-bottom: 0;
}

footer .raccoon {
    margin-top: 2rem;
    font-size: 1.125rem;
}

footer .raccoon a {
    margin-bottom: 0;
    color: white;
}

/* ALOLDALAK */

.selector .categories {
    gap: 60px;
}

.selector .categories .item {
    width: calc(33.33% - 40px);
    padding: 40px 20px;
    border: 2px solid var(--primary);
    border-radius: 0.625rem;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
}

.selector .categories .item:hover,
.selector .categories .item.active {
    border-color: var(--secondary);
}

.selector .categories .item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%);
    background: linear-gradient(70deg, #FFFFFF88 0%, #E5E1FC 100%);
}

.selector .categories .item .images {
    margin-bottom: 1.5rem;
    height: 156px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.selector .categories .item .images img {
    height: auto;
    margin-bottom: 0;
    display: inline-block;
    position: relative;
}

.selector .categories .item:first-of-type img:first-of-type {
    height: 156px;
    z-index: 3;
}

.selector .categories .item:first-of-type img:nth-of-type(2) {
    height: 144px;
    z-index: 2;
    margin-left: -20px;
}

.selector .categories .item:first-of-type img:nth-of-type(3) {
    height: 132px;
    margin-left: -20px;
    z-index: 1;
}

.selector .categories .item:nth-of-type(2) img:first-of-type {
    height: 156px;
    z-index: 2;
}

.selector .categories .item:nth-of-type(2) img:nth-of-type(2) {
    height: 90px;
    vertical-align: bottom;
    z-index: 3;
    margin-left: -40px;
}

.selector .categories .item:nth-of-type(3) img:first-of-type {
    height: 154px;
    z-index: 1;
    vertical-align: bottom;
}

.selector .categories .item:nth-of-type(3) img:nth-of-type(2) {
    height: 130px;
    z-index: 2;
    margin-left: -140px;
    vertical-align: bottom;
}

.selector .categories .item h3 {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: color 0.3s;
}

.selector .categories .item:hover h3,
.selector .categories .item.active h3 {
    color: var(--secondary);
}

section hr {
    margin: 60px auto;
    border-top: 1px solid var(--primary);
}

/* .selector .devices {
    display: none;
} */

.selector .devices .item {
    border-radius: 0.625rem;
    box-shadow: 2px 2px 12px 0 #3540FA16;
    transition: box-shadow 0.3s;
    padding: 1.25rem;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
}

.selector .devices .item:hover {
    box-shadow: 2px 2px 12px 0 #3540FA32;
}

.selector .devices img {
    height: 120px;
    object-fit: contain;
}

.selector .devices .name {
    font-weight: 500;
    line-height: 1.3;
}

.selector .devices .service-list {
    display: none;
}

.selector .details {
    display: none;
}

.selector .details .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.selector .details .header .left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.selector .details .header img {
    height: 90px;
}

.selector .details .header .name {
    font-weight: 600;
    font-size: 1.5rem;
    white-space: nowrap;
}

.selector .details .content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.selector .details .info {
    border-radius: 0.625rem;
    background-color: #E5E1FC;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 1.75rem;
}

.selector .details .info::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 80% 100%);
    background: linear-gradient(70deg, #FFFFFF88 0%, #E5E1FC 100%);
    z-index: 0;
    pointer-events: none;
}

.selector .details .info * {
    font-weight: 500;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.selector .details .info strong {
    font-weight: 700;
}

.selector .details .content>.service-list {
    width: 100%;
}

.selector .details .content .service {
    width: 100%;
    border: 2px solid var(--primary);
    border-radius: 0.625rem;
    display: flex;
    margin-bottom: 1rem;
}

.selector .details .content .service.sale {
    border-color: var(--secondary);
}

.selector .details .content .service .left {
    padding: 1.25rem;
    width: 400px;
    font-size: 0.75rem;
}

.selector .details .content .service .left .name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.selector .details .content .service .left .description {
    max-height: 4.25rem;
    transition: max-height 0.6s cubic-bezier(0.01, 0.69, 0.4, 1);
    overflow: hidden;
    position: relative;
    padding-bottom: 2rem;
}

.selector .details .content .service .left p {
    font-size: 0.8125rem;
}

.selector .details .content .service .left p:last-of-type {
    margin-bottom: 0;
}

.selector .details .content .service .left .read-more {
    width: 100%;
    text-align: right;
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    background: linear-gradient(0deg, #FFFFFF 0%, #FFFFFF 50%, transparent 100%);
    padding-top: 1.5rem;
    position: absolute;
    bottom: 0;
    right: 0;
}

.selector .details .content .service .left .read-more svg {
    transition: transform 0.3s;
    margin-left: 0.25rem;
}

.selector .details .content .service .left .description.active .read-more svg {
    transform: rotate(180deg);
}

.selector .details .content .service .image {
    width: 340px;
    max-width: 100%;
    height: auto;
    max-height: 174px;
}

.selector .details .content .service .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.selector .details .content .service .right {
    padding: 1.25rem;
    padding-left: 2rem;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.selector .details .content .service .right > * {
    white-space: nowrap;
    width: 25%;
}

.selector .details .content .service .right .price span {
    color: #828282;
}

.selector .details .content .service.sale .right .price:not(.time) span:first-of-type {
    color: var(--secondary);
    font-weight: 500;
}

.selector .details .content .service .right .price h4 {
    margin-top: 0.5rem;
    font-weight: 500;
}

.selector .details .content .service .right .price.blue h4 {
    color: var(--primary);
    font-weight: 600;
}

.selector .details .content .service.sale .right .price:not(.time) h4 {
    color: var(--secondary);
    font-weight: 700;
}

.selector .details .content .service .right .primary-link {
    width: fit-content;
    margin-left: auto;
}

.selector .details .content .service .from-list {
    display: none;
}

.selector .details .content .service.on-list .from-list {
    display: flex;
}

.selector .details .content .service.on-list .to-list {
    display: none;
}

.selector .details .content .service .to-list:hover {
    border-color: var(--secondary);
    background-color: var(--secondary);
    color: white;
}

.selector .details .content .service .from-list:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: white;
}

.offer-list {
    position: fixed;
    z-index: 99;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 80px);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 12px #00000044;
}

.collapse-header {
    position: relative;
    cursor: pointer;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    background-color: var(--primary);
}

.offer-list .collapse-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(70deg, #FFFFFF88 0%, transparent 100%);
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}

.offer-list .collapse-header .left {
    display: flex;
    color: white;
    align-items: center;
    gap: 20px;
}

.offer-list .collapse-header .left h3 {
    text-transform: uppercase;
}

.offer-list .collapse-header .left * {
    margin-bottom: 0;
}

.offer-list .collapse-header .angle {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

.offer-list.active .collapse-header .angle {
    transform: rotate(0deg);
}

.content-wrapper {
    height: 0;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.01, 0.69, 0.6, 1);
    scrollbar-width: thin;
    background-color: white;
}

.offer-list .content-wrapper {
    max-height: 73svh;
    overflow-y: auto;
}

.offer-list .content {
    padding: 30px;
    background-color: white;
}

.offer-list .content form {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.offer-list .content form > .left,
.offer-list .content form > .right {
    width: 50%;
}

.offer-list .content form .list .desc {
    font-size: 0.875rem;
    font-weight: 500;
}

.offer-list .content form .list .desc2 {
    display: none;
}

.offer-list .content .service {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--primary);
}

.offer-list .content .service:last-of-type {
    border-bottom: 1px solid var(--secondary);
}

.offer-list .content .service h4,
.offer-list .total h4 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}

.offer-list .content .service .right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.offer-list .content .service .right .price {
    white-space: nowrap;
    margin-top: -2px;
}

.offer-list .content .service .right .price h5,
.offer-list .total h5 {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 5px;
    margin-bottom: 0;
}

.offer-list .content .service .input {
    padding: 7px 13px;
    border: 1.5px solid var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.offer-list .content .service .input input {
    width: 48px;
    text-align: center;
    border: none;
    font-weight: 500;
    font-size: 18px;
    pointer-events: none;
    padding: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.offer-list .content .service .input img {
    cursor: pointer;
}

.offer-list .delete {
    margin-top: -4px;
}

.offer-list .total {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.offer-list .total h5 {
    margin-top: 0;
    color: var(--secondary);
}

.offer-list .content form>.right {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--secondary);
    color: white;
}

.offer-list form .inputs input,
.offer-list form .inputs textarea {
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 15px;
    margin-bottom: 10px;
}

.offer-list form .inputs textarea {
    margin-bottom: 15px;
}

.offer-list form h3 {
    position: relative;
    font-weight: 600;
    font-size: 24px;
}

.offer-list .content form>.right label {
    color: white;
}

.offer-list .content form>.right .primary-link {
    margin-top: 15px;
}

.offer-list .content form>.right .primary-link:hover {
    color: var(--secondary);
}

.hero.red {
    background-color: var(--secondary);
}

/* .hero.red .layer {
    right: auto;
    left: 0;
    width: 45%;
    clip-path: polygon(0 0, 50% 0, 100% 100%, 0 100%);
    background: linear-gradient(330deg, #FFFFFF88 0%, transparent 100%);
} */

.contact-subpage .flex-content {
    gap: 40px;
}

.contact-subpage .infos {
    width: 40%;
}

.contact-subpage .infos svg path {
    fill: var(--primary);
}

.contact-subpage .map {
    width: 60%;
}

.contact-subpage .map iframe {
    width: 100%;
    height: 450px;
}

.contact.form-only .content {
    justify-content: center;
}

.contact.form-only .content form {
    width: 100%;
    max-width: 800px;
}

.hero.light {
    background-color: #E5E1FC;
    color: var(--gray);
}

.hero.light .primary-link {
    color: var(--gray);
    border-color: var(--gray);

}

.mobile-link {
    display: none;
}

.mac-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #11111188;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s;
}

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

.mac-modal .content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    width: calc(100% - 40px);
    position: relative;
    max-height: calc(100% - 80px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.mac-modal .content .cancel {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.mac-modal .content form {
    padding: 20px;
    background-color: var(--secondary);
    border-radius: 10px;
    margin-top: 20px;
}

.mac-modal .content form label {
    color: white;
}

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

@media (max-width: 1279px) {

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

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

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

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

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

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

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

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

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

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

    .mobile-link {
        display: flex;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        padding: 0 !important;
        justify-content: center;
        z-index: 99;
    }

    .mobile-link.up {
        bottom: 85px;
    }

    .mobile-link::after {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 4px solid var(--secondary);
        animation: pulse 2s infinite;
        position: absolute;
        content: "";
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    @keyframes pulse {
        0% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }

        100% {
            transform: translate(-50%, -50%) scale(1.5);
            opacity: 0;
        }
    }

    .mobile-link svg {
        margin-right: 0;
        height: 24px;
        width: 24px;
    }

}

@media (max-width: 767px) {

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

    h1 {
        font-size: 2rem;
    }

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

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

    h4 {
        font-size: 1rem;
    }

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

    section {
        padding: 30px 20px;
    }

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

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

    .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-direction: column-reverse;
        gap: 40px;
    }

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

    .icons {
        padding: 40px 20px;
    }

    .icons .items {
        gap: 2rem;
    }

    .icons .item {
        width: 100%;
        max-width: 100%;
    }

    .items .item img {
        height: 3rem;
        margin-bottom: 1.25rem;
    }

    .items .item h3 {
        margin-bottom: 1rem;
    }

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

    footer .content {
        padding: 40px 20px;
    }

    footer .container {
        flex-wrap: wrap;
        gap: 30px;
    }

    footer .item {
        min-width: 100%;
        max-width: 100%;
        text-align: center;
    }

    footer .item img {
        display: none;
    }

    footer .item p,
    footer .item a {
        margin: 0 auto;
    }

    footer .raccoon {
        margin: 2rem auto 0;
    }

    footer .raccoon a {
        font-size: 1rem;
    }

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

    .hero {
        padding: 80px 20px 55px;
        min-height: 250px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: flex !important;
        top: 220px;
    }

    .swiper-button-prev {
        left: 10px !important;
    }

    .swiper-button-next {
        right: 10px !important;
    }

    .hero.main-hero {
        min-height: auto;
    }

    .hero .left p {
        font-size: 1.625rem;
        line-height: 1.3;
        padding-left: 0.125rem;
    }

    .hero .primary-link {
        margin-top: 1.25rem;
        margin-left: 0.125rem;
    }

    .hero .right img {
        max-height: 280px;
    }

    .hero .flex-content {
        gap: 1.5rem;
    }

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

    .whyus .item {
        width: calc(50% - 20px);
        margin-bottom: 10px;
    }

    .whyus .item .number {
        font-size: 11.5rem;
        top: -4.75rem;
    }

    .services .items {
        gap: 20px;
    }

    .services .service {
        width: 100%;
        padding: 20px;
        margin-top: 160px;
    }

    .services .service img {
        height: auto;
        width: 100%;
        max-width: 280px;
    }

    .services .service h3 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .services .service .primary-link {
        position: static;
        margin: 1.25rem auto 0;
        transform: none;
    }

    .info-block {
        padding: 20px 20px 125px;
        margin-top: 40px;
    }

    .info-block h3 {
        font-size: 1.625rem;
        margin-bottom: 1rem;
    }

    .info-block p,
    li {
        font-size: 0.875rem;
    }

    .cutted-phones {
        width: 342px;
        margin: -156px auto 0;
    }

    .cutted-phones img {
        height: 210px;
    }

    .cutted-phones img:first-of-type {
        margin-right: -96px;
        margin-top: 84px;
    }

    .cutted-phones img:nth-of-type(3) {
        margin-top: 18px;
        margin-left: -12px;
    }

    .cutted-phones img:nth-of-type(4) {
        margin-top: 72px;
        margin-left: -66px;
        height: 228px;
    }

    .highlighted .items {
        gap: 20px;
    }

    .highlighted .item {
        width: 100%;
        padding: 20px 20px 4.5rem;
    }

    .highlighted .item img {
        height: 180px;
    }

    .blog {
        padding: 30px 20px;
    }

    .blog .items {
        gap: 20px;
    }

    .blog .item {
        width: 100%;
        flex-direction: column;
    }

    .blog .item .image {
        width: 100%;
        height: 200px;
    }

    .blog .item .content {
        width: 100%;
        padding: 15px;
    }

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

    .blog .item .date {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .blog .item p {
        margin-bottom: 0.5rem;
    }

    .contact {
        padding: 20px 20px 0;
    }

    .contact .content {
        padding: 20px;
        flex-direction: column;
        gap: 40px;
    }

    .contact .content .infos,
    .contact-subpage .infos {
        width: 100%;
    }

    .contact .content .infos h3,
    .contact-subpage .infos h3 {
        margin-bottom: 0.5rem;
        margin-top: 1.25rem;
    }

    .contact form {
        width: 100%;
    }

    /* ALOLDALAK */

    .nav {
        margin-bottom: 35px;
    }

    .selector h2 {
        font-size: 1.875rem;
    }

    .selector .categories {
        gap: 14px;
    }

    .selector .categories .item {
        width: calc(50% - 7px);
        padding: 15px 10px;
    }

    .selector .categories .item .images {
        margin-bottom: 1rem;
        height: 94px;
    }

    .selector .categories .item:first-of-type img:first-of-type {
        height: 94px;
    }
    
    .selector .categories .item:first-of-type img:nth-of-type(2) {
        height: 86px;
        margin-left: -12px;
    }
    
    .selector .categories .item:first-of-type img:nth-of-type(3) {
        height: 79px;
        margin-left: -12px;
    }
    
    .selector .categories .item:nth-of-type(2) img:first-of-type {
        height: 94px;
    }
    
    .selector .categories .item:nth-of-type(2) img:nth-of-type(2) {
        height: 54px;
        margin-left: -30px;
    }

    .selector .categories .item:nth-of-type(3) {
        min-width: 180px;
    }
    
    .selector .categories .item:nth-of-type(3) img:first-of-type {
        height: 85px;
    }
    
    .selector .categories .item:nth-of-type(3) img:nth-of-type(2) {
        height: 60px;
        margin-left: -90px;
    }

    .selector .categories .item h3 {
        font-size: 1.25rem;
    }

    section hr {
        margin: 30px auto;
    }

    .selector .devices {
        gap: 10px;
    }

    .selector .devices .item {
        width: calc(33.33% - 7px);
        padding: 10px;
    }

    .selector .devices img {
        height: 80px;
    }

    .selector .devices .name {
        font-size: 0.875rem;
    }

    .selector .details .header {
        gap: 1rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .selector .details .header img {
        height: 75px;
    }

    .selector .details .header .name {
        font-size: 1.25rem;
    }

    .selector .details .info {
        padding: 0.75rem 1.25rem;
    }

    .selector .details .content {
        flex-direction: column;
    }

    .selector .details .content>.left,
    .selector .details .content>.service-list {
        width: 100%;
    }

    .selector .details .content>.left * {
        font-size: 0.8125rem;
    }

    .selector .details .content .service {
        flex-direction: column;
        margin-bottom: 1rem;
    }

    .selector .details .content .service .left {
        width: 100%;
        padding: 1rem;
    }

    .selector .details .content .service .image {
        width: 100%;
    }

    .selector .details .content .service .right {
        flex-wrap: wrap;
        gap: 10px;
        padding: 1rem;
    }

    .selector .details .content .service .right > * {
        width: calc(50% - 5px);
    }

    .selector .details .content .service .right .price h4 {
        margin-top: 0.125rem;
        margin-bottom: 0;
    }

    .selector .details .content .service .right .primary-link {
        margin-top: auto;
    }

    .collapse-header {
        padding: 15px;
    }

    .offer-list {
        width: calc(100vw - 40px);
    }

    .offer-list .collapse-header .left {
        gap: 15px;
    }

    .offer-list .collapse-header .left img {
        width: 16px;
    }

    .offer-list .collapse-header .left h3 {
        font-size: 16px;
    }

    .offer-list .collapse-header .left p {
        display: none;
    }

    .collapse-header .angle {
        width: 16px;
    }

    .offer-list .content {
        padding: 15px;
    }

    .offer-list .content form {
        flex-direction: column;
        gap: 15px;
    }

    .offer-list .content form > .left,
    .offer-list .content form > .right {
        width: 100%;
    }

    .offer-list .content form > .right {
        padding: 15px;
    }

    .offer-list .content form .list .desc {
        font-size: 0.8125rem;
    }

    .offer-list .content .service {
        padding: 10px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .offer-list .content .service h4 {
        font-size: 0.875rem;
        margin-top: 1px;
    }

    .offer-list .content .service .right {
        justify-content: space-between;
        width: 100%;
        gap: 15px;
    }

    .offer-list .content .service .right .price {
        font-size: 0.875rem;
    }

    .offer-list .content .service .right .price h5 {
        font-size: 0.9375rem;
    }

    .offer-list .content .service .input {
        margin-left: auto;
        transform: scale(0.8);
        transform-origin: right center;
    }

    .offer-list .content .service .delete img {
        width: 16px;
    }

    .offer-list form .inputs {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 5px;
    }

    .offer-list form .inputs input,
    .offer-list form .inputs textarea {
        width: 100%;
        font-size: 13px;
        padding: 8px 12px;
    }

    .offer-list form h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .offer-list form .primary-link {
        margin-top: 5px;
    }

    .offer-list .content-wrapper {
        max-height: 80svh;
    }

    .offer-list .form-check:first-of-type {
        margin-top: 5px;
    }

    .offer-list .form-check label {
        font-size: 0.75rem;
    }

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

    .contact-subpage .map {
        width: 100%;
    }

    .contact-subpage .map iframe {
        height: 300px;
    }

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

}

@media (min-width: 768px) and (max-width: 1079px) {

    .relative {
        width: 87%;
        margin: 0 auto;
    }

    h2 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }
    
    .items .item {
        width: calc(33.33% - 20px);
    }

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

    .swiper-button-prev,
    .swiper-button-next {
        top: 50%;
        transform: translateY(-50%);
    }

    .hero .left p {
        font-size: 2rem;
    }

    section {
        padding: 40px;
    }

    .services .items {
        gap: 40px;
    }

    .services .service {
        margin-top: 180px;
        padding: 25px;
        width: calc(50% - 20px);
    }

    .info-block {
        position: relative;
        padding: 40px 40px 200px;
        margin-top: 40px;
    }

    .highlighted .items {
        gap: 30px;
    }

    .highlighted .item {
        padding: 1rem 1rem 5rem;
    }

    .blog .item {
        width: 100%;
    }

    .contact .content {
        padding: 30px;
    }

    footer .item:first-of-type {
        display: none;
    }

    .selector .categories {
        gap: 24px;
    }

    .selector .categories .item {
        width: calc(50% - 12px);
        padding: 15px;
    }

    .selector .details .content {
        flex-direction: column;
    }

    .selector .details .content>.left,
    .selector .details .content>.service-list {
        width: 100%;
    }

    .selector .details .content .service .right {
        flex-wrap: wrap;
    }

    .selector .details .content .service .right > * {
        width: auto;
    }

    .offer-list .content form {
        flex-direction: column;
        gap: 15px;
    }

    .offer-list .content form > .left,
    .offer-list .content form > .right {
        width: 100%;
    }

}

@media (min-width: 1080px) and (max-width: 1440px) {
    .hero .left p {
        font-size: 3rem;
    }
}

@media (max-width: 1279px) {
    .swiper-button-prev,
    .swiper-button-next {
        display: none;
    }

}

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

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

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

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