:root {
    --gold: #C2AA75;
    --lightgold: #EBD99B;
    --gold-gradient: linear-gradient(90deg, var(--gold) 0%, var(--lightgold) 50%, var(--gold) 100%);
    --lightgold-gradient: linear-gradient(90deg, #D5C49E 0%, #EEE3BF 50%, #D5C49E 100%);
    --gray: #3A3A39;
}

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

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;
    display: flex;
    flex-direction: column;
}

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

strong {
    font-weight: 700;
}

h1 {
    font-size: 5rem;
    margin: 0;
    text-transform: uppercase;
    font-weight: 700;
    font-family: "Cormorant Garamond", serif;
}

h2 {
    font-size: 4.5rem;
    line-height: 1.15;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4rem;
    color: var(--gold);
    font-family: "Cormorant Garamond", serif;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

h5,
h6 {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.625rem;
}

h6 {
    font-style: italic;
}

p,
li,
a {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.625rem;
}

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

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

ul {
    margin: 1.25rem 0;
}

.article h2 {
    font-size: 4rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

.article h3 {
    font-size: 2.25rem;
    color: var(--gold);
    margin-top: 1.375rem;
}

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

.article h5 {
    font-size: 1.25rem;
    margin-top: 1.25rem;
}

.article h6 {
    font-size: 1.125rem;
    margin-top: 1.25rem;
}

.article img {
    width: 100%;
    margin: 1.25rem 0;
}

section {
    margin: 0;
    padding: 120px 40px;
    position: relative;
}

@property --c1 {
    syntax: "<color>";
    inherits: false;
    initial-value: #D5C49E;
}

@property --c2 {
    syntax: "<color>";
    inherits: false;
    initial-value: #EEE3BF;
}

.primary-link {
    padding: 0.875rem 2.25rem;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1;
    transition: background-color 0.3s, color 0.3s, border 0.3s;
    border-radius: 0 1rem 0 1rem;
    display: block;
    width: fit-content;
    --c1: #D5C49E;
    --c2: #EEE3BF;
    background: linear-gradient(90deg, var(--c1) 0%, var(--c2) 50%, var(--c1) 100%);
    text-transform: uppercase;
    outline: none;
    white-space: nowrap;
    color: var(--gray);
    font-family: "Cormorant Garamond", serif;
    transition: --c1 0.3s, --c2 0.3s;
}

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

.primary-link.light {
    background-color: white;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.primary-link svg {
    height: 1rem;
    object-fit: contain;
    margin-right: 0.625rem;
}

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

.primary-link.light svg path {
    fill: var(--gold);
}

@media (min-width: 1080px) {
    .primary-link:hover {
        --c1: #C2AA75;
        --c2: #EBD99B;
        color: var(--gray);
    }

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

    .primary-link:hover svg path {
        fill: var(--gold);
    }

    .primary-link.light:hover svg path {
        fill: white;
    }

}

::selection {
    background: #EFE6C4;
    color: var(--gray);
}

::-moz-selection {
    background: #EFE6C4;
    color: var(--gray);
}

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

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

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

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

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

.custom-control-input:not(:disabled):active~.custom-control-label::before,
.custom-control-input:not(:disabled):focus~.custom-control-label::before {
    border-color: var(--gold) !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(--gold);
    border-color: var(--gold) !important;
    color: white;
}

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

.sliderContainer_success .slider {
    top: -1px;
    border: 1px solid var(--gold);
    background-color: var(--gold) !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(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.4s;
    z-index: 996;
}

.overlay.active {
    opacity: 1;
}

@media (max-width: 1140px) {
    .overlay {
        display: none;
    }
}

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

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

@media (min-width: 1080px) {
    a:hover {
        color: var(--gold);
    }
}

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

button:focus {
    outline: none !important;
}

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

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

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

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

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

/* SIDEBAR OPEN */

.open-sidebar {
    width: 28px;
    height: 24px;
    position: relative;
    display: none;
}

.open-sidebar .hb {
    height: 3px;
    background-color: var(--lightgold);
    border-radius: 99px;
    transition: all 0.45s;
    position: absolute;
    right: 0;
}

.open-sidebar .hb1 {
    width: 28px;
    top: 0;
}

.open-sidebar .hb2 {
    width: 28px;
    top: 50%;
    transform: translateY(-50%);
}

.open-sidebar .hb3 {
    width: 14px;
    bottom: 0;
}

.open-sidebar.closed .hb1 {
    top: 50%;
    transform: rotate(-45deg) translateY(-2px)
}

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

.open-sidebar.closed .hb3 {
    transform: rotate(45deg) translateY(2px);
    bottom: 50%;
    width: 28px;
}

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

/* SIDEBAR */

#sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 1141px) {

    #sidebar,
    .mobile-logo {
        display: none;
    }
}

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

#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: 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;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.5s, top 0.35s;
}

.desktop-navbar.inactive {
    top: -105px;
}

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

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

.desktop-navbar .logo {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.desktop-navbar.scrolled .logo,
.desktop-navbar.scrolled .mobile-logo {
    filter: brightness(92%);
}

.desktop-navbar .logo img {
    height: 4rem;
}

.desktop-navbar .links .link {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

.desktop-navbar .links .nav-item svg {
    width: 1rem;
    margin-left: 0.625rem;
    transition: transform 0.3s;
    margin-top: -0.075rem;
}

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

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

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

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

.desktop-navbar .buttons {
    display: flex;
    gap: 20px;
    position: relative;
}

.desktop-navbar .buttons svg {
    height: 18px;
    object-fit: contain;
}

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

.desktop-navbar .buttons .primary-link:hover svg path {
    stroke: var(--gold);
}

/* NAVBAR DROPDOWN */

.desktop-navbar .navbar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    height: fit-content;
    overflow: hidden;
    z-index: 998;
    max-height: 0;
    background-color: #FFFFFFCC;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: max-height 0.45s ease;
}

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

.navbar-dropdown .container {
    display: flex;
    flex-wrap: wrap;
    padding: 3rem 0;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

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

.navbar-dropdown .container .item {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--gold);
}

.navbar-dropdown .container .item:last-of-type {
    border-right: none;
}

.navbar-dropdown .container .item img {
    height: 3rem;
    margin-bottom: 1.5rem;
}

.navbar-dropdown .container .item span {
    text-transform: uppercase;
    font-weight: 600;
}

/* KIS LENYÍLÓK */

.desktop-modal {
    position: absolute;
    top: 100%;
    right: -20px;
    width: calc(100vw - 40px);
    max-width: 380px;
    background-color: white;
    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: translateY(38px);
    opacity: 1;
}

.desktop-modal::before {
    content: '';
    position: absolute;
    top: -17px;
    width: 40px;
    height: 21px;
    background-image: url('../images/triangle.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.desktop-modal.basket-modal::before {
    right: 13px;
}

.desktop-modal.login-modal::before {
    right: 66px;
}

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

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

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

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

.desktop-modal .primary-link,
.search-modal .primary-link {
    height: auto !important;
    margin: 0 auto;
}

.desktop-modal.basket-modal .list {
    max-height: 40svh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #80C99DCC #80C99D44;
}

.desktop-modal.basket-modal .list .item {
    display: flex;
    padding: 15px 15px 15px 0;
    border-bottom: 1px solid var(--gold);
}

.desktop-modal.basket-modal .list img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 20px;
}

.desktop-modal.basket-modal .content h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.desktop-modal.basket-modal .content p {
    margin: 0;
}

.desktop-modal.basket-modal .content .price {
    font-weight: 500;
    color: var(--gold);
    margin-top: 12px;
    font-size: 18px;
}

.desktop-modal.basket-modal .summary {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 20px;
    align-items: center;
    font-size: 18px;
}

.desktop-modal.basket-modal .summary .price {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 700;
}

.desktop-modal.basket-modal .discount {
    color: var(--gold);
    margin: 10px 0;
}

.desktop-modal.basket-modal .buttons {
    flex-direction: column;
    gap: 10px;
}

.desktop-modal.login-modal .lostpassword {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
}

.desktop-modal.login-modal .logged-in a {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

/* HERO */

.hero {
    position: relative;
    z-index: 20;
    margin: 0;
    padding: 0;
}

.hero .content {
    width: 100vw;
    height: 115svh;
    padding: 0 40px;
    clip-path: polygon(100% 0, 100% 78%, 40% 100%, 0 78%, 0 0);
    padding-top: 5rem;
}

.hero.main-hero .content {
    clip-path: polygon(100% 0, 100% 78%, 60% 100%, 0 78%, 0 0);
}

.hero.article-hero .content {
    height: 75svh;
    background-color: var(--gray);
    padding-top: 3rem;
}

.hero .container {
    height: calc(100svh - 5rem);
    display: flex;
    gap: 10vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero.main-hero .container {
    gap: 5vh;
}

.hero.article-hero .container {
    height: calc(75svh - 5rem);
}

.hero .rect {
    width: 100%;
    height: 100%;
    background: var(--lightgold-gradient);
    z-index: -1;
    position: absolute;
    bottom: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 88%);
}

.hero.main-hero .rect {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0% 100%);
}

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

.hero .layer {
    background-color: var(--gray);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
}

.hero h1 {
    color: white;
    text-align: center;
    overflow: hidden;
    line-height: 1.15;
    max-width: 950px;
    margin: 0 auto;
}

.hero.main-hero h1 {
    font-size: 5.625rem;
}

.hero h2 {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: center;
    font-size: 2.25rem;
    color: white;
    text-transform: none;
    font-weight: 500;
    letter-spacing: 0.05rem;
    font-family: "Montserrat", sans-serif;
}

.content-left-right {
    display: flex;
    align-items: flex-start;
    gap: 120px;
    position: relative;
    z-index: 1;
}

.content-left-right .left,
.content-left-right .right {
    width: 50%;
}

.about {
    background-color: white;
    clip-path: polygon(100% 0, 100% calc(100% - 160px), 40% 100%, 0 calc(100% - 160px), 0 0);
    padding-bottom: 160px;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

.about .content-left-right .left {
    width: 57%;
}

.about .content-left-right .left img {
    margin-top: 2.5rem;
    height: 2.5rem;
}

.about .content-left-right .right {
    width: 43%;
    aspect-ratio: 1;
    position: relative;
}

.about .content-left-right .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.about .content-left-right .right::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120%;
    aspect-ratio: 1.5/1;
    background: var(--lightgold-gradient);
    z-index: -1;
    clip-path: polygon(0 77%, 77% 0, 100% 21%, 23% 100%);
    transform: translateY(23%);
}

.bgshape {
    position: absolute;
    top: 0;
    right: 0;
    height: calc(100% + 200px);
    object-fit: contain;
    object-position: top right;
    z-index: -1;
}

.bgshape.left {
    left: 0;
    right: auto;
    object-position: top left;
}

.services {
    background: #F6F6F6;
    padding: 280px 40px 230px;
    margin: 0;
    margin-top: -200px;
    clip-path: polygon(100% 0, 100% 78%, 60% 100%, 0 78%, 0 0);
    z-index: 9;
}

.services .rect {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--gray);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}

.services h2 {
    color: var(--gray);
}

.services .content {
    display: flex;
}

.services .content .item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    border-right: 1px solid var(--gold);
    padding: 0 40px;
}

.services .content .item:last-of-type {
    border-right: none;
}

.services .content .item * {
    text-align: center;
}

.services .content .item img {
    height: 4rem;
}

.services .content .item h3,
.services .content .item h3 a {
    font-size: 1.25rem;
    margin-bottom: 0;
    line-height: 1.25;
}

.services .content .item p {
    font-weight: 500;
    max-width: 300px;
}

.reviews {
    padding-top: 280px;
    margin-top: -235px;
    padding-bottom: 0;
}

.reviews .rect {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--lightgold-gradient);
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
    z-index: 1;
}

