/* Template Styles */
/* This file contains styles for the template pages of the WELL Concept project */
/* 
    Developed by 3DGROUND 
    https://3dground.net
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'AlbraDisplayLight';
  src: url('/font/AlbraDisplayTRIAL-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'Area Light';
    src: url('/font/Area-MediumInktrapExtended.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Area Bold';
    src: url('/font/Area-BoldExtended.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


:root {
    --font-size: 18px;
    --color-error: #bc1818;
    --color-success: #48b34c;
    --background-color-brown: #1C0E08;
    --background-color: #F9F5F2;
    --hr-color: #E1D8D1;
    --accent-color: #82624B;
    --text-color: #82624B;
    --text-color-muted: #82624b33;
    --text-color-footer: #402B1F;
    --text-alternative-color: #D5CCC1;
    --text-superlight-color: #F2EAE4;
    --font-family-text: 'Montserrat', sans-serif;
    --font-family-area-bold-text: 'Area Bold', sans-serif;
    --font-family-area-light-text: 'Area Light', sans-serif;
    --font-family-heading: 'AlbraDisplayLight', sans-serif;
    --dplr: 30px;
    --text-light-color: #F9F5F2;
    --header-color: #F9F5F2;    
    --default-transition: 0.22s ease-in-out;
    --menu-background-color: #F2EAE4;
    --transition-reveal: .65s cubic-bezier(0,0,0.2,1) all;
}

/* Is Mobile */

@media (max-width: 1024px) {
    :root {
        --dplr: 20px;
        --font-size: 14px;
        --text-color-footer: var(--text-color);
    }
}

* {
    box-sizing: border-box;
    outline: 0 !important;

}

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    scroll-behavior: smooth;
    
    color: var(--text-color);
    font-family: var(--font-family-text);
    font-family: var(--font-family-text);
    font-weight: 400;
    font-size: var(--font-size);
    line-height: 135%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    --svg-color: var(--text-color);
    max-width: 100%;
    overflow-x: hidden;
}

*::-webkit-scrollbar {
  width: 6px;
}
 
*::-webkit-scrollbar-track {
    background-color: #E1D8D1;
}
 
*::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
}

section.dark {
    background-color: var(--background-color-brown);
    color: var(--text-color);
    --svg-color: var(--text-color);
}

ul {
   padding-left: 20px;
}

/* Stylized Radio Buttons */
.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-family-text);
    font-size: 16px;
    color: var(--accent-color);
    position: relative;
    padding-left: 32px;
    user-select: none;
}

input[type="radio"] {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.radio-custom {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    background: var(--background-color);
    transition: border-color var(--default-transition);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="radio"]:checked + .radio-custom {
    border-color: var(--accent-color);
}

.radio-custom::after {
    content: '';
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity var(--default-transition);
}

input[type="radio"]:checked + .radio-custom::after {
    opacity: 1;
}

input[type="radio"]:focus + .radio-custom {
    box-shadow: 0 0 0 2px var(--text-color-muted);
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    display: block;
    width: 100%;
    padding: 20px 10px;
    font-size: 16px;
    font-family: var(--font-family-text);
    color: var(--accent-color);
    background-color: var(--background-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    transition: border-color var(--default-transition), box-shadow var(--default-transition);
    outline: none;
    margin: 0;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: var(--text-color);
    box-shadow: 0 0 0 2px var(--text-color-muted);
}

input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
    color: var(--text-color-muted);
    font-family: var(--font-family-text);
    opacity: 1;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
}

input[type="text"].error,
input[type="tel"].error,
input[type="email"].error,
textarea.error {
    border-color: red;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--default-transition) color;
}

a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px !important;
}

a.underline {
    text-decoration: underline;
    text-decoration-thickness: 1px !important;
}

a.underline:hover {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--text-color);
    line-height: 100%;
    font-weight: 100;
    margin: 0;
}

h1 { font-size: 96px }
h2 { font-size: 64px }
h3 { font-size: 48px }
h4 { font-size: 32px }
h5 { font-size: 24px }

