@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --font-primary: "Montserrat";
    --font-secondary: "Playfair Display";
    --border-color: #3d3d3d;
}


body {
    font-family: var(--font-primary), sans-serif;
    background-color: #050505;
    color: #fff;
}


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary), serif;
    font-weight: 300;
}

html {
    scroll-behavior: auto; /* Lenis overrides this */
}

main {
    padding: 105px 170px 0 15%;
}

.site-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    opacity: 5%;
}

.site-bg img {
    width: 75%;
    margin: 0 auto;
}


.section-padding {
    padding: 100px 0;
}

.container {
    width: min(100% - 40px, 1280px);
    margin: 0 auto;
}

.flex {
    display: flex;
}

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

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

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth body {
    overflow: hidden;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/*PRELOADER*/
.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050505;
    overflow: hidden;
}

.site-preloader::before,
.site-preloader::after {
    content: "";
    position: absolute;
    width: 40vw;
    height: 40vw;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
    filter: blur(20px);
}

.site-preloader::before {
    top: -10vw;
    left: -10vw;
}

.site-preloader::after {
    right: -10vw;
    bottom: -10vw;
}

.preloader-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 40px, 420px);
    text-align: center;
}

.preloader-logo-wrap {
    margin-bottom: 28px;
}

.preloader-logo {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(24px) scale(0.96);
}

.preloader-line {
    position: relative;
    width: 100%;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.preloader-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: #ffffff;
}

.preloader-text {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
}

.preloader-text small {
    font-size: 0.8em;
    margin-left: 2px;
}

body.is-loading {
    overflow: hidden;
}

/*HEADER*/

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
    background-color: #050505;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #313131;
}



.header-inner {
    height: 90px;
}

.header-logo img {
    height: 60px;
    display: block;
}

.header-nav {
    display: flex;
}

.nav-list {
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #ffffff;
    transition: color 0.25s ease;
}

.site-header.scrolled .nav-list a {
    color: #fff;
}

.nav-list a:hover {
    opacity: 0.7;
}

.nav-cta a {
    padding: 10px 22px;
    border-radius: 999px;
    background: #fff;
    color: #111 !important;
    font-weight: 600;
}


.mobile-toggle {
    display: none;
    width: 30px;
    height: 22px;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
}

.mobile-toggle span {
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    background: #fff;
    transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-toggle span:nth-child(3) {
    bottom: 0;
}

.site-header.scrolled .mobile-toggle span {
    background: #111;
}

/*FOOTER*/
.site-footer {
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 40px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 16px;
    transition: all .3s ease;
}

.footer-social__link:hover {
    background: #fff;
    color: #111;
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color .25s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
}

.footer-credit {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
}

.footer-credit a:hover {
    color: #fff;
}

/*HERO*/
.hero-section {
    position: relative;
    overflow: hidden;
    /*background: #111;*/
}

.container {
    width: min(100% - 40px, 1280px);
    margin: 0 auto;
}

.hero-swiper,
.hero-slide {
    position: relative;
    width: 100%;
    min-height: 720px;
    height: 100vh;
}

.hero-slide {
    overflow: hidden;
}

.hero-slide__media,
.hero-slide__media picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
}

/* Overlay values from model: 0–9 */
.hero-overlay-0 {
    opacity: 0;
}

.hero-overlay-1 {
    opacity: 0.1;
}

.hero-overlay-2 {
    opacity: 0.2;
}

.hero-overlay-3 {
    opacity: 0.3;
}

.hero-overlay-4 {
    opacity: 0.4;
}

.hero-overlay-5 {
    opacity: 0.5;
}

.hero-overlay-6 {
    opacity: 0.6;
}

.hero-overlay-7 {
    opacity: 0.7;
}

.hero-overlay-8 {
    opacity: 0.8;
}

.hero-overlay-9 {
    opacity: 0.9;
}

.hero-slide__container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 720px;
    height: 88vh;
}

.hero-content {
    max-width: 760px;
    color: #fff;
}

.hero-title {
    margin: 0 0 20px;
    font-size: clamp(36px, 6vw, 78px);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    max-width: 640px;
    margin-bottom: 34px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #f2f2f2;
    transform: translateY(-2px);
}

.hero-controls {
    position: absolute;
    left: 50%;
    bottom: 36px;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-prev,
.hero-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.18);
}

.hero-pagination {
    width: auto !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px !important;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: #fff;
}


/*GALLERY*/
.section-space {
    padding: 120px 0;
}

.gallery-section {
    position: relative;
    /*background: #050505;*/
    color: #fff;
    overflow: hidden;
}

.gallery-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.section-title {
    margin: 0 0 14px;
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.section-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}

.gallery-filter-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 44px;
}