.reviews .bgshape {
    width: 100%;
    object-fit: cover;
}

.reviews .swiper-container-container {
    box-shadow: 0 0 20px #C2AA7555;
}

.reviews .swiper-container {
    padding: 60px 200px;
    background: white;
    border-radius: 5px;
    position: relative;
    z-index: 4;
    padding-bottom: 200px;
    clip-path: polygon(100% 0, 100% calc(100% - 120px), 40% 100%, 0 calc(100% - 120px), 0 0);
}

.reviews .swiper-container .quote {
    display: block;
    margin: -60px auto 60px;
    height: 100px;
}

.relative {
    position: relative;
}

.reviews .relative {
    max-width: 900px;
    margin: 0 auto;
}

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

.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: 300;
    color: var(--gold);
}

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

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

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

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

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

.reviews .swiper-slide p {
    font-style: italic;
}

.reviews .swiper-slide h5 {
    margin-top: 1.25rem;
}

.contact {
    clip-path: polygon(100% 0, 100% calc(100% - 160px), 60% 100%, 0 calc(100% - 160px), 0 0);
    background: var(--lightgold-gradient);
    padding: 180px 40px 160px;
    margin: 0;
    position: static;
    z-index: 2;
    margin-top: -120px;
}

.contact h2 {
    color: var(--gray);
}

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