section {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

picture { 
    display: flex;
    width: 100%;
    height: auto;
 }

.relative { position: relative; }

.font-10 { font-size: 10px }
.font-12 { font-size: 12px }
.font-14 { font-size: 14px }
.font-16 { font-size: 16px }
.font-18 { font-size: 18px }
.font-20 { font-size: 20px }
.font-24 { font-size: 24px }
.font-32 { font-size: 32px }
.font-36 { font-size: 36px }
.font-48 { font-size: 48px }
.font-64 { font-size: 64px }
.font-96 { font-size: 96px }

.font-weight-300 { font-weight: 300 }
.font-weight-400 { font-weight: 400 }
.font-weight-500 { font-weight: 500 }
.font-weight-600 { font-weight: 600 }
.font-weight-700 { font-weight: 700 }

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }

.mlp-20 { margin-left: 20%; }
.mlp-25 { margin-left: 25%; }
.mlp-30 { margin-left: 30%; }
.mlp-35 { margin-left: 35%; }
.mlp-40 { margin-left: 40%; }


.ml-150 { margin-left: 150px; }
.ml-200 { margin-left: 200px; }
.ml-300 { margin-left: 300px; }

.plp-10 { padding-left: 10%; }
.prp-10 { padding-right: 10%; }

.pr-40 { padding-right: 40px; }

.pt-160 { padding-top: 160px; }
.pt-80 { padding-top: 80px; }
.pt-60 { padding-top: 60px; }
.pt-40 { padding-top: 40px; }

.pb-160 { padding-bottom: 160px; }
.pb-80 { padding-bottom: 80px; }
.pb-40 { padding-bottom: 40px; }

.mt-360 { margin-top: 360px; }
.mt-200 { margin-top: 200px; }
.mt-160 { margin-top: 160px; }
.mt-120 { margin-top: 120px; }
.mt-100 { margin-top: 100px; }
.mt-80 { margin-top: 80px; }
.mt-60 { margin-top: 60px; }
.mt-40 { margin-top: 40px; }
.mt-30 { margin-top: 30px; }
.mt-20 { margin-top: 20px; }

.mb-160 { margin-bottom: 160px; }
.mb-120 { margin-bottom: 120px; }
.mb-80 { margin-bottom: 80px; }
.mb-60 { margin-bottom: 60px; }
.mb-40 { margin-bottom: 40px; }
.mb-32 { margin-bottom: 32px; }
.mb-30 { margin-bottom: 30px; }
.mb-20 { margin-bottom: 20px; }
.mb-16 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 8px; }

.m-inline-auto { margin-inline: auto; }


.mw-1300 { max-width: 1300px; }
.mw-1230 { max-width: 1230px; }
.mw-1200 { max-width: 1200px; }
.mw-1100 { max-width: 1100px; }
.mw-800 { max-width: 800px; }
.mw-750 { max-width: 750px; }
.mw-600 { max-width: 600px; }
.mw-550 { max-width: 550px; }
.mw-525 { max-width: 525px; }
.mw-500 { max-width: 500px; }
.mw-450 { max-width: 450px; }
.mw-400 { max-width: 400px; }
.mw-350 { max-width: 350px; }
.mw-300 { max-width: 300px; }
.mw-285 { max-width: 285px; }
.mw-270 { max-width: 270px; }
.mw-250 { max-width: 250px; }
.mw-100 { max-width: 100px; }

.mwp-25 { max-width: 25%; }
.mwp-50 { max-width: 50%; }
.mwp-60 { max-width: 60%; }
.mwp-65 { max-width: 65%; }
.mwp-70 { max-width: 70%; }
.mwp-100 { max-width: 100%; }

.wp-50 { width: 50%; }
.wp-60 { width: 60%; }
.wp-70 { width: 70%; }
.wp-100 { width: 100%; }

