* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: #0f0f0f;
    color: #ffffff;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   HEADER
   ========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav a {
    margin-left: 32px;
}

/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    height: 80vh;
    padding-top: 140px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%,
            rgba(255, 255, 255, 0.08),
            transparent 60%);
    pointer-events: none;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    /* display: none; */
}

.hero h1 {
    font-size: 72px;
    line-height: 1;
    margin: 0 0 20px;
}

.hero p {
    font-size: 18px;
    opacity: 0.8;
}

/* =========================
   PARALLAX HOUSE
   ========================= */
.hero-house {
    position: absolute;
    z-index: 1;
    bottom: -65%;
    right: -5%;
    width: 1100px;
    height: 1400px;
    background: url("/img/house.png") center / contain no-repeat;
    will-change: transform;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.6));
}

/* =========================
   CONTENT
   ========================= */
.content {
    padding: 200px 0;
    background: #ffffff;
    color: #000000;
    z-index: 5;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    padding: 80px 0;
    background: #111111;
    color: #ffffff;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

html,
body {
    overflow-x: visible !important;
}

.rcx-livechat,
.rcx-livechat *,
#rocketchat-livechat {
    box-sizing: content-box !important;
}

.rcx-livechat {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    left: auto !important;
    z-index: 999999 !important;
}


/* =========================
   TABLET ≤ 1024px
   ========================= */
@media (max-width: 1024px) {

    .hero {
        height: 75vh;
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 56px;
    }

    .hero-house {
        width: 1050px;
        height: 1100px;
        bottom: -65%;
        right: -10%;
    }

    .logo img {
        height: 80px;
    }
}

/* =========================
   MOBILE ≤ 768px
   ========================= */
@media (max-width: 768px) {

    .header {
        height: 64px;
    }

    .hero {
        height: 70vh;
        padding-top: 100px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 40px;
        line-height: 1.05;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-house {
        width: 1000px;
        height: 900px;
        bottom: -60%;
        right: -25%;
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    }

    .content {
        padding: 120px 0;
    }

    .logo img {
        height: 64px;
    }

    .nav {
        display: none;
        /* пока без мобильного меню */
    }
}

/* =========================
   SMALL MOBILE ≤ 480px
   ========================= */
@media (max-width: 480px) {

    .hero {
        height: 65vh;
        padding-top: 90px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-house {
        width: 950px;
        height: 700px;
        bottom: -35%;
        right: -40%;
    }

    .content {
        padding: 100px 0;
    }

    .logo img {
        height: 56px;
    }
}