:root {
    --red: #e5092f;
    --red-dark: #ba061f;
    --black: #171717;
    --gray: #666;
    --light-gray: #f5f5f5;
    --border: #e6e6e6;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--black);
    background: var(--white);
    font-family: "Montserrat", Arial, sans-serif;
    overflow-x: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 84px;
    padding: 12px clamp(24px, 5vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.94);
    border-top: 4px solid var(--red);
    box-shadow: 0 5px 28px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
}

.brand {
    width: min(310px, 58vw);
}

.brand img {
    width: 100%;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.menu-button {
    width: 44px;
    height: 44px;
    padding: 10px;
    display: grid;
    place-content: center;
    gap: 5px;
    color: var(--red);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 3px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-button.active span:nth-child(2) {
    opacity: 0;
}

.menu-button.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: clamp(20px, 5vw, 72px);
    width: min(300px, calc(100vw - 40px));
    padding: 14px;
    display: grid;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: 0.25s ease;
}

.main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav a {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.main-nav a:hover {
    color: var(--white);
    background: var(--red);
}

.hero {
    position: relative;
    min-height: 760px;
    padding: 150px 24px 90px;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, rgba(229, 9, 47, 0.06), transparent 35%),
        linear-gradient(180deg, #fff 0%, #fdfdfd 100%);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -3;
    inset: auto 0 0;
    height: 240px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.025));
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(560px, 92vw);
    text-align: center;
}

.hero-logo {
    width: 100%;
    mix-blend-mode: multiply;
}

.hero-accent {
    width: 72px;
    height: 3px;
    margin: 24px auto 18px;
    display: block;
    background: var(--red);
}

.rif {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 800;
}

.scroll-button {
    width: 48px;
    height: 48px;
    margin: 58px auto 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.scroll-button:hover {
    background: rgba(229, 9, 47, 0.08);
}

.scroll-button span {
    width: 17px;
    height: 17px;
    border-right: 3px solid var(--red);
    border-bottom: 3px solid var(--red);
    transform: rotate(45deg) translate(-3px, -3px);
    animation: bounce 1.4s infinite;
}

.hero-building {
    position: absolute;
    z-index: -2;
    bottom: -40px;
    width: 360px;
    height: 440px;
    opacity: 0.08;
    border: 2px solid #444;
    background:
        repeating-linear-gradient(90deg, transparent 0 42px, rgba(0,0,0,.35) 43px 45px),
        repeating-linear-gradient(0deg, transparent 0 54px, rgba(0,0,0,.35) 55px 57px);
    transform: skewY(-8deg);
}

.hero-building-left {
    left: -100px;
    clip-path: polygon(0 25%, 65% 0, 100% 17%, 100% 100%, 0 100%);
}

.hero-building-right {
    right: -105px;
    height: 370px;
    clip-path: polygon(0 20%, 60% 0, 100% 16%, 100% 100%, 0 100%);
    transform: skewY(8deg);
}

.hero-lines {
    position: absolute;
    z-index: -1;
    width: 760px;
    height: 300px;
    border: 2px solid rgba(229, 9, 47, 0.14);
    border-radius: 50%;
    filter: drop-shadow(0 18px 0 rgba(229, 9, 47, 0.08))
            drop-shadow(0 36px 0 rgba(229, 9, 47, 0.06))
            drop-shadow(0 54px 0 rgba(229, 9, 47, 0.04));
}

.hero-lines-one {
    left: -420px;
    bottom: 110px;
    transform: rotate(8deg);
}

.hero-lines-two {
    right: -460px;
    top: 260px;
    transform: rotate(-18deg);
}

.section {
    padding: clamp(78px, 9vw, 120px) clamp(24px, 7vw, 100px);
}

.section-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(45px, 7vw, 95px);
    align-items: center;
}

.section-kicker {
    position: relative;
    width: fit-content;
    margin: 0 0 24px;
    color: var(--red);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.section-kicker::after {
    content: "";
    width: 48px;
    height: 2px;
    margin-top: 9px;
    display: block;
    background: var(--red);
}

.section-kicker.centered {
    margin-inline: auto;
    text-align: center;
}

.section-kicker.centered::after {
    margin-inline: auto;
}

h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
}