.order-0 { order: 0; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-4 { order: 4; }
.order-5 { order: 5; }

.h-106 { height: 106px; }
.hp-100 { height: 100%; }

.nowrap { white-space: nowrap; }

.visible-xs { display: none !important; }

.lazy { 
    opacity: 0;
    transition: opacity 0.45s ease; 
}

.dplr {
    padding-left: var(--dplr);
    padding-right: var(--dplr);
}

.wrapper {      
    padding: 0 var(--dplr);
}

.font-albra {
    font-family: var(--font-family-heading);
    font-weight: 300;
    line-height: 120%;
}

.font-area-light {
    font-family: var(--font-family-area-light-text);
    font-weight: 400;
    line-height: 135%;
}

.font-area-bold {
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    line-height: 135%;
}

.gap-100 { gap: 100px; }
.gap-80 { gap: 80px; }
.gap-60 { gap: 60px; }
.gap-40 { gap: 40px; }
.gap-30 { gap: 30px; }
.gap-20 { gap: 20px !important; }
.gap-8 { gap: 8px; }

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

.flex-wrap { flex-wrap: wrap; }

.flex-column {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.flex-v-top { align-items: flex-start; }
.flex-v-end { align-items: flex-end; }
.flex-v-stretch { align-items: stretch; }
.flex-h-center { justify-content: center !important; }
.flex-h-left { justify-content: flex-start !important; }
.flex-1 { flex: 1; }

.hr {
    border-bottom: 1px solid var(--hr-color);    
    width: 100%;
}

.img-bg {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: opacity 0.45s ease;
}

.img-dummy {
    position: relative;
    width: 100%;
    background-color: #0000001a;
    display: flex;
    animation: breathe 1.4s alternate-reverse infinite;
    animation-timing-function: cubic-bezier(0.46, 0.03, 0.52, 0.96)
}

@keyframes breathe {
    0% {
        background-color: #0000000f
    }

    50% {
        background-color: #00000038
    }

    0% {
        background-color: #0000000f
    }
}

.counter {
    position: absolute;
    top: 0;
    right: 0;
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    font-size: 10px;
    color: var(--accent-color);
    margin-top: -2px;
}

.counter-static {
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
}

header {
    position: relative;
    width: 100%;
    overflow: hidden;
}

header .shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

header .shade-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.4) 100%);
}

.header-content {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: var(--dplr);
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    font-size: 17px;   
    gap: 40px;
    width: 100%; 
    z-index: 100;  
}

.header-content.active,
.header-content.dark {
    --header-color: var(--accent-color);
}

.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.menu-text {
    margin-top: 2px;
    color: var(--header-color);
}

.burger-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 28px;
    position: relative;
}

.burger-menu div {
    width: 100%;
    height: 2px;
    background-color: var(--header-color);
    position: absolute;
}

.burger-menu div:first-child {
    --gap: 10px;
    margin-top: calc(var(--gap) * -1);
}

.burger-menu div:last-child {
    --gap: 10px;
    margin-top: calc(var(--gap) * 1);
}

.active.menu .burger-menu div:first-child {   
    animation: menuFirst 0.5s ease-in both alternate !important;
    transform-origin: center;
}

.active.menu .burger-menu div:last-child {
    animation: menuLast 0.5s ease-in both alternate !important;
}

@keyframes menuLast {
    0% {
        transform: rotate(0deg);
        margin-top: calc(var(--gap) * 1);
    }
    20% {
        margin-top: 0;
        transform: rotate(0deg);
    }
    70% {
        margin-top: 0;
        transform: rotate(0deg);
    }
    100% {
        margin-top: 0;
        transform: rotate(-30deg);
    }
}

@keyframes menuFirst {
    0% {
        transform: rotate(0deg);
        margin-top: calc(var(--gap) * -1);
    }
    20% {
        margin-top: 0;
        transform: rotate(0deg);
    }
    70% {
        margin-top: 0;
        transform: rotate(0deg);
    }
    100% {
        margin-top: 0;
        transform: rotate(30deg);
    }
}



/* Reverse animations for menu burger lines */
.burger-menu div:first-child {
    animation: menuFirstReverse 0.5s ease-out both;
}

.burger-menu div:last-child {
    animation: menuLastReverse 0.5s ease-out both;
}

