/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis,
html.lenis body {
    height: auto;
}

@font-face {
    font-family: 'PP Neue Montreal';
    src: url('../fonts/PPNeueMontreal-Regular.woff2') format('woff2'),
        url('../fonts/PPNeueMontreal-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'PP Neue Montreal', sans-serif;
    background: #706a73;
    color: #f2f2f2;
    overflow-x: hidden;
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

/* ===== LAYOUT ===== */
.grid-container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 24px;
}

body:not(.home) .site-header {
    background-color: #706a73;
}

@media (max-width: 767px) {
    .site-header {
        padding: 10px 0px;
    }
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 95%;
}

.header-left {
    display: flex;
    align-items: center;
    transform: translateY(0vh);
    overflow: hidden;
    overflow: clip;
}

.header-nav {
    transform: translateY(0vh);
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border: 1px solid currentColor;
    border-radius: 3px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lang-switch:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .header-nav {
        display: grid;
    }
}

@media (min-width: 1024px) {
    .home .header-left {
        transform: translateY(50vh);
    }

    .home .header-nav {
        transform: translateY(50vh);
    }
}

.header-left a {
    display: flex;
    align-items: center;
}

.header-logo {
    width: 24px;
    height: auto;
}

@media (max-width: 767px) {
    .header-logo {
        width: 20px;
    }
}

.header-wordmark {
    width: 54px;
    height: auto;
    margin-left: 10px;
    margin-bottom: 4px;
}

@media (max-width: 767px) {
    .header-wordmark {
        width: 40px;
        margin-left: 5px;
        margin-right: 12px;
    }
}

.header-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-left: 20px;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .header-subtitle {
        font-size: 10px;
        margin-left: 5px;
    }
}

@media (min-width: 1024px) {
    .header-subtitle {
        margin-left: 5px;
    }

    .header-subtitle img {
        width: 200px;
    }
}

.underline-link {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    position: relative;
    display: inline-block;
}

@media (max-width: 767px) {
    .underline-link {
        font-size: 10px;
    }
}

.underline-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform .5s cubic-bezier(.25, 1, .5, 1);
}

.underline-link:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

@media (min-width: 1024px) {
    .header-logo {
        width: 39px;
    }

    .header-wordmark {
        width: 54px;
    }

    .header-subtitle {
        font-size: 16px;
    }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
}

.hero-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
}

/* Logo overlay */
.hero-logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.hero-logo-icon {
    position: relative;
    --x: 0;
    --y: 0;
    --main-scale: 1;
    --add-scale: 0;
    transform: translate(var(--x), var(--y)) scale(calc(var(--main-scale) + var(--add-scale)));
    z-index: 2;
}

.hero-logo-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transform: scale(.9);
    opacity: 0;
}

.hero-logo-icon svg {
    position: relative;
    width: 30vw;
    max-width: 100px;
}

.hero-logo-text {
    overflow: hidden;
}

.hero-logo-text svg {
    width: 20vw;
    max-width: 80px;
    margin-top: 2.3vw;
}

@media (min-width: 1024px) {
    .hero-logo-icon svg {
        width: 8.5vw;
        max-width: none;
    }

    .hero-logo-text svg {
        width: 5vw;
        max-width: none;
        margin-top: .5vw;
    }
}

/* Scroll hint */
.scroll-hint {
    position: fixed;
    bottom: 40px;
    width: 100%;
    text-align: center;
    z-index: 3;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    pointer-events: none;
}

.scroll-hint-text {
    display: inline-block;
}

/* Intro text */
.intro-text {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    font-size: 12.5px;
    line-height: 20px;
}

@media (min-width: 1024px) {
    .intro-text {
        font-size: 16px;
        line-height: 24px;
        width: 50%;
    }
}

.intro-text-content {
    max-width: 380px;
    text-align: center;
}

.intro-text-content p {
    margin-bottom: 24px;
    text-wrap: pretty;
}

.intro-text-content p:last-child {
    margin-bottom: 0;
}

/* Intro images */
.intro-images {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 5;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .intro-images {
        width: 50%;
        left: auto;
    }
}

.intro-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0e0e0e;
}

.intro-img:nth-child(1) {
    z-index: 3;
}

.intro-img:nth-child(2) {
    z-index: 1;
    visibility: hidden;
}

.intro-img:nth-child(3) {
    z-index: 1;
    visibility: hidden;
}

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

/* Color overlay for transitions */
.intro-color {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #0e0e0e;
    z-index: 999;
    pointer-events: none;
}

/* Hero titles */
.hero-titles {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 6;
    padding: 40px 12px 80px;
    color: #f5f0e8;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100vh;
}

