/* CSS Document */

@font-face {
    font-family: "Big Caslon CC";
    src: url("../fonts/big_caslon_cc.woff2") format("woff2");
}
:root {
    /* Base background colors */
    --color-bg: #0d1e3b;
    --color-bg-darker: #0b172e;
    --color-bg-lighter: #27354f;
    --color-accent: #d5a44c;
    /* Text colors */
    --color-text: #fff;
    --color-text-darker: #868e9c;
    --color-text-lighter: #747e8d;
    /* Fonts */
    --font-primary: "Roboto", sans-serif;
    --font-secondary: "Big Caslon CC";
    --font-accent: "Qwitcher Grypen", cursive;
}
.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}
.container-big {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}
body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: #fff;
}
.main-spacing {
    margin-top: clamp(2.5rem, 1.655rem + 2.787vw, 5rem);
    /*40-80*/
}

.no-spacing {
    margin: 0;
    padding: 0;
}
/* BREADCRUMBS */

.breadcrumbs {
    margin-top: 40px;
}
.breadcrumbs ol {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    opacity: 0.7;
}
.breadcrumbs li::after {
    content: "/";
    margin-left: 0.5rem;
}
.breadcrumbs li:last-child::after {
    content: "";
}
.breadcrumbs a {
    transition: all 0.3s ease;
    opacity: 0.7;
}
.breadcrumbs a:hover {
    opacity: 1;
}

.consent {
    font-size: 13px;
    opacity: 0.8;
    display: flex;
    gap: 7px;
    align-items: center;
    line-height: 1.4;
}

input[type="checkbox"] {
    margin: 0;
}

/* TYPOGRAPHY */

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

.text-page a,
.text-link {
    color: #d5a44c;
    transition: all 0.3s ease;
}
.text-page a:hover {
    opacity: 0.7;
}

p {
    font-size: clamp(1rem, 0.988rem + 0.063vw, 1.063rem);
    /*16-17*/
    line-height: 1.9;
    color: var(--color-text);
}
p + p {
    margin-top: 20px;
}
p + ul {
    margin-top: 10px;
}
ul + p {
    margin-top: 10px;
}
h1 {
    font-family: var(--font-secondary);
    font-size: clamp(3.438rem, 2.487rem + 3.136vw, 6.25rem);
    /*55-100*/
    line-height: 1;
}
h2 {
    font-family: var(--font-secondary);
    font-size: clamp(3.125rem, 2.386rem + 2.439vw, 5.313rem);
    /*50-85*/
    line-height: 1;
}
h3 {
    font-family: var(--font-secondary);
    font-size: clamp(3.125rem, 2.597rem + 1.742vw, 4.688rem);
    /*50-75*/
}
h4 {
    font-family: var(--font-secondary);
    font-size: clamp(2.188rem, 1.871rem + 1.045vw, 3.125rem);
    /*35-50*/
}
h5 {
    font-family: var(--font-secondary);
    font-size: clamp(1.375rem, 1.227rem + 0.488vw, 1.813rem);
    /*22-29*/
    color: var(--color-accent);
    line-height: 1.3;
}

h6 {
    font-family: var(--font-primary);
    font-size: 20px;
    color: var(--color-accent);
    line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
}
.accent-text {
    color: var(--color-accent);
}

.main-title {
    padding-right: 50px;
    padding-bottom: 20px;
}

.accent-title {
    font-family: var(--font-accent);
    color: var(--color-accent);
    font-size: clamp(5rem, 4.028rem + 3.206vw, 7.875rem); /*80-126*/
    line-height: 0.8;
}

.deco-title {
    justify-self: end;
    align-self: end;
}
.small-title {
    font-size: 0.8rem;
    color: var(--color-accent);
    margin-bottom: 10px;
    display: block;
}
/* BUTTONS */

button,
a.button {
    border: none;
    font-family: var(--font-primary);
    cursor: pointer;
}
.button-underlined {
    position: relative;
    padding: 0 10px;
}
.button-underlined:before {
    content: "";
    position: absolute;
    height: 4px;
    width: 100%;
    background-color: var(--color-accent);
    bottom: -13px;
    left: 0;
    transform: scaleX(1);
    /* base: slightly narrow */
    transform-origin: center;
    transition: transform 0.25s ease;
}
.button-underlined:hover:before {
    transform: scaleX(0.75);
    /* expand from center */
}
.button--primary {
    background-color: var(--color-accent);
    padding: 15px 40px;
    border-radius: 50px;
    color: var(--color-text);
    position: relative;
    overflow: hidden;
    font-size: clamp(0.875rem, 0.833rem + 0.139vw, 1rem);
    /*14-16*/
}
.button--primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
    pointer-events: none;
}
.button--primary:hover::before {
    left: 125%;
}
/* FORMS */