@keyframes menuFirstReverse {
    0% {
        margin-top: 0;
        transform: rotate(30deg);
    }
    30% {
        margin-top: 0;
        transform: rotate(0deg);
    }
    80% {
        margin-top: 0;
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
        margin-top: calc(var(--gap) * -1);
    }
}

@keyframes menuLastReverse {
    0% {
        margin-top: 0;
        transform: rotate(-30deg);
    }
    30% {
        margin-top: 0;
        transform: rotate(0deg);
    }
    80% {
        margin-top: 0;
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
        margin-top: calc(var(--gap) * 1);
    }
}

.btn {
    display: inline-flex;
    padding: 0px 20px;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    height: 40px;
    white-space: nowrap;
    align-items: center;
    --svg-color: var(--accent-color);
    gap: 40px;
    transition: var(--default-transition);
    cursor: pointer;
    width: fit-content;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-block {
    width: 100%;
    justify-content: space-between;
}

.btn svg {
    transition: var(--default-transition) all;
}

.btn span {
    margin-top: 2px;
}

.btn:hover {
    text-decoration: none;
    background-color: var(--accent-color);
    color: var(--text-light-color);
    --svg-color: var(--text-light-color);
}

.btn-primary {
    padding: 32px 20px;
    background-color: var(--accent-color);
    color: white;
    font-family: var(--font-family-text);
    font-size: 16px;
    text-transform: uppercase;
    --svg-color: white;
    min-height: 75px;
}

.btn-primary:hover {
    background-color: transparent;
    --svg-color: var(--accent-color);
    color: var(--accent-color);
}


.contacts-button {
    display: flex;
    padding: 0px 20px;
    background-color: transparent;
    color: var(--header-color);
    border: 1px solid var(--header-color);
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    height: 40px;
    white-space: nowrap;
    align-items: center;
    gap: 40px;
}

.contacts-button span {
    margin-top: 2px;
}

.contacts-button:hover {
    background-color: var(--header-color);
    color: var(--accent-color);
    text-decoration: none;
}

.contacts-button svg {
    fill: var(--text-light-color);
}
.contacts-button:hover svg {
    fill: var(--accent-color);
}

.active .contacts-button svg {
    fill: var(--header-color);
}

.dark .contacts-button svg {
    fill: var(--accent-color);
}
.dark .contacts-button:hover svg {
    fill: var(--text-light-color);
}

.header-content.active .contacts-button:hover,
.header-content.active .contacts-button:hover svg,
.header-content.dark .contacts-button:hover,
.header-content.dark .contacts-button:hover svg {
    color: var(--text-light-color);
    fill: var(--text-light-color);
}


.menu-text,
.logo,
.contacts-button, 
.burger-menu div,
.contacts-button svg {
    transition: var(--default-transition) all;
}

.header-footer {
    position: absolute;
    bottom: var(--dplr);
    padding: 0 var(--dplr);
    z-index: 1;
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
}

.header-title {
    color: var(--header-color);    
    margin: 0;
}

.btn-arrow {
    display: inline-flex;
    width: 62px;
    height: 28px;
    border: 1px solid var(--accent-color);
    --svg-color: var(--accent-color);
    background: transparent;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    transition: var(--default-transition);
    cursor: pointer;
}

.btn-arrow:hover {
    background: var(--accent-color);
    --svg-color: var(--text-light-color);
}

.btn-arrow svg {
    transition: var(--default-transition) all;
}

.btn-arrow-vertical {
    display: inline-flex;
    width: 28px;
    height: 62px;
    border: 1px solid var(--accent-color);
    --svg-color: var(--accent-color);
    background: transparent;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    transition: var(--default-transition) all;
}

.btn-arrow-vertical svg {
    transition: var(--default-transition) all;
}

.btn-h4 {
    display: flex;
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    font-size: 16px;
    color: var(--header-color);
    text-decoration: none;
    gap: 20px;
    align-items: center;
    text-transform: uppercase;
}

.btn-h4:hover {
    text-decoration: underline;
}

.btn-h4:hover .btn-arrow,
.btn-h4:hover .btn-arrow svg {
    background-color: var(--header-color);
    --svg-color: var(--accent-color);
}

.btn-h4 .btn-arrow,
.btn-h4 .btn-arrow svg {
    border-color: var(--header-color);
   --svg-color: var(--header-color);
}

.menu-screen {
    display: flex;
    flex-direction: column;
    background-color: var(--menu-background-color);
    padding: var(--dplr);
    padding-top: 270px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 99;
    justify-content: space-between;
    transform: translateY(-110%);
    transition: var(--transition-reveal);
   /*  will-change: transform; */
}

.menu-screen > div {
    opacity: 0;
    transition: 0.5s linear all;
    transition-delay: 0.35s;
}

.menu-screen.active > div {
    opacity: 1;
}

.menu-screen.active {
    transform: translateY(0);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 48px;
}

a.menu-item {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--default-transition) color;
    font-family: var(--font-family-heading);
    text-box-trim: trim-start;
    text-box-edge: cap alphabetic;
    line-height: 63%;
}

