:root {
    --dark: #404040;
    --primary: #ffba16;
    --gray: #B0B0B0;
    --light: #F2F2F2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scrollbar-width: none;
}

html.real-estate {
    scrollbar-width: thin;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-weight: 450;
    color: var(--dark);
    font-family: 'Montserrat', sans-serif;
}

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

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: 3rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

h2 {
    font-size: 3.25rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 auto 2rem;
    text-transform: uppercase;
}

h1 .line,
h2 .line {
    overflow: hidden;
}

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

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

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

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

p,
li {
    font-size: 1.125rem;
    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: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.article h4 {
    font-size: 1.25rem;
    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: 16px;
}

section {
    padding: 80px clamp(20px, 5vw, 80px) 0;
    position: relative;
    max-width: 2560px;
    margin: 0 auto;
    overflow: hidden;
}

.primary-link {
    padding: 1em 2em 0.9375em;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: 0.05em;
    border-radius: 99px;
    display: block;
    width: fit-content;
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 2px solid var(--primary);
    background-color: var(--primary);
    color: white;
}

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

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

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

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

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

.small-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    width: fit-content;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.125rem;
    position: relative;
    margin-top: 1.75rem;
}

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

.small-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.7s cubic-bezier(0.01, 0.69, 0.4, 1);
}

.small-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.small-link::after {
    content: '';
    height: 0.875em;
    width: 2.75em;
    background-image: url('../images/arrow-right-blue.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

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

::-moz-selection {
    background: var(--primary);
    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(--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(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(--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;
}

/* CUSTOM MODAL */

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    overflow: hidden;
    padding: 20px;
}

.custom-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.basket-modal {
    display: flex;
    padding: 20px 0;
    align-items: center;
}

.custom-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.custom-modal .modal-content {
    margin: 20px auto;
    width: 100%;
    max-width: 950px;
    max-height: calc(100% - 40px);
    background-color: var(--light);
    border-radius: 16px;
    overflow: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.01, 0.69, 0.4, 1);
}

.custom-modal.active .modal-content {
    pointer-events: auto;
    transform: translateX(0);
}

.basket-modal .modal-content {
    transform: translateX(60px);
    border-radius: 16px 0 0 16px;
    margin: auto 0 auto auto;
    max-width: 550px;
}

.basket-modal.active .modal-content {
    transform: translateX(0);
}

.custom-modal .modal-content .header {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.basket-modal .modal-content .header {
    padding: 20px 30px;
}

.custom-modal .modal-content .header h3 {
    margin-bottom: 0;
    font-size: 2rem;
    text-align: center;
    width: 100%;
}

.basket-modal .modal-content .header h3 {
    font-size: 1.5rem;
}

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

.basket-modal .modal-content .header .cancel {
    top: 20px;
    right: 20px;
    width: 20px;
}

.custom-modal form {
    padding: 0 40px 40px;
}

.offer-modal .modal-content .header h3 {
    text-align: left;
}

.custom-modal form label {
    font-weight: 500;
    width: 100%;
}

.custom-modal form input,
.custom-modal form textarea,
.custom-modal form select {
    color: var(--dark);
    border-color: var(--gray);
}

.custom-modal form input::placeholder,
.custom-modal form textarea::placeholder,
.custom-modal form select::placeholder {
    color: var(--dark);
}

.custom-modal .form-check-input+label::before {
    border-color: var(--gray);
}

.custom-modal .form-check-input:checked+label::before {
    background-color: var(--gray);
    border-color: var(--gray);
}

.custom-modal .form-group {
    width: 100%;
}

.custom-modal form .primary-link {
    display: block;
    margin: 20px auto 0;
}

.basket-modal .list {
    padding: 20px;
}

.basket-modal .item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.basket-modal .item:not(:last-child) {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
}

.basket-modal .item .logo {
    width: 80px;
}

.basket-modal .item span {
    display: block;
}

.basket-modal .item .delete {
    margin-left: auto;
}

.basket-modal .item .delete img {
    width: 1.25rem;
    filter: brightness(0.7);
}

.basket-modal .primary-link {
    margin: 10px auto 20px;
    min-height: 3rem;
}

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

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

.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: 70px;
    height: calc(100vh - 70px);
    z-index: 998;
    transition: right 0.45s ease-out;
    overflow: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0 20px;
}

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

#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(--primary);
}

#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 */

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    padding: 0;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
    opacity: 0;
}

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

.navbar .container {
    max-width: 100%;
    flex-wrap: nowrap;
    gap: 1vw;
}

.navbar .first.container {
    justify-content: flex-end;
    background-color: #292929;
    padding: 0.5vw clamp(20px, 5vw, 80px);
}

.navbar .first.container * {
    color: white;
}

.navbar .first.container>a {
    font-size: 0.9vw;
    font-weight: 500;
    text-transform: uppercase;
    border-right: 1px solid white;
    padding-right: 1vw;
}

.navbar .first .search {
    position: relative;
    width: fit-content;
    border-left: 1px solid white;
    border-right: 1px solid white;
}

.navbar .first .search::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1vw;
    transform: translateY(-50%);
    width: 1.1vw;
    height: 1.1vw;
    background-image: url('../images/search.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.navbar .first .search input {
    background-color: transparent;
    border: none;
    color: white;
    padding: 0.25vw 2.75vw 0.25vw 1vw;
    font-size: 0.9vw;
    width: 12vw;
}

.navbar .first .search input::placeholder {
    color: white;
    opacity: 0.75;
}

.lang {
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
    padding-right: 1vw;
    cursor: pointer;
    font-size: 0.9vw;
}

.lang .current {
    padding-right: 1.5vw;
    position: relative;
}

.lang .current::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0.9vw;
    height: 0.9vw;
    background-image: url('../images/angle-down-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    transition: transform 0.4s ease-out;
}

.lang.active .current::after {
    transform: translateY(-50%) rotate(180deg);
}

.lang .list {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: top 0.3s, opacity 0.3s;
}

.lang.active .list {
    top: calc(100% + 0.8vw);
    opacity: 1;
    pointer-events: auto;
}

.lang .list a {
    display: block;
    color: var(--dark) !important;
    padding: 0.375vw 1vw;
    transition: background-color 0.3s;
}

.lang .list a:first-child {
    padding-top: 0.625vw;
}

.lang .list a:last-child {
    padding-bottom: 0.625vw;
}

.lang .list a:hover {
    background-color: var(--light);
}

.navbar .container {
    padding: 0.65vw clamp(20px, 5vw, 80px);
}

.navbar .logo {
    height: 3.375vw;
    display: flex;
    align-items: center;
}

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

.navbar .logo svg path {
    stroke: white;
    transition: stroke 0.3s;
}

.navbar.scrolled,
.navbar.real-estate .logo svg path {
    stroke: var(--primary);
}

.navbar .links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.75vw;
}

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