input,
select,
textarea {
    width: 100%;
    height: 50px;
    padding: 10px;
    background-color: var(--color-bg-lighter);
    border: none;
    border-bottom: 1px solid var(--color-accent);
    font-family: var(--font-primary);
    color: var(--color-text);
    margin-bottom: 15px;
}
textarea {
    height: 260px;
}
::placeholder {
    font-family: var(--font-secondary);
}
/* HEADER */

.header {
    padding-top: 35px;
}
.header .container {
    overflow: visible;
}
.header--over-hero {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 11;
}
.header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}
.header-center {
    justify-self: center;
}
.header-left {
    min-width: 0;
    justify-self: stretch;
}
.header-nav {
    display: flex;
    gap: 60px;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
}
.header-nav a {
    position: relative;
}
.header-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}
.header-nav a:hover::after {
    width: 100%;
}
.header-nav a.active:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}
.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    justify-self: stretch;
}
.header-lang {
    display: flex;
	gap:10px;
}
.header-lang a {
    transition: all 0.3s ease;
}
.header-lang a:hover {
    background-color: var(--color-text);
    color: var(--color-accent);
}
.header-project-button {
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    cursor: pointer;
    transition: border-radius 0.25s ease;
    position: relative;
    z-index: 3;
}
.header-project {
    position: relative;
    display: inline-block;
    --menu-height: 130px;
    color: #fff;
}

.header-project:hover .header-project-button svg {
    transform: rotate(180deg);
    transition: transform 0.25s ease;
}
.header-project-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 8px 0 10px;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 4;
}
/* ITEMS */

.header-project-menu-item a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
}
.header-project-menu-item a:hover {
    background: rgba(255, 255, 255, 0.08);
}
.header-project::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 99%;
    height: 0;
    background: rgba(13, 30, 59, 0.8);
    border: 1px solid var(--color-accent);
    border-top: none;
    border-radius: 0 0 25px 25px;
    opacity: 0;
    transition: height 0.26s ease, opacity 0.2s ease;
    z-index: 2;
}
.header-project:hover .header-project-button {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.header-project:hover::after {
    height: var(--menu-height);
    opacity: 1;
}
.header-project:hover .header-project-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-lang a {
    padding: 7px;
    background-color: var(--color-accent);
    border-radius: 50%;
    font-size: 13px;
}
.hamburger {
    display: none;
}
.mobile-nav {
    display: none;
}
@media (max-width: 1360px) {
    .header-logo img {
        width: 150px;
    }
    .header-nav {
        column-gap: 50px;
    }
    .header-right {
        justify-content: flex-end;
    }
    .header-project {
        margin-right: 60px;
    }
}
@media (max-width: 1200px) {
    .header-nav {
        column-gap: 30px;
    }
    .header-project {
        margin-right: 0;
    }
}
@media (max-width: 1024px) {
    .header {
        padding-top: 20px;
    }
    .header-left,
    .header-right {
        display: none;
    }
    .header-inner {
        display: flex;
        justify-content: space-between;
        gap: 0;
    }
    .hamburger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
        width: 30px;
        height: 32px;
        border: 0;
        background: transparent;
        padding: 0;
        cursor: pointer;
    }
    .hamburger span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--color-text);
        transition: transform 0.2s ease, opacity 0.2s ease;

        position: relative;
        transform: rotate( 0 );
        top: 0;
        left: 0;
        opacity: 1;
        transition-property: transform, top, left, opacity;
    }
    /*mmenu*/
    html.mm-opened .hamburger span.top-bar {
       transform: rotate( 45deg );
       top: 9px;
    }
    html.mm-opened .hamburger span.middle-bar {
       opacity: 0;
       left: -40px;
    }
    html.mm-opened .hamburger span.bottom-bar {
       transform: rotate( -45deg );
       top: -8px;
    }
    #_jq_sp_menu {background:var(--color-bg-darker); z-index:10;}

    /* panel */
    .mobile-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: calc(100vw - 50px);
        background: var(--color-bg);
        padding: 20px 16px;
        overflow-y: auto;
        box-sizing: border-box;
        text-align: right;
        height: 100svh;
        z-index: 10000;
    }
    .mobile-nav .header-lang {
        justify-content: flex-end;
    }
    .mobile-nav-subtitle {
        font-family: var(--font-secondary);
        font-size: 30px;
        color: var(--color-accent);
        padding-top: 20px;
    }
    .mobile-nav-link {
        display: block;
        padding: 12px 0;
        text-decoration: none;
        color: #fff;
        border-bottom: 1px dashed #707070;
        margin-bottom: 10px;
        padding-bottom: 10px;
        font-size: 16px;
        text-transform: uppercase;
    }
    .no-border {
        border-bottom: none !important;
    }
}
/* HERO */