a.menu-item:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
}

.home-gallery {
    width: 50%;
    display: flex;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 1829 / 1029;
}

.home-gallery img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-gallery-img-1 {
    position: absolute;
    top: 0;
    left: 0;
    aspect-ratio: 207 / 138;
    width: 23%;
    z-index: 1;
}

.home-gallery-img-2 {
    position: absolute;
    top: 0;
    left: 34%;
    aspect-ratio: 427 / 284;
    width: calc(80% - 34%);
    z-index: 1;
}

.home-gallery-img-3 {
    position: absolute;
    top: 0;
    right: 0;
    aspect-ratio: 140 / 210;
    width: 16%;
    z-index: 1;
}

.home-gallery-img-4 {
    position: absolute;
    bottom: 0;
    left: 0;
    aspect-ratio: 267 / 302;
    width: 29%;
    z-index: 2;
}

.home-gallery-img-5 {
    position: absolute;
    bottom: 13%;
    left: 42%;
    aspect-ratio: 142 / 213;
    width: calc(57% - 42%);
    z-index: 2;
}

.home-gallery-img-6 {
    position: absolute;
    bottom: 0;
    right: 0;
    aspect-ratio: 286 / 191;
    width: 31%;
    z-index: 2;
}

.tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: 76px;
    gap: 30px;
}

.tabs li {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;    
    position: relative;
    cursor: pointer;
    opacity: 0.2;
    transition: var(--default-transition) all;
    user-select: none;
}

.tabs li.active,
.tabs li:hover {
    opacity: 1;
}

.tabs .divider {
    display: block;
    width: 1px;
    height: 100%;
    background-color: var(--text-color);
}


.tab-content {
    display: none;
    opacity: 0;    
}

.tab-content.active {
    display: flex;
    animation: fadeIn 1s forwards;
}

/* .in-view {
    backface-visibility: hidden;
    transform-style: preserve-3d;
} */

@keyframes fadeIn {
    0% {
        display: flex;
        opacity: 0;
        transform: translateY(20px);
    }
    1% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#advantages .f-carousel__viewport {
    --f-carousel-spacing: 8px;
    --columns: 3;
    /*--f-carousel-slide-width: calc((100% / var(--columns)) - (var(--f-carousel-spacing) * (var(--columns) - 1)));*/
    --f-carousel-slide-width: calc((100% - (var(--f-carousel-spacing) * (var(--columns) - 1))) / var(--columns));
}

#advantages .f-carousel__dots {
    position: relative;
    top: 0;
    margin-top: 30px !important;
}

.f-carousel__dots {
    --f-carousel-dot-width: 6px;
    --f-carousel-dot-height: 6px;
    --f-carousel-dot-color: transparent;

}

.f-carousel__dots .f-carousel__dot {
    border: 1px solid var(--accent-color);
}

.f-carousel__dots .is-current .f-carousel__dot {
    background-color: var(--accent-color);
}

#advantages.has-dots {
    margin: 0;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-alternative-color);
    background-color: var(--background-color-brown);
    flex: 1;
}

.advantage-description {
    padding: 40px;
    padding-top: 70px;
    font-family: var(--font-family-area-light-text);
    font-weight: 400;
    text-align: left;
}