.contact .content .left {
    width: 40%;
}

.contact .content .left a {
    display: block;
    width: fit-content;
}

.contact .content .left p {
    margin-bottom: 1.25rem;
}

.contact .content form {
    width: 60%;
    background-color: white;
    padding: 40px;
    border-radius: 5px;
}

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

form input,
form textarea,
form select {
    padding: 15px;
    border: none;
    outline: none;
    background-color: white;
    color: var(--gray) !important;
    border: 1px solid #D7D7D7;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    resize: none;
}

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

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

form>div: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;
}

.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: 1.5px solid #D7D7D7;
    border-radius: 5px;
    transition: 0.3s ease;
}

.form-check-input:checked+label::before {
    background-color: var(--gold);
    border: 1.5px solid var(--gold);
}

.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: 1.25rem;
}

/* FOOTER */

footer {
    background-color: var(--gray);
    padding-top: calc(10vw + 140px);
    padding-bottom: 60px;
    margin-top: -200px;
    position: relative;
    z-index: 1;
}

footer .container {
    padding: 0 40px;
    color: white;
    position: relative;
}

footer .rect {
    background-color: white;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    position: absolute;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

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

footer .item img {
    width: 140px;
    margin-bottom: 20px;
}

footer .item {
    display: flex;
    flex-direction: column;
    max-width: 19%;
}

footer .item:first-of-type p {
    font-size: 14px;
}

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

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

footer .item * {
    color: white;
}

footer .item li * {
    white-space: nowrap;
}

footer a:hover,
footer a:focus-visible {
    color: var(--lightgold);
}

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

footer .item .raccoon {
    margin-top: 20px;
}

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

footer hr {
    border-top: 1px solid white;
    margin-top: 40px;
}

footer hr+p {
    margin-top: 20px;
    text-align: center;
}

/* ALOLDALAK */

.about.subpage {
    padding-top: 100px;
    margin-top: -40px;
}

.about.subpage .bgshape {
    height: 100%;
    top: 0;
}

.about .card-flex {
    display: flex;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about .card-flex .left {
    width: 80%;
    padding: 40px;
    box-shadow: 0 0 20px #C2AA7555;
    background-color: white;
    border-radius: 5px;
    position: relative;
    z-index: 1;
}

.about .card-flex .left p {
    margin-bottom: 1.25rem;
}

.about .card-flex .right {
    width: 30%;
    aspect-ratio: 1/2;
    max-height: 500px;
    position: relative;
    margin-left: -10%;
    margin-top: -5%;
    mask-image: url('../images/mask.png');
    mask-size: 100% 100%;

}

.about .card-flex .right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.reviews.subpage {
    z-index: 8;
    background-color: white;
    clip-path: polygon(100% 0, 100% calc(100% - 160px), 40% 100%, 0 calc(100% - 160px), 0 0);
    padding-bottom: 160px;
}

.reviews .service-items {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.reviews .service-items .item {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: #F6F6F6;
}

.reviews .service-items .item img {
    height: 4rem;
}

.reviews .service-items .item * {
    text-align: center;
}

.reviews .service-items .item h3,
.reviews .service-items .item h3 a {
    font-size: 1.25rem;
    margin-bottom: 0;
    line-height: 1.25;
}

.reviews .service-items .item p {
    font-weight: 500;
}

.subpage-rect {
    width: 100%;
    height: 250px;
    margin-top: -250px;
    background-color: #F6F6F6;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
    position: relative;
    z-index: 6;
}

.article + .contact {
    margin-top: 40px;
    padding-top: 80px;
}

@media (max-width: 1140px) {

    .desktop-navbar {
        padding: 14px 0;
    }

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

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

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

    .desktop-navbar .mobile-logo {
        display: block;
    }

    .desktop-navbar .mobile-logo img {
        height: 2.5rem;
    }

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

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

    .desktop-navbar .buttons .primary-link {
        display: none;
    }

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

    #sidebar .navbar-dropdown {
        top: 0;
    }

    #sidebar .navbar-dropdown .arrow {
        width: 16px;
        cursor: pointer;
        margin: 25px 0 10px;
        display: block;
    }

    #sidebar .navbar-dropdown .container {
        padding: 20px 0 40px;
        flex-direction: column;
    }

    #sidebar .navbar-dropdown .container .item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gold);
        padding: 1.5rem 0;
    }

    #sidebar .navbar-dropdown .container .item:last-of-type {
        border-bottom: none;
    }

    #sidebar .navbar-dropdown .container .item h3 {
        font-size: 13px;
        padding: 10px;
        margin: -20px auto 0;
    }

}