.hero {
    position: relative;
    width: 100%;
}
.hero-media img {
    width: 100%;
}
.hero .container {
    overflow: visible;
}
/* Background video */

.hero-media {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-media:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.41) 52%, rgba(0, 0, 0, 0.5) 100%);
}
/* Hero text */

.hero-content {
    color: var(--color-text);
    font-family: var(--font-secondary);
    position: absolute;
    bottom: -85px;
    z-index: 10;
}
.hero-title {
    font-size: 140px;
    opacity: 0.5;
    line-height: 1.1;
    margin: 0;
}
.hero-subtitle {
    font-size: 126px;
    font-family: var(--font-accent);
    color: var(--color-accent);
    position: absolute;
    left: 90%;
    bottom: -75px;
}
@media (max-width: 1200px) {
    .hero-content {
        bottom: -45px;
    }
    .hero-title {
        font-size: 90px;
    }
    .hero-subtitle {
        font-size: 76px;
        bottom: -45px;
    }
}
@media (max-width: 768px) {
    .hero-content {
        bottom: -34px;
    }
    .hero-title {
        font-size: 60px;
    }
    .hero-subtitle {
        font-size: 56px;
        bottom: -37px;
    }
}
@media (max-width: 500px) {
    .hero-content {
        bottom: -21px;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-subtitle {
        font-size: 36px;
        bottom: -23px;
    }
}
/* MAIN */

/* SECTION */

.about {
    overflow: visible;
    margin-top: clamp(3.75rem, 1.215rem + 8.362vw, 11.25rem);
    /* 60-180 */
}
.about-viewport {
    max-width: 1920px;
    margin-inline: auto;
}
.about-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-right: calc((min(1920px, 100vw) - 1360px) / 2);
}
.about-left {
    flex: 0 0 auto;
}
.about-left-img {
    display: block;
    width: clamp(260px, 22vw, 400px);
    height: auto;
}
.about-right {
    flex: 1 1 auto;
    min-width: 0;
    /* allow shrinking */
    display: flex;
    padding-top: 80px;
    align-items: center;
}
.about-right-img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 300px;
    margin-right: 40px;
}
.about-text {
    width: 100%;
    padding-right: 20px;
}
.about-title {
    margin-bottom: clamp(1.25rem, 0.828rem + 1.394vw, 2.5rem);
    /*20-40*/
}
/* ----------------- Responsive ----------------- */

@media (max-width: 1200px) {
    .about-left {
        display: none;
    }
    .about-right {
        padding-top: 0;
    }
}
@media (max-width: 768px) {
    .about-right {
        flex-direction: column;
    }
    .about-right-img {
        display: none;
    }
    .about-text {
        padding: 0 20px;
    }
}
/* statement */

.statement {
    text-align: center;
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
    /*60-130*/
}
.statement-title {
    margin-bottom: clamp(1.875rem, 0.536rem + 3.571vw, 3.75rem); /*30-60*/
}
/* features */

.features {
    margin-top: clamp(3.75rem, 3.328rem + 1.394vw, 5rem);
    /*60-80*/
}
.statement-paragraph {
    max-width: 768px;
    margin: 0 auto;
}
.features-list {
    display: flex;
    justify-content: center;
    align-items: center;
}
.features-item {
    flex: 1;
    text-align: center;
    font-family: var(--font-secondary);
    font-size: clamp(1.25rem, 1.166rem + 0.279vw, 1.5rem);
    /*20-24*/
}
.features-icon {
    margin-bottom: 30px;
    min-height: 90px;
    display: flex;
    justify-content: center;
}
.features-icon img {
    width: 80px;
}

.features-icon-4 img {
    height: 80px;
}
@media (max-width: 768px) {
    .features-list {
        flex-wrap: wrap;
    }
    .features-item {
        flex: 50%;
    }
    .features-item:nth-child(-n + 2) {
        padding-bottom: 40px;
    }
}
@media (max-width: 600px) {
    .features-item {
        flex: 100%;
        padding-bottom: 50px;
    }
    .features-item:last-child {
        padding-bottom: 0;
    }
    .features-icon {
        min-height: auto;
    }
}
/* masterplan */

.masterplan {
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
    /*60-130*/
    position: relative;
}
.masterplan img {
    width: 100%;
}