.navbar .links .nav-item {
    font-size: 0.9vw;
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
    white-space: nowrap;
    color: white;
    text-transform: uppercase;
}

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

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

.navbar .links .nav-item:hover,
.navbar .links .nav-item.active,
.navbar.real-estate .links .nav-item:hover,
.navbar.real-estate .links .nav-item.active {
    color: var(--primary);
}

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

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

.navbar .links .nav-item:hover::after,
.navbar .links .nav-item.active::after {
    width: 100%;
} */

.navbar .links .nav-item svg {
    width: 0.875vw;
    margin-left: 8px;
    transition: transform 0.3s;
}

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

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

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

.navbar .links .nav-item:hover svg path,
.navbar .links .nav-item.active svg path,
.navbar.real-estate .links .nav-item:hover svg path,
.navbar.real-estate .links .nav-item.active svg path {
    stroke: var(--primary);
}

.navbar .lang {
    border-right: 2px solid white;
    transition: all 0.3s;
}

.navbar .lang .current {
    color: white;
    font-weight: 600;
    border-left: 2px solid white;
    padding-left: 1vw;
    transition: all 0.3s;
    display: block;
    height: 100%;
}

.navbar.scrolled .lang,
.navbar.scrolled .lang .current,
.navbar.real-estate .lang,
.navbar.real-estate .lang .current {
    color: var(--dark);
    border-color: var(--dark);
}

.navbar .lang .current::after {
    transition: all 0.4s;
}

.navbar.scrolled .lang .current::after,
.navbar.real-estate .lang .current::after {
    filter: brightness(0);
}

/* NAVBAR DROPDOWN */

.navbar .navbar-dropdown {
    position: absolute;
    top: 3vw;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 0;
    width: auto;
    height: auto;
    /* overflow: visible; */
    z-index: 998;
    /* height: fit-content;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s cubic-bezier(0.01, 0.69, 0.4, 1); */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.navbar .navbar-dropdown.active {
    z-index: 999;
    opacity: 1;
    pointer-events: auto;
}

.navbar .navbar-dropdown .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    background-color: #FFFFFFEE;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* .navbar .navbar-dropdown .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--dark);
} */

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

.navbar .navbar-dropdown .container a {
    display: block;
    font-size: 0.9vw;
    padding: 0.8vw;
    white-space: nowrap;
    font-weight: 600;
    text-transform: uppercase;
}

.navbar-dropdown .container a:hover {
    color: var(--primary);
}

.navbar .right {
    display: flex;
    gap: 1.5vw;
}

.navbar .buttons {
    display: flex;
    gap: 0.75vw;
}

.navbar .buttons .button:not(.open-sidebar) {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.25vw;
    width: 1.375vw;
    position: relative;
    cursor: pointer;
}

.navbar .buttons .button a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.navbar .buttons .button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(4);
    transition: filter 0.3s;
}

.navbar .buttons .basket .count {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled .buttons .button img,
.navbar.real-estate .buttons .button img {
    filter: none;
}

/* .navbar.real-estate .links .nav-item {
    display: none;
} */

/* 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(8px);
    -webkit-backdrop-filter: blur(8px);
    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);
    /* width: calc(25% - 30px); */
    position: relative;
}

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