h2 span {
    color: var(--red);
}

.feature-list {
    margin: 38px 0 0;
    padding: 0;
    display: grid;
    gap: 25px;
    list-style: none;
}

.feature-list li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 15px;
    align-items: start;
}

.feature-list p {
    margin: 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.75;
}

.check-icon {
    width: 22px;
    height: 22px;
    margin-top: 3px;
    display: grid;
    place-items: center;
    color: var(--red);
    border: 2px solid var(--red);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 900;
}

.property-visual {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
}

.house-card {
    position: relative;
    z-index: 3;
    width: min(100%, 560px);
    aspect-ratio: 1.22;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    background: linear-gradient(145deg, #d9e1e4, #fafafa);
}

.house-sky {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #d2d8da 0 45%, #a4a6a5 45% 100%);
}

.house-structure {
    position: absolute;
    inset: 16% 6% 10%;
}

.house-volume {
    position: absolute;
    bottom: 15%;
    background: #f8f8f5;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.house-volume-left {
    left: 4%;
    width: 52%;
    height: 58%;
}

.house-volume-right {
    right: 4%;
    width: 48%;
    height: 78%;
    background: #2b2b2d;
}

.house-window {
    position: absolute;
    z-index: 2;
    background:
        linear-gradient(90deg, transparent 46%, rgba(255,255,255,.65) 47% 52%, transparent 53%),
        linear-gradient(180deg, rgba(15,15,15,.9), rgba(92,68,51,.75));
    border: 4px solid #242424;
}

.window-one {
    left: 10%;
    top: 31%;
    width: 35%;
    height: 28%;
}

.window-two {
    right: 10%;
    top: 18%;
    width: 31%;
    height: 31%;
}

.window-three {
    right: 12%;
    bottom: 20%;
    width: 30%;
    height: 24%;
}

.house-door {
    position: absolute;
    z-index: 3;
    left: 44%;
    bottom: 15%;
    width: 12%;
    height: 33%;
    background: #282525;
}

.house-canopy {
    position: absolute;
    z-index: 4;
    left: 2%;
    bottom: 40%;
    width: 62%;
    height: 7%;
    background: #1c1c1d;
    transform: skewX(-18deg);
}

.house-ground {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 6%;
    height: 12%;
    background:
        repeating-linear-gradient(165deg, #494949 0 18px, #5a5a5a 19px 25px);
}

.shape {
    position: absolute;
    border-radius: 12px;
}

.shape-red {
    z-index: 1;
    top: 5%;
    left: 3%;
    width: 90px;
    height: 95px;
    background: var(--red);
}

.shape-black {
    z-index: 4;
    right: 1%;
    bottom: 2%;
    width: 85px;
    height: 90px;
    background: var(--black);
}

.dot-pattern {
    position: absolute;
    z-index: 5;
    top: 2%;
    right: 0;
    width: 90px;
    height: 70px;
    opacity: 0.85;
    background-image: radial-gradient(var(--red) 2px, transparent 2px);
    background-size: 14px 14px;
}

.social {
    background:
        linear-gradient(180deg, rgba(0,0,0,.015), rgba(0,0,0,.035)),
        #fff;
}

.section-heading {
    width: min(920px, 100%);
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(1.7rem, 3.1vw, 2.8rem);
}

.social-grid {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.social-card {
    position: relative;
    min-height: 245px;
    padding: 32px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 15px 28px rgba(0,0,0,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.social-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 7px;
    background: var(--red);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 38px rgba(0,0,0,.13);
}

.social-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.social-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #ff3040, #d6249f);
}

.social-icon.tiktok {
    background: #080808;
}

.social-icon.facebook {
    background: #4267b2;
}

.social-icon.facebook svg {
    fill: currentColor;
    stroke: none;
}

.social-card strong {
    font-size: 1.25rem;
}

.card-line {
    width: 44px;
    height: 2px;
    margin: 15px 0;
    background: var(--red);
}

.social-card small {
    color: var(--gray);
    font-size: 0.94rem;
}

.contact {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    isolation: isolate;
}

.contact .section-heading {
    position: relative;
    z-index: 3;
}

.contact-card {
    position: relative;
    z-index: 3;
    width: min(690px, 100%);
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: 128px 1fr;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform .25s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
}

.whatsapp-box {
    min-height: 130px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--red);
}

.whatsapp-box svg,
.floating-whatsapp svg {
    width: 56px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-text {
    padding: 25px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-text strong {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.contact-text small {
    margin-top: 8px;
    color: var(--gray);
    font-size: 1rem;
}

.city-silhouette {
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    height: 210px;
    opacity: 0.07;
    background:
        linear-gradient(90deg,
            transparent 0 4%,
            #111 4% 7%,
            transparent 7% 10%,
            #111 10% 14%,
            transparent 14% 18%,
            #111 18% 22%,
            transparent 22% 31%,
            #111 31% 37%,
            transparent 37% 45%,
            #111 45% 49%,
            transparent 49% 57%,
            #111 57% 64%,
            transparent 64% 70%,
            #111 70% 77%,
            transparent 77% 83%,
            #111 83% 88%,
            transparent 88% 92%,
            #111 92% 96%,
            transparent 96%);
    clip-path: polygon(
        0 100%, 0 70%, 4% 70%, 4% 35%, 7% 28%, 7% 75%, 10% 75%, 10% 50%,
        14% 40%, 14% 82%, 18% 82%, 18% 25%, 22% 14%, 22% 78%, 31% 78%, 31% 48%,
        37% 40%, 37% 80%, 45% 80%, 45% 24%, 49% 16%, 49% 74%, 57% 74%, 57% 42%,
        64% 30%, 64% 80%, 70% 80%, 70% 18%, 77% 8%, 77% 77%, 83% 77%, 83% 35%,
        88% 28%, 88% 80%, 92% 80%, 92% 20%, 96% 10%, 96% 72%, 100% 72%, 100% 100%
    );
}

footer {
    padding: 25px;
    color: #ddd;
    background: #080808;
    text-align: center;
    font-size: 0.88rem;
}

footer p {
    margin: 0;
}

.floating-whatsapp {
    position: fixed;
    z-index: 999;
    right: 24px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(229,9,47,.35);
    transition: transform .2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}

.floating-whatsapp svg {
    width: 33px;
}

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes bounce {
    0%, 100% {
        transform: rotate(45deg) translate(-3px, -3px);
    }
    50% {
        transform: rotate(45deg) translate(3px, 3px);
    }
}

@media (min-width: 980px) {
    .menu-button {
        display: none;
    }

    .main-nav {
        position: static;
        width: auto;
        padding: 0;
        display: flex;
        gap: 3px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
    }

    .main-nav a {
        padding: 11px 14px;
    }
}

@media (max-width: 900px) {
    .section-grid {
        grid-template-columns: 1fr;
    }

    .property-visual {
        min-height: 420px;
    }

    .social-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .social-card {
        min-height: 210px;
    }
}

@media (max-width: 620px) {
    .site-header {
        min-height: 74px;
        padding: 8px 18px;
    }

    .brand {
        width: 230px;
    }

    .brand img {
        height: 50px;
    }

    .hero {
        min-height: 680px;
        padding-top: 130px;
    }

    .hero-logo {
        width: 95%;
        margin-inline: auto;
    }

    .section {
        padding-inline: 20px;
    }

    .property-visual {
        min-height: 330px;
    }

    .shape-red {
        width: 60px;
        height: 65px;
    }

    .shape-black {
        width: 58px;
        height: 63px;
    }

    .contact-card {
        grid-template-columns: 86px 1fr;
    }

    .whatsapp-box {
        min-height: 104px;
    }

    .whatsapp-box svg {
        width: 42px;
    }

    .contact-text {
        padding: 18px 20px;
    }

    .contact-text strong {
        font-size: 1.25rem;
    }

    .floating-whatsapp {
        right: 16px;
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}