.masterplan-info {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    background-color: rgba(190, 149, 74, 0.5);
    padding: 0px 15px;
    border-radius: 0 0 20px 20px;
    font-size: 14px;
    white-space: nowrap;
}

.masterplan-legend {
    background-color: rgba(13, 30, 59, 0.5);
    border-radius: 0 0 20px 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    padding: 3px 20px;
    font-size: 12px;
    display: flex;
    gap: 20px;
}

.legend-icon {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: block;
}

.free,
.reserved,
.sold {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-free {
    background-color: #51c531;
}

.legend-reserved {
    background-color: var(--color-accent);
}

.legend-sold {
    background-color: #c53131;
}

.masterplan-labels {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2000;
    pointer-events: none;
}

.label {
    transform-box: view-box;
}

.inner-circle {
    fill: var(--color-accent);
}

.inner-circle-free {
    fill: #51c531;
}

.inner-circle-reserved {
    fill: var(--color-accent);
}

.inner-circle-sold {
    fill: #c53131;
}

.outer-circle {
    fill: none;
    stroke: var(--color-accent);
    stroke-miterlimit: 10;
    stroke-width: 2;
    animation: pulse 2s infinite ease-in-out;
    transform-box: fill-box;
    transform-origin: center;
}

.outer-circle-free {
    stroke: #51c531;
}

.outer-circle-reserved {
    stroke: var(--color-accent);
}

.outer-circle-sold {
    stroke: #c53131;
}

.label-text {
    fill: #fff;
    font-family: var(--font-secondary);
    font-size: 44px;
    text-anchor: middle;
    dominant-baseline: middle;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.25);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    .label-a {
        transform-origin: 305.79px 443.68px;
        transform: scale(1.25);
    }

    .label-b {
        transform-origin: 940.51px 443.68px;
        transform: scale(1.25);
    }

    .label-c {
        transform-origin: 1581.05px 456.9px;
        transform: scale(1.25);
    }

    .label-c1 {
        transform-origin: 556.66px 503.76px;
        transform: scale(1.5);
    }

    .label-c2 {
        transform-origin: 1372.64px 503.76px;
        transform: scale(1.5);
    }

    .label-a1 {
        transform-origin: 832.66px 880.76px;
        transform: scale(1.25);
    }
    .label-a2 {
        transform-origin: 832.66px 663.76px;
        transform: scale(1.25);
    }
    .label-a3 {
        transform-origin: 832.66px 383.76px;
        transform: scale(1.25);
    }

    .label-b1 {
        transform-origin: 480.66px 920.76px;
        transform: scale(1.25);
    }

    .label-b2 {
        transform-origin: 1420.64px 920.76px;
        transform: scale(1.25);
    }

    .label-b3 {
        transform-origin: 480.66px 703.76px;
        transform: scale(1.25);
    }

    .label-b4 {
        transform-origin: 1420.64px 700.76px;
        transform: scale(1.25);
    }

    .label-b5 {
        transform-origin: 480.66px 453.76px;
        transform: scale(1.25);
    }

    .label-b6 {
        transform-origin: 1420.64px 470.76px;
        transform: scale(1.25);
    }

    .inner-circle,
    .outer-circle {
        stroke-width: 2;
    }
}