.items.four .item {
    width: calc(25% - 30px);
}

.items.six .item {
    width: calc(16.66% - 33.33px);
}

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

.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: 99;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 0;
    transform: translateY(-50%);
}

.swiper-button-lock {
    opacity: 0;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 34px;
    font-weight: 400;
}

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

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

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

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

.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: -50px;
}

.swiper-pagination-bullet {
    background-color: white;
    opacity: 1;
    width: 20px;
    height: 20px;
    margin: 0 10px !important;
    transition: all 0.4s;
    border-radius: 99px;
    border: 2px solid var(--dark);
}

.swiper-pagination-bullet-active {
    background-color: var(--dark);
}

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

/* LOADER */

.weLoveSEO {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99999;
    font-size: 2px !important;
    color: #292929;
}

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

.loader.end {
    opacity: 0;
}

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

.open-basket-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 80px;
    height: 80px;
    z-index: 999;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 0;
}

.open-basket-fixed img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.open-basket-fixed .count {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: #888;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* HERO */

.hero {
    width: 100vw;
    height: 56.25vw;
    position: relative;
    z-index: 9;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: visible;
    color: white;
    background-color: #202020;
}

.hero.main-hero .image {
    opacity: 0;
}

.hero video {
    height: 50.5vw;
    mask: linear-gradient(to bottom, rgba(0, 0, 0, 1) 99dvh, rgba(0, 0, 0, 0) 100%);
    -webkit-mask: linear-gradient(to bottom, rgba(0, 0, 0, 1) 99dvh, rgba(0, 0, 0, 0) 100%);
}

.hero .search {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 clamp(20px, 5vw, 80px);
}

.search-form {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2vw;
    padding-bottom: 2.5vw;
}

.search-form .unique-select {
    position: relative;
}

.search-form .unique-select .current,
.toggle-input+label {
    display: block;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
    font-size: 0.9vw;
    padding-bottom: 1.5vw;
    cursor: pointer;
    margin-bottom: 0;
    line-height: 1.35;
}

.search-form .unique-select .current {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.search-form .unique-select .current span {
    max-width: 8vw;
}

.search-form .unique-select .current::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 1.1vw;
    height: 1.1vw;
    background-image: url('../images/angle-down-fill-white.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    transition: transform 0.3s ease-out;
}

.search-form .unique-select.active .current::after {
    transform: translateX(-50%) scaleY(-1);
}

.search-form .unique-select .list {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: top 0.3s, opacity 0.3s;
    max-height: 14vw;
    overflow-y: auto;
    scrollbar-width: thin;
    overscroll-behavior: contain;
}

.search-form .unique-select.active .list {
    top: calc(100% + 1vw);
    opacity: 1;
    pointer-events: auto;
}

.search-form .unique-select .list .option {
    display: block;
    padding: 0.375vw 0.875vw;
    white-space: nowrap;
    font-size: 0.9vw;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    text-align: center;
    border-bottom: 2px solid var(--light);
}

.search-form .unique-select .list .option:first-child {
    padding-top: 0.625vw;
}

.search-form .unique-select .list .option:last-child {
    padding-bottom: 0.625vw;
}

.search-form .unique-select .list .option:hover {
    background-color: var(--light);
}

.search-form .unique-select .list .option.selected {
    background-color: var(--light);
    font-weight: 600;
}

.search-form .unique-select.range .list {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    padding: 0.5vw;
    font-weight: 500;
    font-size: 0.9vw;
}

.search-form .unique-select.range .list input {
    width: 6vw;
    padding: 0.375vw;
    border: 1px solid var(--gray);
    color: var(--dark);
    text-align: center;
    font-size: 0.9vw;
}

.search-form .primary-link {
    padding: 0.625vw 1vw;
    font-size: 0.9vw;
    display: flex;
    align-items: center;
}

.search-form .primary-link img {
    width: 2vw;
    margin-right: 0.75vw;
    padding-right: 0.75vw;
    border-right: 0.125vw solid var(--dark);
}

.search-form .primary-link span {
    color: var(--dark);
    letter-spacing: 0;
    font-weight: 600;
    font-size: 1vw;
}

.toggle-check {
    position: relative;
}

.toggle-input {
    display: none;
}

.toggle-input+label::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2vw;
    height: 1vw;
    border-radius: 99px;
    outline: 2px solid white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.toggle-input+label::after {
    content: '';
    position: absolute;
    bottom: 0.12vw;
    left: 50%;
    transform: translateX(-0.8vw);
    width: 0.7vw;
    height: 0.7vw;
    background-color: white;
    border-radius: 99px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.toggle-input:checked+label::before {
    background-color: white;
}

.toggle-input:checked+label::after {
    background-color: #202020;
    transform: translateX(0);
}

.projects {
    padding: 40px 0;
    margin-top: 60px;
    overflow: visible;
}

.projects .shape {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateY(-50%);
    width: auto;
    height: 100%;
    max-width: 50%;
    z-index: 2;
    opacity: 0.65;
}

.projects .swiper-slide {
    padding: 0 clamp(20px, 5vw, 80px);
    overflow: hidden;
}

.projects .flex-content {
    gap: 120px;
}

.projects .left {
    position: relative;
    height: 35vw;
}

.projects .left img {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(50vw - 40px);
    height: 100%;
}

.projects .right .logo {
    display: block;
    margin-left: auto;
    width: auto;
    height: 85px;
    margin-bottom: 35px;
}

.projects .right p {
    font-size: 1.125rem;
    font-weight: 500;
}

.projects .swiper-button-prev,
.agent .swiper-button-prev {
    left: clamp(20px, 5vw, 80px);
    transform: rotate(-45deg);
}

.projects .swiper-button-next,
.agent .swiper-button-next {
    right: clamp(20px, 5vw, 80px);
    transform: rotate(45deg);
}

.projects .swiper-button-prev::after,
.agent .swiper-button-prev::after {
    content: '◤';
    color: white;
}

.projects .swiper-button-next::after,
.agent .swiper-button-next::after {
    content: '◥';
    color: var(--dark);
}

.agent .swiper-button-next::after {
    color: white;
}

.numbers {
    padding: 50px clamp(20px, 5vw, 80px);
    background-color: var(--light);
    margin-top: 80px;
}

.numbers .items.four {
    justify-content: space-around;
}

.numbers .item {
    align-items: center;
    width: fit-content !important;
}

.numbers .upper {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 10px;
}

.numbers .icon {
    height: 90px;
}

.numbers .number {
    font-size: 3rem;
    font-weight: 500;
    line-height: 0.9;
}

.numbers h4 {
    width: 100%;
    font-size: 1.375rem;
    margin-bottom: 0;
    font-weight: 500;
}

.banner {
    height: 37.1875vw;
}

.banner .wrapper {
    max-width: 50vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner .lines {
    display: flex;
    flex-wrap: wrap;
    gap: 3vw;
}

.banner .lines .line {
    width: calc(50% - 1.5vw);
}

.banner .lines .line span {
    display: block;
    width: fit-content;
    background-color: white;
    font-size: 1.15vw;
    font-weight: 600;
    padding: 0.5em 1em 0.5em 2.5em;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s;
    position: relative;
}

.banner .lines .line span:hover {
    background-color: var(--primary);
    color: white;
}

.banner .lines .line span::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -0.875em;
    width: 3.5em;
    height: 3.5em;
    background-image: url('../images/check-yellow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    transition: all 0.3s;
}

.banner .lines .line span:hover::before {
    transform: translateY(-10%) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}


.banner .video-icon {
    display: block;
    margin: 5vw auto 0;
    width: 10vw;
    transition: transform 0.6s cubic-bezier(0.01, 0.69, 0.4, 1);
}

.banner .video-icon:hover {
    transform: scale(1.1);
}

section.logos {
    padding: 50px clamp(20px, 5vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light);
}

section.logos img {
    height: 6vw;
}

.featured h2,
.awards h2 {
    text-align: center;
    margin-bottom: 3.5rem;
}

.featured .image {
    position: relative;
    height: 380px;
    border-radius: 8px;
    overflow: hidden;
}

.featured .main {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured .project-logo {
    background-color: #FFFFFFCC;
    padding: 12px;
    border-radius: 8px;
    position: absolute;
    top: 12px;
    right: 12px;
    height: 90px;
}

.featured .badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.featured .badges img {
    width: 70px;
}

.featured .size {
    width: 90px;
    height: 72px;
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: url('../images/nm_szam_ikon_hatter.png') no-repeat center / contain;
    filter: brightness(1.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    font-weight: 600;
    font-size: 1.125rem;
}

.featured .content {
    padding: 18px;
}

.featured .content a {
    display: block;
    margin-bottom: 1rem;
}

.featured .content h3 {
    margin: 0;
}

.featured .info {
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.featured .desc {
    margin-top: 1rem;
    font-weight: 500;
    font-size: 1rem;
}

.awards .item {
    align-items: center;
}

.awards img {
    height: 140px;
}

.agent {
    margin-top: 100px;
    padding: 0;
    overflow: visible;
}

.agent .bg {
    top: auto;
    bottom: 0;
    height: calc(100% - 80px);
}

.agent .swiper-wrapper,
.agent .swiper {
    overflow: visible;
}

.agent .swiper-slide {
    overflow: visible;
    padding-top: calc(9vw + 70px);
    padding-bottom: 9vw;
    height: auto;
}

.agent .swiper-slide:not(.swiper-slide-visible) {
    opacity: 0 !important;
}

.agent .agent-image {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
}

.agent .container * {
    color: white;
    text-align: left;
}

.agent .container h2 {
    margin: 0 0 4rem;
}

.agent .container h3 {
    text-transform: uppercase;
    font-size: 1.75rem;
}

.agent .container p {
    font-size: 1.25rem;
}

.contact {
    overflow: visible;
}

.contact h2 {
    max-width: 1050px;
    margin: 0 0 2.5rem;
    font-size: 2.625rem;
}

.contact .contact-logo {
    display: block;
    height: 100px;
    margin-bottom: 2rem;
}

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

.contact .content .link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0.625rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.contact .content .link img {
    width: 1.25rem;
}

.contact .content .center {
    max-width: 500px;
    font-weight: 500;
}

.contact .content .center h4 {
    font-size: 1.5rem;
}

.contact #map {
    height: 38vw;
    width: 100vw;
    margin-left: clamp(-80px, -5vw, -20px);
    margin-top: 60px;
}

.leaflet-tile-pane {
    filter: grayscale(1);
}

.leaflet-bottom,
.leaflet-top {
    z-index: 800 !important;
}

.contact-form {
    position: absolute;
    top: calc(80px + 8.5rem);
    right: 0;
    background-color: #202020DD;
    max-width: calc(36vw - 60px);
    padding: 30px;
    z-index: 900;
    color: white;
}

.contact-form h3 {
    text-transform: uppercase;
    font-size: 2.5rem;
}

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

input,
textarea,
select {
    padding: 0.75em 1.25em;
    outline: none;
    background-color: transparent;
    color: white;
    font-size: 1rem;
    width: 100%;
    resize: none;
    border-radius: 10px;
    border: 2px solid white;
    font-weight: 500;
}

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

option {
    color: var(--dark);
}

option:hover {
    color: var(--dark);
}

form input::placeholder,
form textarea::placeholder,
form select::placeholder {
    color: white;
    opacity: 0.7;
}

.form-check {
    margin-left: 37px;
    padding-left: 0 !important;
    width: 100%;
    height: fit-content;
}

.form-check:not(.form-group .form-check):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;
}

.form-check-input+label::before {
    content: " ";
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    margin-left: -37px;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 5px;
    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: 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 .primary-link {
    margin-top: 1.25rem;
    position: relative;
    z-index: 2;
    border-color: white;
    color: white;
}

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

.contact .form-check-input+label {
    color: white;
}

.contact .form-check-input+label a {
    color: white;
    text-decoration: underline;
}

/* FOOTER */

footer {
    position: relative;
    padding: 60px clamp(20px, 5vw, 80px);
}

footer .content {
    color: white;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

footer .item .logo {
    width: 60px;
    height: 40px;
    object-fit: contain;
    object-position: left;
}

footer .item h4 {
    font-size: 1rem;
    margin-bottom: 0.625rem;
    text-transform: uppercase;
}

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

footer .item p,
footer .item a {
    display: block;
    width: fit-content;
    color: white;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 500;
}

footer .item a:hover {
    color: #fff7ba;
}

footer .contact-infos p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.1875rem;
}

footer .contact-infos p img {
    filter: brightness(10);
    width: 0.875rem;
}

footer form {
    max-width: 230px;
    gap: 0;
}

footer form input {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
}

footer form .primary-link {
    margin-top: 0.625rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    color: white;
    border-color: white;
    background-color: transparent;
    border-radius: 0.5rem;
    font-weight: 550;
}

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

footer .ck p {
    font-size: 0.6875rem;
    max-width: 300px;
    text-transform: none;
}

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

footer .socials img {
    width: 1.25rem;
    height: 1.25rem;
    filter: brightness(10);
}

footer hr {
    border-top: 1px solid white;
    margin: 40px 0 50px;
    width: 100%;
}

/* ALOLDALAK */

.nav {
    line-height: 1.15;
    margin-bottom: 40px;
}

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

.nav a:last-of-type {
    font-weight: 600;
}

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

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

.projects.subpage .left.side img {
    right: auto;
    left: 0;
}

.projects.subpage .shape {
    right: auto;
    left: 50%;
}

.projects.subpage .swiper-button-prev::after {
    color: var(--dark);
}

.projects.subpage .swiper-button-next::after {
    color: white;
}

.project-banner {
    height: 52.65vw;
    overflow: hidden;
    margin-top: 100px;
    padding: 80px 7vw;
}

.project-banner .content {
    max-width: 38vw;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
}

.project-banner .swiper-slide {
    height: 10vw;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid white;
}

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

.project-banner .swiper-button-next::after {
    content: '◥';
}

.project-banner .swiper-button-prev::after {
    content: '◤';
}

.project-banner .swiper-button-next {
    transform: translateY(-50%) rotate(45deg);
}

.project-banner .swiper-button-prev {
    transform: translateY(-50%) rotate(-45deg);
}

.project-banner .swiper-desc {
    margin: 1.125vw 0 2.5vw;
    font-size: 1.25vw;
    text-align: center;
    color: white;
}

.project-banner .swiper-desc p {
    font-size: 1.1vw;
    font-weight: 600;
    margin-bottom: 0;
}

.project-banner .item {
    background-color: white;
    padding: 1.75vw;
    border-radius: 20px;
}

.project-banner .item .upper {
    display: flex;
    align-items: center;
    gap: 1.75vw;
    margin-bottom: 1.25vw;
}

.project-banner .item .upper .icon {
    height: 6vw;
}

.project-banner .item .upper span {
    text-align: center;
    width: 100%;
    font-size: 2.25vw;
    line-height: 1.25;
    font-weight: 600;
}

.project-banner .item:first-child span {
    font-size: 1.5vw;
}

.project-banner .item h4 {
    margin-bottom: 0;
    font-size: 1.1vw;
}

.apartment-list {
    background-color: var(--light);
    padding-top: 40px;
    padding-bottom: 60px;
}

.apartment-list h2 {
    position: relative;
    width: fit-content;
    padding: 0.875em 3.75em;
    font-weight: 550;
    color: var(--primary);
}

.apartment-list h2 span {
    position: relative;
    z-index: 1;
}

.apartment-list h2::before {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-52%, -49%);
    background: url('../images/splash.png') no-repeat center / contain;
}

.apartment-list .toggle-input:checked+label::after {
    filter: brightness(100) invert(1);
}

.apartment-list .search-form .unique-select .current,
.apartment-list .toggle-input+label {
    filter: invert(0.85);
}

.apartment-list .item.sold {
    filter: grayscale(0.5);
    opacity: 0.5;
    pointer-events: none;
}

.apartment-list .item .image {
    height: 400px;
    position: relative;
    margin-bottom: 1.375rem;
}

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

.apartment-list .item .image .size {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: url('../images/nm_szam_ikon_hatter.png') no-repeat center / contain;
    filter: brightness(1.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    font-weight: 600;
    font-size: 1.125rem;
    width: 90px;
    height: 72px;
}

.apartment-list .item h3 a {
    font-size: 1.5rem;
    font-weight: 500;
}

.apartment-list .item h3 {
    margin-bottom: 0.75rem;
}

.apartment-list .item .infos .line {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.apartment-list .item .state {
    font-size: 1rem;
    font-weight: 500;
    color: #1f5b26;
}

.apartment-list .item.sold .state {
    color: #f10505;
}

.apartment-list .item .price {
    font-size: 1.25rem;
    font-weight: 600;
}

.advantages h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
}

.advantages .container {
    max-width: 1440px;
}

.advantages .swiper-slide {
    padding: 20px 15px;
    border-radius: 10px;
    text-align: center;
    background-color: #dcddde;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.advantages .swiper-slide img {
    width: 100%;
    height: 160px;
    object-fit: contain;
}

.advantages .swiper-slide h4 {
    margin-bottom: 0;
    font-weight: 550;
    font-size: 1.1875rem;
    flex: auto;
    display: flex;
    align-items: center;
}

.advantages .swiper-button-prev::after {
    content: '◤';
    color: var(--dark);
}

.advantages .swiper-button-next::after {
    content: '◥';
    color: var(--dark);
}

.advantages .swiper-button-prev {
    left: -64px;
    transform: translateY(-50%) rotate(-45deg);
}

.advantages .swiper-button-next {
    right: -64px;
    transform: translateY(-50%) rotate(45deg);
}

.advantages+.contact {
    background-color: var(--light);
    margin-top: 80px;
}

.ready-project {
    padding-top: 9vw;
}

.ready-project h1 {
    text-align: left;
    margin-left: 0;
    text-transform: uppercase;
}

.ready-project .desc-2 {
    margin: 60px 0;
}

.ready-project .desc-2 .left.side {
    position: relative;
    width: 400px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ready-project .desc-2 .left.side .logo {
    width: 200px;
    height: auto;
}

.ready-project .desc-2 .right.side {
    width: calc(100% - 480px);
}

.ready-project .gallery-items .line {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    height: 300px;
}

.ready-project .gallery-items .line .wide {
    width: 60%;
    height: 300px;
}

.ready-project .gallery-items .line .small {
    width: 40%;
    height: 300px;
}

.ready-project .gallery-items .line img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ready-project .gallery-items .line .content {
    height: auto;
    padding-right: 40px;
}

.apartment {
    padding-top: 8vw;
}

.apartment .project {
    display: flex;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--gray);
}

.apartment .project-infos {
    margin-left: 30px;
    padding-left: 30px;
    border-left: 2px solid var(--gray);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apartment .project .logo {
    height: 90px;
}

.apartment .project .name {
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.375rem;
}

.apartment .payment-icon {
    display: block;
    width: 90px !important;
    height: 90px !important;
    object-fit: contain;
    margin-top: -66px;
    margin-left: auto;
}

.apartment .top {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
}

.apartment .top .left,
.apartment .top .right {
    width: 50%;
}

.apartment span {
    display: block;
}

.apartment .status {
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.apartment h1 {
    margin-left: 0;
    text-align: left;
    font-size: 1.375rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.apartment .floor {
    font-weight: 600;
}

.apartment .price {
    margin: 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.apartment .size {
    font-size: 1rem;
}

.apartment .size strong {
    font-size: 1.25rem;
}

.apartment .primary-link {
    margin-top: 1rem;
    color: var(--dark);
}

.apartment .top .right {
    padding-right: 40px;
}

.apartment .right h5 {
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.apartment .right .line {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-weight: 600;
    font-size: 14px;
}

.apartment .right .line:not(:last-child) {
    padding-bottom: 7px;
    margin-bottom: 7px;
    border-bottom: 2px solid var(--gray);
}

.apartment .bottom.items {
    gap: 20px;
    margin-right: -40px;
}

.apartment .bottom .item {
    width: calc(100% / 3 - 14px);
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}

.apartment .bottom .item img {
    height: 50px;
    filter: brightness(1.1);
}

.apartment .bottom .item strong {
    text-transform: uppercase;
}

.apartment .parking {
    margin: 80px 0;
}

.apartment .parking h4 {
    text-transform: uppercase;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--dark);
}

.apartment .parking .content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    justify-content: space-between;
}

.apartment .parking .logo {
    width: 100px;
}

.apartment .parking .text {
    text-align: right;
}

.apartment .parking .text h5 {
    font-size: 1.25rem;
}

.apartment .parking .text p {
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
}

.apartment .parking .primary-link {
    margin-left: auto;
}

.apartment .right.side .image a {
    display: block;
    width: 100%;
    height: 400px;
    border: 3px solid #686868;
    position: relative;
}

.apartment .right.side .image a::before {
    content: '+';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 28px;
    height: 28px;
    background-color: #686868;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 500;
}

.apartment .right.side .image a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 48px;
    height: 32px;
    background: url('../images/gallery-icon.png') no-repeat center / 70%;
    background-color: #686868;
}

.apartment .right.side .image a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apartment .right.side .image a:not(:first-child) {
    display: none;
}

.apartment .right.side .buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 0 40px;
}

.apartment .right.side .buttons span {
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s;
    font-size: 0.9375rem;
    border-bottom: 2px solid transparent;
}

.apartment .right.side .buttons span.active {
    border-color: var(--primary);
}

.apartment .right.side .featured h4 {
    text-transform: uppercase;
    font-size: 1.375rem;
    margin-bottom: 1rem;
    text-align: center;
}

.apartment .right.side .featured .items {
    gap: 20px;
    margin: 20px 0 40px;
}

.apartment .right.side .featured .items .item {
    width: calc(100% / 3 - 14px);
}

.apartment .right.side .featured .items .item .image {
    height: 200px;
    border-radius: 0;
}

.apartment .right.side .featured .project-logo {
    background-color: #FFFFFFEE;
    padding: 8px;
    border-radius: 8px;
    top: 8px;
    right: auto;
    left: 8px;
    height: 60px;
}

.apartment .right.side .featured .size {
    width: 60px;
    height: 48px;
    position: absolute;
    bottom: 8px;
    right: auto;
    left: 8px;
    padding-top: 14px;
    padding-left: 3px;
    font-weight: 600;
    font-size: 0.8125rem;
}

.agents {
    padding: 0;
}

.agents img {
    width: 100%;
    height: 56.4vw;
    object-fit: cover;
}

.agents .infos {
    padding: 40px 7vw;
}

.agents .item h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.agents .item span {
    font-size: 1.125rem;
    font-weight: 500;
}

.real-estate-hero {
    /* height: 58vw; */
    height: 48vw;
    overflow: visible;
    z-index: 2;
}

.real-estate-hero .search {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 65vw;
}

.real-estate-hero .search .icons {
    display: flex;
    gap: 3.5vw;
    padding-bottom: 1.5vw;
    margin-bottom: 1.125vw;
    border-bottom: 2px solid #999;
}

.real-estate-hero .search .icons .item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5vw;
    border-left: 2px solid #999;
    border-right: 2px solid #999;
    text-align: center;
    font-weight: 500;
    font-size: 0.8vw;
}

.real-estate-hero .search .icons .item img {
    width: 5vw;
    height: 5vw;
    object-fit: contain;
    object-position: bottom center;
}

.real-estate-hero .search-form {
    padding-bottom: 1vw;
}

.real-estate-hero .search .current,
.real-estate-search .search .current {
    filter: invert(0.85);
}

.real-estate-hero .search .toggle-input:checked+label::after {
    background-color: black;
}

.real-estate-hero .shape {
    position: absolute;
    bottom: 75%;
    left: calc(100% + 1vw);
    width: 16vw;
    transform-origin: bottom left;
    transform: rotate(-15deg);
}

.awards.real-estate h2 {
    color: var(--primary);
}

.featured.real-estate .szplotyi {
    position: absolute;
    top: 290px;
    right: -15px;
    width: 180px;
    pointer-events: none;
}

.featured.real-estate .item .image {
    border-radius: 0;
}

.featured.real-estate .item .content {
    padding: 20px 0;
}

.featured.real-estate .content a {
    margin-bottom: 0;
}

.featured.real-estate .item .content h3 {
    font-size: 1.625rem;
}

.featured.real-estate .desc {
    margin-top: 0.25rem;
}

.awards.real-estate .process {
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.awards.real-estate .process span {
    font-size: 24px;
    font-weight: 550;
}

.awards.real-estate .process img {
    width: 180px;
    height: auto;
}

.awards.real-estate .items {
    overflow: hidden;
    justify-content: space-between;
}

.awards.real-estate .items img {
    height: 100px;
}

.real-estate-search {
    overflow: visible;
}

.real-estate-search .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0.07;
}

.real-estate-search .background img {
    width: 100%;
    height: auto;
}

.real-estate-search .background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(transparent, white);
}

.real-estate-search {
    padding-top: 7vw;
}

.real-estate-search .search {
    border-top: 2px solid #999;
    padding-top: 1.5vw;
}

.real-estate-search .search-form {
    align-items: flex-start;
    padding-bottom: 0;
}

.real-estate-list+.contact {
    background-color: white;
}

.real-estate-list {
    padding: 60px clamp(20px, 5vw, 80px) 80px;
}

.real-estate-list .item {
    background-color: white;
    padding: 12px 24px;
    justify-content: space-between;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
    border-radius: 4px;
}

.real-estate-list .item,
.real-estate-list .item .left,
.real-estate-list .item .right {
    display: flex;
    gap: 30px;
    align-items: center;
}

.real-estate-list .project-icon {
    width: 80px;
    filter: contrast(0) grayscale(100%) brightness(0.5);
}

.real-estate-list .main-image {
    width: 160px;
}

.real-estate-list .text a {
    display: block;
}

.real-estate-list .name {
    font-weight: 550;
    font-size: 1.375rem;
    margin-bottom: 0.25em;
}

.real-estate-list .availability {
    color: #646464;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
}

.real-estate-list .availability strong {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
    padding-right: 0.25em;
}

.real-estate-list .infos {
    display: flex;
    gap: 24px;
    font-weight: 500;
}

.real-estate-list .infos-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    font-weight: 550;
    font-size: 0.9375rem;
    color: #646464;
}

.real-estate-list .infos-item img {
    height: 32px;
}

.real-estate-list .buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-left: 40px;
}

.real-estate-list .add-to-basket img {
    width: 50px;
}

.real-estate-list .buttons a img {
    width: 150px;
}

.projects.subpage.about .numbers {
    padding: 0;
    background-color: transparent;
}

.projects.subpage.about .numbers .items {
    gap: 20px;
    justify-content: space-between;
}

.projects.subpage.about .numbers .item {
    align-items: flex-start;
}

.projects.subpage.about .numbers .number {
    font-size: 2.5rem;
}

.projects.subpage.about .numbers .item img {
    width: auto;
    height: 64px;
}

.about-banner {
    display: flex;
    align-items: center;
}

.about-banner .content {
    position: relative;
    z-index: 1;
    height: fit-content;
}

.about-banner .content::before {
    content: '';
    position: absolute;
    top: -3vw;
    left: -3vw;
    width: 9999px;
    height: calc(100% + 6vw);
    background-color: #FFFFFFC0;
    backdrop-filter: blur(8px);
    border-radius: 1vw;
    z-index: -1;
}

.about-banner .content .text {
    margin: 3rem 0;
    font-weight: 500;
}

.about-banner .content .text p {
    font-size: 1.1875rem;
}

@media (max-width: 1279px) {

    .navbar {
        height: 70px;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 20px;
    }

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

    .navbar .logo {
        height: 36px;
        margin: 0;
    }

    .navbar .links {
        display: none;
    }

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

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

    .navbar .buttons a {
        display: none;
    }

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

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

    .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(8px);
        backdrop-filter: blur(8px);
        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.75rem;
    }

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

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

    .hero {
        margin-top: 70px;
    }

    .hero.main-hero {
        padding: 60px 20px 40px;
    }

    .hero h1 {
        font-size: 2.125rem;
        line-height: 1.25;
    }

    .hero h3 {
        font-size: 1.4375rem;
    }











    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-group.half {
        width: 100%;
    }

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

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

    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 .item .raccoon a {
        display: block !important;
        width: 100% !important;
        margin-bottom: 0;
        text-align: center;
    }

    .hero {
        padding: 75px 20px 55px;
    }

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


}

@media (min-width: 767px) and (max-width: 1279px) {
    .navbar {
        padding: 0 40px;
        height: 90px;
    }

    .navbar .logo {
        height: 40px;
    }

    #sidebar,
    .navbar-dropdown {
        top: 90px;
        height: calc(100vh - 90px);
        padding: 10px 40px;
    }

    #sidebar .links a svg {
        right: 42px;
    }
}

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

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

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

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

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


}

@media (min-width: 1024px) and (max-width: 1279px) {}

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