.advantage-img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}

.advantage-img h3 {
    z-index: 2;
    position: absolute;
    padding-inline: 40px;
    margin: 0;
    bottom: -20px;
    left: 0;
    color: var(--text-alternative-color);
    text-align: left;
}

.advantage-img:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;    
    background: linear-gradient(180deg, transparent 65%, var(--background-color-brown) 100%);
}

.clubhouse-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-height: 700px;
    overflow: scroll;
    overflow-x: hidden;
    padding-right: 10px;
    width: 100%;
   /*  scroll-snap-type: y mandatory;
    scroll-behavior: smooth; */
}

.clubhouse-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 285px;
    scroll-snap-align: start;
}

.clubhouse-number {
    font-size: 10px;
    font-family: var(--font-family-area-bold-text);
    color: var(--text-superlight-color);
    background-color: var(--accent-color);
    width: 38px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    z-index: 2;
}

.clubhouse-item h5 {
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 120%;
}

.clubhouse-description {
    font-family: var(--font-family-area-light-text);
    font-weight: 400;
    color: var(--text-color);
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--text-color-muted);
}

.card {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    width: 100%;
}

.card a {
    display: flex;
    text-decoration: none;
    color: var(----accent-color);
    font-size: 24px;
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    text-transform: uppercase;   
    --svg-color: var(--accent-color);
    transition: var(--default-transition) color; 
    gap: 20px;
    align-items: center;
}

.card a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px !important;
}

footer {
    background-color: var(--background-color-brown);
    /* color: var(--text-color-footer); */
    position: relative;
}

footer .pattern {  
    width: 100%;
    overflow: hidden;
    display: flex;
}

footer .pattern-element {
    position: relative;
    aspect-ratio: 92 / 296;     
    height: 100%;
    width: auto;
    overflow: hidden;
}

footer .pattern-element::after {
    content: '';
    display: block;
    position: absolute;
    background-image: url('/img/footer-pattern-bottom.svg');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}

footer .pattern-element::before {
    content: '';
    display: block;
    position: absolute;
    background-image: url('/img/footer-pattern-top.svg');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
    transition: none;
}

footer #footer-pattern.active .pattern-element::before {
    transform: translateY(0);
    transition: var(--transition-reveal);
    transition-delay: var(--transition-delay, 0s);
}

footer a {
    color: var(--accent-color);
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    text-decoration: none;
    transition: var(--default-transition) color;
    font-size: 20px;
    line-height: 30px;
    text-align: left;
    width: 100%;
    text-transform: uppercase;
}

footer a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px !important;
}

.back-to-top {
    font-family: var(--font-family-area-bold-text);
    font-weight: 700;
    color: var(--accent-color);
    font-size: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: absolute;
    top: 60px;
    right: var(--dplr);
    width: min-content;
    transition: var(--default-transition) all;
    --svg-color: var(--accent-color);
}

.back-to-top svg {
    transition: var(--default-transition) all;
}

.back-to-top:hover {
    text-decoration: none;
    color: var(--text-alternative-color);
    --svg-color: var(--text-alternative-color);
}

.back-to-top:hover .btn-arrow-vertical {    
    border-color: var(--text-alternative-color);
    --svg-color: var(--text-alternative-color);
}

.responce-message {
    position: absolute;
    font-size: 13px;
    display: flex;
    opacity: 0;
    font-style: italic;
    margin-top: -9px;    
    padding: 0 7px;
    border-radius: 3px;
    margin-left: 4px;
    line-height: 130%;
}

.responce-message.error {
    opacity: 1;
    color: var(--color-error);
    background-color: #ecdada;
}

.responce-message.success {
    opacity: 0;
    color: var(--color-success);
    background-color: #d9ecd8;
}

.submission-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: var(--dplr);
}

.submission-message {
    background-color: var(--background-color);
    padding: var(--dplr);
    border-radius: 10px;
    text-align: center;
    font-weight: 300;
    color: var(--text-color);
    max-width: 600px;
    max-height: 600px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    overflow-y: auto;   
}