@media (max-width: 1079px) {

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

    h1 {
        font-size: 1.95rem;
    }

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

    h3 {
        font-size: 1.125rem;
    }

    section {
        margin: 60px 0;
        padding: 0 20px;
    }

    ul {
        margin: 0.875rem 0;
    }

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

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

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

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

    .article img {
        margin: 1rem 0;
    }

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

    .container {
        max-width: 600px;
    }

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

    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 22px !important;
    }

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

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

    .swiper-button-prev,
    .swiper-button-next {
        border: none;
    }

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

    .hero .content {
        padding: 0 20px;
        height: 80svh;
        clip-path: polygon(100% 0, 100% calc(100% - 80px), 40% 100%, 0 calc(100% - 80px), 0 0);
    }

    .hero.main-hero .content {
        height: calc(100svh + 80px);
        clip-path: polygon(100% 0, 100% calc(100% - 80px), 60% 100%, 0 calc(100% - 80px), 0 0);
    }

    .hero .container {
        height: 100%;
    }

    .hero.main-hero .container {
        height: 100svh;
    }

    .hero .rect {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% calc(100% - 40px));
    }
    
    .hero.main-hero .rect {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0% 100%);
    }

    .hero.main-hero h1 {
        font-size: 2.75rem;
    }

    .hero h2 {
        font-size: 1.5rem;
        margin: 0 auto 1rem;
    }

    .content-left-right {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .content-left-right .left,
    .content-left-right .right {
        width: 100%;
    }

    .about {
        clip-path: polygon(100% 0, 100% calc(100% - 80px), 60% 100%, 0 calc(100% - 80px), 0 0);
        padding-bottom: 120px;
    }

    .about .content-left-right {
        align-items: center;
        gap: 70px;
    }

    .about .content-left-right .left img {
        margin-top: 2rem;
        height: 2rem;
    }

    .about .content-left-right .left {
        width: 100%;
    }

    .about .content-left-right .right {
        width: 70%;
    }

    .bgshape {
        max-width: 100%;
        object-fit: none;
        height: auto;
    }

    .services {
        padding: 220px 20px 120px;
        margin-top: -180px;
        clip-path: polygon(100% 0, 100% calc(100% - 80px), 60% 100%, 0 calc(100% - 80px), 0 0);
    }

    .services .rect {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px));
    }

    .services .content {
        flex-direction: column;
    }

    .services .content .item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--gold);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .services .content .item:first-of-type {
        padding-top: 0;
    }

    .services .content .item:last-of-type {
        border-bottom: none;
        padding-bottom: 0;
    }

    .services .content .item img {
        height: 3rem;
    }

    .services .content .item h3,
    .services .content .item h3 a {
        font-size: 1.125rem;
        margin-bottom: -0.5rem;
    }

    .reviews {
        padding-top: 240px;
        margin-top: -200px;
        padding-bottom: 0;
    }

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

    .reviews .bgshape {
        height: 100%;
    }

    .reviews .swiper-container {
        padding: 20px 40px;
        padding-bottom: 80px;
        clip-path: polygon(100% 0, 100% calc(100% - 80px), 40% 100%, 0 calc(100% - 80px), 0 0);
    }

    .reviews .swiper-wrapper {
        align-items: flex-start;
    }

    .reviews .swiper-container .quote {
        margin: -20px auto 30px;
    }

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

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

    .reviews .swiper-slide p {
        font-size: 0.8rem;
    }

    .contact {
        clip-path: polygon(100% 0, 100% calc(100% - 80px), 60% 100%, 0 calc(100% - 80px), 0 0);
        padding: 120px 20px 80px;
        margin-top: -140px;
    }

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

    .contact .content .left {
        width: 100%;
    }

    .contact .content form {
        width: 100%;
        padding: 20px;
    }

    form input,
    form textarea,
    form select,
    form option {
        padding: 12px 16px;
        font-size: 14px;
    }

    form select {
        background-size: 16px;
    }

    .form-check-input+label {
        font-size: 13px;
    }

    footer {
        padding-top: 180px;
        margin-top: -170px;
    }

    footer .rect {
        height: 160px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
    }

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

    footer .content {
        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:first-of-type p {
        font-size: 13px;
        max-width: 200px;
    }

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

    footer .item img {
        width: 120px;
    }

    footer .item a,
    footer .item p,
    footer .item li {
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.875rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .about.subpage .bgshape {
        height: auto;
    }

    .about .card-flex {
        flex-direction: column-reverse;
        gap: 0;
    }

    .about .card-flex .left {
        width: 100%;
        padding: 20px;
        padding-top: 60px;
    }

    .about .card-flex .right {
        width: 70%;
        aspect-ratio: 3/4;
        max-height: 400px;
        margin-left: 0;
        margin-top: 0;
        margin-bottom: -40px;
        z-index: 1;
    }

    .reviews.subpage {
        clip-path: polygon(100% 0, 100% calc(100% - 80px), 40% 100%, 0 calc(100% - 80px), 0 0);
        padding-bottom: 120px;
    }

    .reviews .service-items {
        flex-direction: column;
        gap: 40px;
    }

    .reviews .service-items .item {
        width: 100%;
        gap: 1.5rem;
        padding: 20px;
    }

    .reviews .service-items .item h3,
    .reviews .service-items .item h3 a {
        font-size: 1.125rem;
        margin-bottom: -0.5rem;
    }

    .reviews .service-items .item img {
        height: 3rem;
    }

    .subpage-rect {
        height: 200px;
        margin-top: -260px;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px));
    }

    .subpage-rect + .contact {
        padding-top: 180px;
    }

    .hero.article-hero .content {
        height: 50vh;
        padding-top: 0;
    }

    .hero.article-hero .container {
        height: 100%;
    }

    .article + .contact {
        padding-top: 40px;
        margin-top: 0;
    }

}

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

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

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

    section {
        margin: 80px 0;
    }

}

@media (min-width: 1080px) and (max-width: 1299px) {
    .swiper-button-prev {
        left: -40px !important;
    }

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

}