@media (max-width: 768px) {
    .masterplan-info,
    .masterplan-legend {
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .inner-circle,
    .outer-circle {
        stroke-width: 3;
    }
}

/*index-building-overlay*/
.masterplan-buildings {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
}

.masterplan-buildings .building {
    fill: #0663f7;
    opacity: 0;
    transition: all 3s ease;
    cursor: pointer;
}

.masterplan-buildings .building:hover {
    opacity: 0.5;
}

@media (max-width: 600px) {
    .label-a {
        transform: scale(1.8);
    }
    .label-b {
        transform: scale(1.8);
    }

    .label-c {
        transform: scale(1.8);
    }
}

/* contact */

.contact-element {
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
    /*60-130*/
}
.contact-inner {
    display: flex;
    gap: 80px;
    align-items: center;
}
.contact-copy {
    width: 50%;
}
.contact-form {
    flex: 1;
}
.contact-button {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}
@media (max-width: 1024px) {
    .contact-inner {
        flex-direction: column;
        gap: 20px;
    }
    .contact-copy,
    .contact-form {
        width: 100%;
    }
}

.google-map {
	margin-top:60px;
}
/* footer */

footer {
    background: var(--color-bg-darker);
    line-height: 1.8;
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
    /*60-130*/
}

body:has(.google-map) footer, body:has(.materials) footer {
    margin-top: 0;
}

.footer a {
    transition: all 0.3s ease;
}
.footer a:hover {
    color: var(--color-accent);
}
.footer-inner {
    display: flex;
    gap: 40px;
    padding: clamp(3.125rem, 2.703rem + 1.394vw, 4.375rem) 20px clamp(3.125rem, 2.703rem + 1.394vw, 4.375rem) 20px;
    /*50-70*/
}
.footer-inner div {
    flex: 1;
}
.footer-note {
    font-weight: 300;
    margin-top: 5px;
}
.footer-title {
    color: var(--color-accent);
    margin-bottom: 10px;
}
.footer-social {
    margin-top: 20px;
}
.footer-social a {
    height: 30px;
    margin-right: 10px;
    margin-top: 10px;
    display: inline-block;
}

.footer-social-link-yt  {
	width:45px;
	}

.footer-social a:hover {
    opacity: 0.7;
}
.footer-person-first {
    margin-bottom: 20px;
	margin-top:20px;
}
.sales-mail {margin-bottom:15px;}
.footer-person-line img {
    margin-right: 7px;
}
.footer-item {
    border-bottom: 1px dashed #818792;
    margin-bottom: 10px;
    padding-bottom: 10px;
}
.footer-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid #818792;
    padding: 15px;
}
.footer-bottom p {
    font-size: 15px;
    opacity: 0.8;
}
@media (max-width: 1024px) {
    .footer-inner {
        flex-direction: column;
    }
    .footer-inner div {
        flex: auto;
    }
	
	.footer-person-first {margin-top:0;}
	
    .footer-address,
    .footer-contacts,
    .footer-links {
        display: flex;
        column-gap: 30px;
    }
    .footer-title {
        min-width: 25%;
    }
    .footer-text,
    .footer-social {
        margin-top: 0;
        width: 50%;
    }
    .footer-person {
        width: 50%;
    }
    .footer-list {
        width: 100%;
        margin-top: 0;
    }
}
@media (max-width: 768px) {
    .footer-address,
    .footer-contacts,
    .footer-links {
        flex-direction: column;
    }
    .footer-social {
        margin-top: 20px;
    }
    .footer-inner div {
        width: 100%;
    }

    .footer-person, .footer-text {
        width: 100%;
    }
}
/*ABOUT PROJECT PAGE*/

.about-project-title {
    text-align: center;
}
.about-project .container {
    overflow: visible;
}
.about-project-title {
    text-align: center;
    max-width: 1024px;
    margin: 0 auto 20px auto;
}
.about-project-content {
    display: flex;
    align-items: center;
    gap: 40px;
    transform: translateX(calc((min(1920px, 100vw) - 1360px) / -2 + 40px));
    position: relative;
    overflow: visible;
}
.about-project .about-row {
    align-items: center;
}
.about-project .about-right {
    padding-top: 0;
}
.about-project-text {
    padding: 0 23%;
    margin-top: clamp(1.875rem, -0.237rem + 6.969vw, 8.125rem);
}
.about-project .project-details-text p:first-child {
    font-family: var(--font-secondary);
    font-size: clamp(1.375rem, 1.227rem + 0.488vw, 1.813rem);
    /*22-29*/
    color: var(--color-accent);
    line-height: 1.3;
    font-weight: 400;

    margin-bottom: clamp(1.25rem, 1.039rem + 0.697vw, 1.875rem);
    /*20-30*/
}
.about-project-text-location-title {
    margin-bottom: clamp(1.25rem, 0.405rem + 2.787vw, 3.75rem);
}
.about-project-text-location {
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
}
.about-project-text-location h5 {
    margin-bottom: clamp(1.25rem, 1.039rem + 0.697vw, 1.875rem);
}

.about-project-text-location .wrapper {
    padding-right: 20%;
}

.gallery {
	margin-top:clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
}
@media (max-width: 1024px) {
    .about-project-text {
        padding: 0;
    }
    .about-project-text-location .wrapper {
        padding-right: 0;
    }
}
@media (max-width: 768px) {
    .about-project .about-right-img {
        display: block;
        margin: 30px 0 0 0;
        padding: 0 20px;
    }
    .about-project .about-right {
        flex-direction: column-reverse;
    }

    .about-project-title {
        text-align: left;
    }
}
.project-details-content .container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.project-details-text {
    width: 70%;
    margin-bottom: 30px;
}
.project-details-icons-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    font-size: 25px;
    font-weight: 400;
    text-align: center;
}
.project-details-icons-item strong {
    font-weight: 500;
    line-height: 1.3;
}
.project-details-icons-item img {
    margin-bottom: 20px;
}
.project-details-icons-item:last-child {
    margin-bottom: 0;
}
/* Materials section */

