/* ═══════════════════════════════════════════════════════════
   Altura — category.css
   ═══════════════════════════════════════════════════════════ */

.properties-page {
    background: var(--altura-primary);
    color: var(--altura-white);
    overflow: hidden;
}

.properties-hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 780px;
    background: var(--altura-primary);
}

.properties-container {
    width: min(1120px, calc(100% - 110px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cat-back {
    display: inline-block;
    font-family: 'Cousine', monospace;
    font-size: 23px;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    letter-spacing: .05em;
    margin-bottom: 24px;
    transition: color var(--altura-transition);
}
.cat-back:hover { color: var(--altura-white); }

.properties-hero h1 {
    font-family: 'Cousine', monospace;
    font-size: 96px;
    line-height: 96px;
    font-weight: 400;
    margin: 0 0 115px;
}

/* ── Shapes ── */
.properties-shape {
    position: absolute;
    background: var(--altura-secondary);
    opacity: .9;
    z-index: 1;
}
.properties-shape-1 { width: 380px; height: 155px; left: 0; top: 355px; }
.properties-shape-2 { width: 315px; height: 155px; left: 50%; top: 157px; transform: translateX(-22%); }
.properties-shape-3 { width: 315px; height: 155px; right: -170px; top: 212px; }

/* ── Grid ── */
.available-grid {
    display: grid;
    grid-template-columns: repeat(3, 330px);
    gap: 70px;
    align-items: start;
    overflow: visible;
}

.property-card {
    display: block;
    width: 330px;
    height: auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 250ms ease-out;
}
.property-card:hover { transform: translateY(-5px); z-index: 20; }

.property-image { width: 100%; height: auto; position: relative; z-index: 1; }
.property-image img,
.property-card img { width: 100%; height: auto; object-fit: fill; display: block; }

.property-title {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: var(--altura-brown-soft);
    color: var(--altura-white);
    font-family: 'TikTokSans', sans-serif;
    font-size: 22px;
    line-height: 22px;
    font-weight: 600;
    padding: 12px 14px 10px;
    z-index: 3;
    transition: opacity 250ms ease-out;
}
.property-card:hover .property-title { opacity: 0; }

.property-hover {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: var(--altura-brown-soft);
    color: var(--altura-white);
    font-family: 'Cousine', monospace;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 250ms ease-out;
    clip-path: polygon(0% 25%, 7% 25%, 7% 0%, 82.5% 0%, 82.5% 64%, 100% 64%, 100% 100%, 0% 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.property-card:hover .property-hover { opacity: 1; }

.property-hover-main {
    flex: 1;
    background: var(--altura-brown-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.property-hover-main h3 {
    font-family: 'TikTokSans', sans-serif;
    font-size: 30px;
    line-height: 30px;
    font-weight: 400;
    margin: 25px 65px 0;
}
.property-hover-main p {
    font-size: 15px;
    line-height: 20px;
    margin: 0;
    padding: 0 18px 10px;
}
.property-hover-price {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: linear-gradient(90deg, #DBB458 0%, rgba(119,88,72,.52) 100%);
    font-size: 22px;
    line-height: 22px;
    font-weight: 700;
}
.property-hover-note {
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 0 0 18px;
    color: var(--altura-black);
    background: var(--altura-light);
    font-size: 14px;
    line-height: 14px;
}

/* ── Soon ── */
.properties-soon {
    font-family: 'Cousine', monospace;
    font-size: 43px;
    line-height: 50px;
    font-weight: 400;
    margin-top: 105px;
}

.cat-empty {
    font-family: 'Cousine', monospace;
    font-size: 67px;
    opacity: 1;
    padding: 80px 0;
}

/* ── Responsive 1200px ── */
@media (max-width: 1200px) {
    .properties-container { width: calc(100% - 70px); }
    .available-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
    .property-card { width: 100%; }
}

/* ── Responsive 767px ── */
@media (max-width: 767px) {
    .properties-hero { padding: 95px 0 55px; min-height: auto; }
    .properties-container { width: calc(100% - 44px); }
    .properties-hero h1 { font-size: 52px; line-height: 52px; margin-bottom: 70px; }
    .properties-shape-1 { width: 170px; height: 75px; top: 245px; left: -55px; }
    .properties-shape-2 { width: 170px; height: 75px; top: 135px; left: 48%; }
    .properties-shape-3 { width: 170px; height: 75px; top: 190px; right: -100px; }
    .properties-soon { font-size: 29px; line-height: 34px; margin-top: 65px; }
	.available-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .property-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .property-card:active .property-title { opacity: 0; }
    .property-card:active .property-hover { opacity: 1; }
    .property-hover-main {
        height: auto;
        padding: 20px 45px 16px;
    }
    .property-hover-main h3 {
        font-size: clamp(20px, 5vw, 30px);
        line-height: 1.2;
        margin: 0 0 12px;
    }
    .property-hover-main p { font-size: 13px; line-height: 1.5; }
    .property-hover-price { font-size: clamp(16px, 4vw, 22px); }

}