.submission-message span {

}

.submission-message .close {
    position: absolute;
    padding: 0;
    top: 60px;
    right: auto;
    left: auto;
    width: 32px;
    height: 32px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1);
    transition: transform 0.3s ease;    
}

.submission-message .close:hover {
    transform: scale(1.1);
}

.submission-popup.active {
    display: flex;
    animation: revealIn 0.3s forwards;
}

.submission-popup {
    animation: revealOut 0.3s forwards;
}

.submission-popup.active .submission-message {
    animation: zoomIn 0.3s forwards;
}

.submission-popup .submission-message {
    animation: zoomOut 0.3s forwards;
}


@media (max-width: 1024px) {   
    h1 { font-size: 64px; }
    h2 { font-size: 32px; }

    .btn-primary {
        min-height: 60px;
    }

    .btn-xs-block {
        width: 100%;
        justify-content: space-between;
    }

    .hidden-xs { display: none !important; }
    .visible-xs { display: flex !important; }

    .flex-xs-h-left { justify-content: flex-start; }
    .flex-xs-h-center { justify-content: center; }
    .flex-xs-v-top { align-items: flex-start; }
    .flex-xs-column { flex-direction: column; }  
    .flex-xs-column-reverse { flex-direction: column-reverse; }  
  
    .font-xs-32 { font-size: 32px; }
    .font-xs-20 { font-size: 20px; }
    .font-xs-18 { font-size: 18px; }
    .font-xs-14 { font-size: 14px; }
    .font-xs-12 { font-size: 12px; }
    .font-xs-10 { font-size: 10px; }

    .text-xs-center { text-align: center; }

    .mwp-xs-65 { max-width: 65%; }
    .mwp-xs-100 { max-width: 100%; }

    .mw-xs-200 { max-width: 200px; }
    .mw-xs-230 { max-width: 230px; }
    .mw-xs-250 { max-width: 250px; }
    .mw-xs-300 { max-width: 300px; }
    .mw-xs-400 { max-width: 400px; }

    .pt-xs-0 { padding-top: 0; }
    .pt-xs-60 { padding-top: 60px; }
    .pt-xs-100 { padding-top: 100px; }

    .mlp-xs-30 { margin-left: 30%; }
    .mlp-xs-20 { margin-left: 20%; }
    .mlp-xs-0 { margin-left: 0; }
    .ml-xs-0 { margin-left: 0; }

    .mt-xs-0 { margin-top: 0; }
    .mt-xs-20 { margin-top: 20px; }
    .mt-xs-30 { margin-top: 30px; }
    .mt-xs-40 { margin-top: 40px; }
    .mt-xs-60 { margin-top: 60px; }
    .mt-xs-100 { margin-top: 100px; }
    .mt-xs-180 { margin-top: 180px; }

    .mb-xs-100 { margin-bottom: 100px; }
    .mb-xs-60 { margin-bottom: 60px; }

    .pb-xs-60 { padding-bottom: 60px; }
    .pb-xs-100 { padding-bottom: 100px; }

    .order-xs-0 { order: 0; }
    .order-xs-1 { order: 1; }
    .order-xs-2 { order: 2; }
    .order-xs-3 { order: 3; }
    .order-xs-4 { order: 4; }
    .order-xs-5 { order: 5; }

    .h-xs-68 { height: 68px; }

    .gap-xs-60 { gap: 60px; }
    .gap-xs-40 { gap: 40px; }
    .gap-xs-20 { gap: 20px; }

    .fw-xs {
        width: 100vw;
        margin-left: calc(var(--dplr) * -1);
    }

    .btn {
        font-size: 12px;
        padding: 14px 20px;
    }

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

    .menu-text { display: none;}
    .logo {
        width: 131px !important;
        height: 24px !important;
    }    

    .burger-menu {    
        width: 30px;
    }

    .burger-menu div {
        height: 1px;
    }

    .burger-menu div:first-child {
        --gap: 6px;
    }

    .burger-menu div:last-child {
        --gap: 6px;
    }

    .menu-screen {
        align-items: center;
    }

    .menu-items {
        font-size: 32px;
    }

    .tabs {
        flex-direction: column;
    }
    
    .tabs .divider {
        height: 1px;
        padding-top: 1px;
        width: 60px;
    }

    #advantages .f-carousel__viewport {
        --f-carousel-spacing: 8px;
        --f-carousel-slide-width: 100%;
    }

    .advantage-description {
        font-size: 14px;
        padding: 30px;
    }

    .advantage-img h3 {
        padding-inline: 30px;
    }

    .card a {
        font-size: 14px;
        gap: 20px;
    }

    footer a {
        font-size: 14px;
        line-height: 24px;
    }

    input[type="text"],
    input[type="tel"],
    input[type="email"],
    textarea {
        padding: 14px 20px;
        font-size: 14px;
    }

    .btn-arrow:hover {
        background: transparent;
        --svg-color: var(--accent-color);
    }
}