.materials {
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
    /*60-130*/
}

.materials h2 {
    margin-bottom: clamp(1.25rem, 0.828rem + 1.394vw, 2.5rem);
}

.materials .tabs {
    display: flex;
    gap: 8px;
    margin: 24px 0 28px;
    justify-content: space-between;
    overflow-x: auto;
    flex-wrap: nowrap;
}
.materials .tab {
    text-align: center;
    padding: 15px 15px;
    text-decoration: none;
    border-radius: 999px;
    flex: 1 0 auto;
    font-size: clamp(1.125rem, 1.041rem + 0.279vw, 1.375rem); /*18-22*/
    color: var(--color-text-darker);
    border: 1px solid transparent;
    transition: 0.3s ease;
}
.materials .tab:hover {
    opacity: 1;
    border-color: var(--color-accent);
    background-color: var(--color-bg-darker);
}
.materials .tab.is-active {
    border-color: var(--color-accent);
    color: var(--color-text);
    background-color: var(--color-bg-darker);
}
.content-grid {
    display: flex;
}
.photo-card {
    margin: 0;
    width: 40%;
    background-size: cover;
    background-position: center;
}

.materials .container-big {
    padding: 0;
    height: inherit;
}
.materials .container-big .content-grid {
    height: inherit;
}
.copy-card {
    background: var(--color-accent);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(3.125rem, 2.069rem + 3.484vw, 6.25rem) clamp(1.563rem, 1.034rem + 1.742vw, 3.125rem) clamp(3.125rem, 2.069rem + 3.484vw, 6.25rem) clamp(1.563rem, 1.034rem + 1.742vw, 3.125rem);
    flex: 1;
}
.copy-card p {
    margin: 0 0 14px;
}
.copy-card p:first-child {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-style: italic;
    font-size: 40px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .project-details-content .container {
        flex-direction: column;
    }

    .project-details-text {
        width: 100%;
    }

    .photo-card {
        display: none;
    }
}

/*ABOUT US*/

.about-intro .about-right {
    padding-top: 0;
}

.about-intro .about-row {
    align-items: center;
}

.about-intro .about-text {
    padding-left: 20px;
}

.about-us-left-img {
    width: clamp(260px, 45vw, 980px);
}

.about-steps {
    padding-left: calc((min(1920px, 100vw) - 1360px) / 2);
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
    /*60-130*/
}

.about-steps .container {
    display: flex;
}

.about-steps-left {
    width: 50%;
    padding-right: 7%;
}

.about-steps-right {
    width: 50%;
}

.step {
    display: flex;
    align-items: center;
    border-bottom: 1px dashed #707070;
    padding-bottom: 20px;
    margin-bottom: 20px;
    gap: 40px;
}