.gallery-filter-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    min-height: 46px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.is-active {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.gallery-grid {
    margin: 0 -12px;
}

.gallery-card {
    width: 33.3333%;
    padding: 12px;
}

.gallery-card__link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #111;
    text-decoration: none;
}

.gallery-card__media {
    position: relative;
    /*aspect-ratio: 4 / 5;*/
    overflow: hidden;
    background: #111;
}


.gallery-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 22px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.06) 48%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-card__category {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gallery-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 16px;
}

.gallery-card__link:hover .gallery-card__overlay {
    opacity: 1;
}

.gallery-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.8s ease;
}

.gallery-card__link:hover .gallery-card__img {
    transform: scale(1.08);
}

/*FLOORPLANS*/
.floorplan-section {
    /*background: #050505;*/
}

.floorplan-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
}

.floorplan-info {
    max-width: 420px;
}

.floorplan-eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    display: block;
    margin-bottom: 16px;
}

.floorplan-title {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.05;
    margin-bottom: 18px;
}

.floorplan-meta {
    display: flex;
    gap: 20px;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
    margin-bottom: 26px;
}

.floorplan-description {
    color: rgba(255, 255, 255, .6);
    line-height: 1.7;
    margin-bottom: 34px;
}

.floorplan-view-btn {
    border: 1px solid rgba(255, 255, 255, .3);
    background: transparent;
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .3s ease;
}

.floorplan-view-btn:hover {
    background: #fff;
    color: #111;
}

.floorplan-image {
    position: relative;
}

.floorplan-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .6s ease;
}

.floorplan-image:hover img {
    transform: scale(1.03);
}

/*LOCATION*/

.location-section {
    position: relative;
    /*background: #050505;*/
    color: #fff;
    overflow: hidden;
}

.location-head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: stretch;
}

.location-map-wrap {
    position: relative;
    min-width: 0;
}

.location-map {
    width: 100%;
    height: 620px;
    border-radius: 28px;
    overflow: hidden;
    /*background: #0d0d0d;*/
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.location-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.location-card__label {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.location-card__title {
    margin: 0 0 10px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.location-card__text {
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.location-actions {
    gap: 12px;
}

.location-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.location-btn--light {
    background: #fff;
    color: #111;
}

.location-btn--light:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
}

.location-btn--dark {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.location-btn--dark:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Leaflet dark polish */
.leaflet-container {
    background: #0d0d0d;
    font-family: inherit;
}

.leaflet-control-zoom {
    border: none !important;
    box-shadow: none !important;
}

.leaflet-control-zoom a {
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    background: rgba(18, 18, 18, 0.92) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.leaflet-control-zoom a:hover {
    background: #1f1f1f !important;
}

.leaflet-popup-content-wrapper {
    background: #101010;
    color: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.leaflet-popup-tip {
    background: #101010;
}

.leaflet-popup-content {
    margin: 14px 16px;
    font-size: 14px;
    line-height: 1.6;
}

.custom-map-popup__title {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.custom-map-popup__text {
    color: rgba(255, 255, 255, 0.72);
}

.custom-map-marker {
    width: 56px;
    height: 56px;
    display: block;
}

.custom-map-marker svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}


.location-form {
    margin: 24px 0 22px;
}

.location-form__group {
    margin-bottom: 12px;
}

.location-input {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.location-input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.location-input:focus {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.location-form__actions {
    margin-top: 16px;
}

.location-submit-btn {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.location-submit-btn:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
}

.location-actions {
    gap: 12px;
    margin-top: 18px;
}

.location-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 38px;
    text-align: left;
    margin-bottom: 30px;
}

.location-info-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.location-info-box:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.location-info-box__icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
}

.location-info-box__content {
    min-width: 0;
    flex: 1;
}

.location-info-box__label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.location-info-box__value {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 500;
    word-break: break-word;
    transition: opacity 0.25s ease;
}

.location-info-box__value:hover {
    opacity: 0.72;
}

.location-info-box__subvalue {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: opacity 0.25s ease;
}

.location-info-box__subvalue:hover {
    opacity: 0.72;
}

.location-info-box__value--text {
    color: rgba(255, 255, 255, 0.84);
}

/*COOKIE*/
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 26px;
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.cookie-banner__content {
    max-width: 760px;
}

.cookie-banner__label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.cookie-banner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

.cookie-banner__text a {
    color: #fff;
    text-decoration: none;
}

.cookie-banner__text a:hover {
    opacity: 0.72;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn--primary {
    border: none;
    background: #fff;
    color: #111;
}

.cookie-btn--primary:hover {
    background: #f1f1f1;
    transform: translateY(-2px);
}

.cookie-btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #fff;
}

.cookie-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}