.slider {
    position: relative;
    overflow: hidden;
    height: 763px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slider .f-carousel__viewport {
    --f-carousel-spacing: 30px;
    --f-carousel-slide-width: 100%;
}

.slide {
    display: flex;
    align-items: stretch;
    gap: 30px;
    max-height: 700px;
    padding-inline: var(--dplr);
}

.slide-left {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.slide-right {
    width: 65%;
    display: flex;
    position: relative;
}

.slide-right img {
    min-height: 700px;
}

.slide-right .layer2,
.slide-right .layer3 {
    z-index: 5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: imageShowHide 4.7s infinite;
    animation-direction: alternate;
    background-color: var(--background-color);  
}

.slide-right .layer1,
.slide-right .layer2,
.slide-right .layer3 {
    opacity: 0;
    transition: opacity 1s ease;
}

.slide-right .layer1.active,
.slide-right .layer2.active,
.slide-right .layer3.active {
    opacity: 1;
}

.slide-title {
    font-size: 64px;
    font-family: var(--font-family-heading);
    font-weight: 300;
    line-height: 100%;
}

.slide-subtitle {
    font-size: 36px;
    font-family: var(--font-family-heading);
    font-weight: 300;
    line-height: 100%;
    margin-bottom: 40px;
}

.slide-description {
    padding-bottom: 60px;
}


.slide-content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    width: 50%;
    opacity: 1;
    transition: var(--default-transition);
}

.slide-content.hidden {
    opacity: 0;
}

.slider-arrows {
    display: flex;
    position: absolute;
    gap: 8px;
    align-items: center;
    bottom: 19px;
    padding-inline: var(--dplr);
}

.slider-arrows .counter-static {
    margin-left: 16px;
}

.slider-progress {
    background-color: var(--hr-color);
    height: 3px;
    display: flex;
    margin-top: 60px;
    width: calc(100% - var(--dplr) * 2);
    margin-inline: auto;
}

.slider-progress div {
    flex: 1;
    transition: var(--default-transition);
}

.slider-progress div.active {
    background-color: var(--accent-color);
} 

.slide-img-mobile {
    display: none;
}

.slide-layer {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    gap: 30px;
    justify-content: center;
}

@media (max-width: 1300px) {
    .slide-content {
        width: 100%;
    }

    .slide-title {
        font-size: 32px;
    }

       .slide-description {
        font-size: 14px;
    }

    .slide-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .slider {
        overflow: visible;
        height: auto !important;
        padding-inline: 0;
        width: 100vw;
    }

    .slide {
        height: auto !important;
        padding-inline: 0;
        max-height: none;
    }

    .slide-right {
        display: none;
    }

    .slide-left {
        width: 100%;
    }

    .slider-arrows {
        position: relative;
        bottom: 0px;
        padding: 0;
    }

    .slide-subtitle {
        margin-bottom: 30px;
        font-size: 20px;
    }

    .slide-img-mobile {
        display: block;    
        margin-top: 30px;
    }

    .slider-progress,
    .slider-arrows,
    .slide-content-wrapper,
    .slide-title {
        width: calc(100% - var(--dplr) * 2);
        margin-inline: auto;
    }
}