.step:last-child {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-num {
    color: var(--color-text-darker);
    font-size: clamp(2.5rem, 1.972rem + 1.742vw, 4.063rem); /*40-65*/
    font-family: var(--font-secondary);
    display: block;
}

.step-title {
    font-size: clamp(1.25rem, 1.144rem + 0.348vw, 1.563rem); /*20-25*/
}

.step-left {
    width: 30%;
}

.step-right {
    flex: 1;
}

.about-steps-images {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.about-steps-image-1 {
    width: clamp(260px, 22vw, 450px);
}

.about-steps-image-2 {
    margin-top: 30%;
    width: clamp(260px, 22vw, 450px);
}

.sustainability {
    max-width: 520px;
    margin-bottom: clamp(2.5rem, 2.289rem + 0.697vw, 3.125rem); /*40-50*/
}

.sustainability .accent-title {
    font-size: clamp(3.75rem, 3.116rem + 2.091vw, 5.625rem); /*60-90*/
}

.portfolio {
    margin-top: -220px;
}

.portfolio .container-big {
    padding: 0;
}

.portfolio-title,
.portfolio-text {
    margin-bottom: clamp(1.25rem, 0.828rem + 1.394vw, 2.5rem);
}

.portfolio-text {
    max-width: 780px;
}

.portfolio-text h5 {
    margin-bottom: 20px;
}

.portfolio-links {
    display: flex;
    gap: 20px;
}

.portfolio-link {
    padding-top: 17%;
    width: 33.33%;
    background-size: cover;
    background-position: center;

    position: relative;
    display: block;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.portfolio-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-link-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: all 0.4s ease;
    text-align: center;
    font-family: var(--font-secondary);
}

.portfolio-link:hover::before {
    opacity: 1;
}

.portfolio-link:hover .portfolio-link-text {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 1200px) {
    .about-intro .about-left {
        display: block;
    }

    .portfolio {
        margin-top: -150px;
    }
}

@media (max-width: 1024px) {
    .about-intro .about-row {
        flex-direction: column-reverse;
    }

    .about-intro .about-us-left-img {
        width: clamp(260px, 100vw, 980px);
    }

    .portfolio {
        margin-top: 0;
    }

    .about-steps .container {
        flex-direction: column;
    }

    .about-steps-left {
        width: 100%;
        padding-right: 0;
    }

    .about-steps-right {
        width: 100%;
        margin-top: 40px;
    }

    .sustainability {
        max-width: 100%;
    }

    .about-steps-image-1,
    .about-steps-image-2 {
        width: clamp(260px, 50vw, 450px);
        margin-top: 0;
    }

    .about-steps-images {
        justify-content: center;
    }

    .portfolio {
        margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
    }

    .portfolio-text {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .portfolio-links {
        gap: 10px;
    }

    .portfolio-link {
        padding-top: 25%;
    }

    .step {
        flex-direction: column;
        gap: 20px;
    }

    .step-left {
        width: 100%;
    }
}

.contact-persons {
    line-height: 1.9;
    margin-top: clamp(1.875rem, 1.453rem + 1.394vw, 3.125rem); /*30-50*/
}

.contact-title {
    margin-bottom: clamp(1.25rem, 0.828rem + 1.394vw, 2.5rem);
}

.contact-persons-title {
    color: var(--color-text-darker);
    font-size: 30px;
}

.contact-persons-wrapper {
    display: flex;
    gap: 70px;
    align-items: center;
}

.contact-persons a {
    transition: 0.3s ease;
}

.contact-persons a:hover {
    color: var(--color-accent);
}

.contact-legal {
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
}

.contact-legal .container {
    display: flex;
    padding: 0 5%;
    align-items: center;
}

.contact-legal-left {
    margin-right: 80px;
    width: 40%;
}

@media (max-width: 768px) {
    .contact-legal-left {
        margin-right: 40px;
    }

    .general .footer-person:first-child {
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .contact-persons-wrapper {
        flex-direction: column;
        align-items: flex-start;

        gap: 0;
    }

    .contact-legal-left {
        display: none;
    }
}

/*TEXT PAGE*/
.text-page-main-title {
    margin-bottom: 30px;
}
.text-page h6 {
    margin-bottom: 15px;
}

.apartment-gallery {
    margin-bottom: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
}





/* Basic helpers */
.tile {
    display: block;
    position: relative;
    overflow: hidden;

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Layout */
.apartment-gallery > .container {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* Left side (main image) */
.gallery-big {
    flex: 2 1 0;
    aspect-ratio: 4 / 3; /* keeps natural height, scales with width */
}

/* Right side (thumbnails stacked) */
.thumbs {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thumb,
.more {
    flex: 1;
    min-height: 0; /* ensures proper proportional resizing */
    aspect-ratio: 4 / 3;
}

/* Overlay for “more” tile */
.more::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

/* Desktop: use data-more */
.more::after {
    content: attr(data-more);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: clamp(18px, 4vw, 36px);
    text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

/* Mobile: use data-mob */
@media (max-width: 767px) {
    .more::after {
        content: attr(data-mob);
    }
}

@media (max-width: 768px) {
    /* Stop flex from squishing the columns */
    .apartment-gallery > .container {
        display: block; /* instead of flex */
    }

    /* Stack: show only hero + last tile */
    .thumbs .thumb {
        display: none !important;
    }

    .gallery-big,
    .more {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3; /* nice mobile proportion */
    }

    /* Keep spacing since we disabled the flex gap above */
    .more {
        margin-top: 12px;
    }

    /* Ensure the wrapper still participates in layout */
    .thumbs {
        display: block; /* remove flex behavior on mobile */
    }
}

.back-button {
    display: inline-flex;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.back-button svg {
    width: 15px;
    margin-right: 5px;
}

.back-button:hover {
    opacity: 1;
}

.apartment-details-main-title {
    margin-bottom: clamp(2.5rem, 1.233rem + 4.181vw, 6.25rem); /*40-100*/
}

.title-with-accent {
    width: 100%;
    
}

.title-with-accent h1 {
    color: var(--color-text);
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.title-with-accent span {
    font-family: var(--font-accent);
    color: var(--color-accent);
    font-size: 1.2em;
    position: absolute;
    bottom: -0.2em;
    right: -60px;
    transform: translateY(16%);
    white-space: nowrap;
}

.apartment-details-icons {
    display: flex;
    gap: 10px;
}

.apartment-details-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-bg-darker);
    padding: 30px 15px;
   flex:1;
    gap: 10px;
}

.apartment-details-icon small {
    color: var(--color-accent);
    margin: 15px 0 0px 0;
    text-align: center;
}

.apartment-details-icon big {
    font-family: var(--font-secondary);
    font-size: clamp(1.25rem, 0.722rem + 1.742vw, 2.813rem); /*20-45*/
}

.apartment-details-icon img {
    height: 45px;
}

.apartment-details-info {
    display: flex;
    gap: 40px;
    margin-top: clamp(2.5rem, 1.233rem + 4.181vw, 6.25rem);
}

.apartment-details-info-left,
.apartment-details-info-right {
    width: 50%;
}
.apartment-details-info-title {
    display: flex;
    align-items: center;
    gap: 10px; /* small gap between text and line */
    position: relative;
    color: var(--color-accent);
    margin-bottom: 30px;
}

.apartment-details-info-title:after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-accent);
}

.apartment-details-download-link {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 15px;
}

.details-table-row {
    display: flex;
    border-bottom: 1px dashed #5e6a7d;
    width: 100%;
}

.details-table-row:last-child {
    border-bottom: none;
}

.details-table-row-left {
    border-right: 1px dashed #5e6a7d;
    width: 40%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.details-table-row-right {
    padding: 10px 20px;
    width: 60%;
}

.virtual-walk {
    padding-top: 35%;
    position: relative;
    margin-top: clamp(3.75rem, 2.271rem + 4.878vw, 8.125rem);
    /*60-130*/
    background-position: center;
}
.virtual-walk:before {
    content: "";
    background-color: #0d1e3b;
    opacity: 0.3;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.virtual-walk a {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-wrap: nowrap;
}

@media (max-width: 768px) {
    .apartment-details-icon {
        padding: 20px 10px;
        justify-content: space-between;
    }

    .apartment-details-icon img {
        height: 35px;
    }

    .apartment-details-info {
        flex-direction: column;
    }

    .apartment-details-info-left,
    .apartment-details-info-right {
        width: 100%;
    }
	
	.title-with-accent span {
    font-family: var(--font-secondary);
    color: var(--color-accent);
    position: relative;
    bottom:auto;
    right: auto;
    transform:  none;
	font-size:1em;
	text-transform:lowercase;
   
}

.about-project-text-location-title span {text-transform:capitalize;}


}

@media (max-width: 600px) {
    .apartment-details-icons {
        flex-direction: column;
    }

    .apartment-details-icon {
        width: 100%;
    }

    .virtual-walk {
        padding-top: 80%;
    }
}

.cookie-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 340px;
    z-index: 9999;
    display: none;
}

.cookie-box-toggle {
    display: none;
}

.cookie-box-toggle:checked + .cookie-box-content {
    display: none;
}

.cookie-box-content {
    background: var(--color-bg-darker);
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 16px 18px;
    position: relative;
    animation: slideIn 0.4s ease forwards;
}

.cookie-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    margin-bottom: 10px;
}

.cookie-box-title svg {
    width: 20px;
    fill: #fff;
}

.cookie-box-text {
    font-size: 14px !important;
    line-height: 1.5;
    opacity: 0.8;
}

.cookie-box-close {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    transition: color 0.2s ease;
}


.cookie-box__text {
    margin: 0 0 12px;
}

.button--cookie {
    margin-top: 15px;
    padding: 8px 18px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .cookie-box {
        right: 10px;
        left: 10px;
        bottom: 10px;
        max-width: none;
    }
}

.recaptcha {margin-top:15px;}

/*POPUP*/
.popup_div {
    display: none;
}
.overlay {
    background: rgb(0, 0, 0, 0.8);
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup {
    background-color: #fff;
    overflow-y: auto;
    max-height: 90vh;
    color: #707070;
}
.popup .b-header {
    position: relative;
}
.popup .close {
    float: right;
    font-size: 20px;
    margin: 10px 10px 0 0;
    font-weight: 700;
    width: 32px;
    height: 32px;
    text-align: center;
    background-color: #fff;
    line-height: 32px;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 16px;
    z-index: 50;
}
.popup .close a {
    color: #333135;
}
.popup .close a:hover {
    opacity: 0.7;
}
.popup-content {
    /*padding:40px 40px 20px 40px;*/
    width: 625px;
}
.popup-content p {
    font-size: 18px;
    /*margin-bottom:15px;*/
    color: #707070;
}
.popup-content a:hover {
    opacity: 1;
}

@media screen and (max-width: 680px) {
    .popup {
        width: 90%;
    }
    .popup-content {
        width: 100%;
        /*padding:40px 20px 20px 20px;*/
    }
}