.hero-titles h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-titles .text-big {
    font-size: 36px;
    line-height: 1;
    font-weight: 400;
}

@media (min-width: 1024px) {
    .hero-titles {
        padding: 60px 60px 100px;
        width: 45%;
        left: auto;
        right: 0;
    }

    .hero-titles h2 {
        font-size: 24px;
        margin-bottom: 60px;
    }

    .hero-titles .text-big {
        font-size: 50px;
    }
}

/* ===== SLIDESHOW ===== */
.slideshow {
    position: relative;
    z-index: 5;
    height: 100vh;
    margin-top: -100vh;
}

.slideshow-pin {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column-reverse;
    visibility: hidden;
    opacity: 0;
    z-index: 5;
}

.slideshow-images {
    position: relative;
    width: 100%;
    flex: 1;
    overflow: hidden;
    background: #0e0e0e;
}

@media (min-width: 1024px) {
    .slideshow-images {
        position: fixed;
        left: 0;
        top: 0;
        width: 50%;
        height: 100vh;
        flex: none;
        z-index: 5;
    }
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0e0e0e;
}

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

.slideshow-nav {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 20px 24px 40px;
}

@media (min-width: 1024px) {
    .slideshow-nav {
        position: fixed;
        right: 0;
        top: 0;
        width: 50%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 60px 40px;
        margin-left: auto;
        background: linear-gradient(to bottom, #00000000 0%, #191919 50%);
    }
}

.slide-btn {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 12px;
    letter-spacing: .04em;
    line-height: 1.5;
    padding: 16px 0;
    border-bottom: 1px solid rgba(242, 242, 242, .2);
    transition: color .3s;
    max-width: 456px;
    margin-inline: auto;
}

.slide-btn span {
    text-transform: uppercase;
}

.slide-btn.active,
.slide-btn:hover {
    color: #ffffc6;
}

@media (min-width: 1024px) {
    .slide-btn {
        font-size: 16px;
    }
}

/* ===== PROPERTIES ===== */
.properties {
    position: relative;
    z-index: 5;
    padding: 60px 0;
}

@media (min-width: 1024px) {
    .properties {
        padding: 60px 0 40px;
    }
}

@media (min-width: 1200px) {
    .properties {
        padding-top: 200px;
    }
}

.properties h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
}

@media (min-width: 1024px) {
    .properties h2 {
        font-size: 36px;
        margin-bottom: 60px;
    }
}

.properties li {
    font-size: 12px;
    letter-spacing: .04em;
    line-height: 1.2;
    padding: 16px 0;
    border-bottom: 1px solid rgba(242, 242, 242, .2);
    opacity: 0;
    transform: translateY(20px);
}

.properties li span {
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .properties li {
        font-size: 16px;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    z-index: 5;

}

.home .site-footer {
    padding: 80px 0 60px;
    margin-bottom: 30vh;
}

@media (min-width: 1024px) {
    .site-footer {}

    .home .site-footer {
        padding-top: 220px;
        margin-bottom: 50vh;
    }
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

@media (min-width: 1024px) {
    .footer-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;


}

.home .footer-col {
    opacity: 0;
    transform: translateY(30px);
}

@media (min-width: 1024px) {
    .footer-col {
        flex: 1;
    }
}

.footer-col h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 400;
}

@media (min-width: 1024px) {
    .footer-col h2 {
        font-size: 28px;
    }
}

.footer-col p {
    font-size: 14px;
    line-height: 1.5;
    padding: 15px 0;
    flex: 1;
}

@media (min-width: 1024px) {
    .footer-col p {
        font-size: 18px;
        line-height: 28px;
    }
}

.pact-logo {
    width: 109px;
    height: auto;
}

/* ═══════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════ */

.contact-hero {
    padding-top: 160px;
    padding-bottom: 40px;
}

.contact-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.contact-intro {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
}

.contact-form-section {
    padding-bottom: 80px;
}


.contact-form-section {
    .wpcf7-form {

        p {
            margin-bottom: 20px;
        }

        textarea {
            font-family: inherit;
            max-height: 100px;
        }

        .wpcf7-form-control {
            width: 100%;
            padding: 12px;
            border: 0;
            border-bottom: solid 2px #fff;
            background-color: transparent;
        }

        .wpcf7-submit {
            background-color: #5d4b9f;
            border: 0;
            transition: all 0.3s ease-in-out;
            color: #fff;
            text-transform: uppercase;
            cursor: pointer;

            &:hover {
                background-color: #270b5c;
            }
        }
    }

    @media (min-width: 1024px) {
        .wpcf7-form {
            max-width: 50%;
        }
    }

}