﻿.property-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

/* Header */
.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    gap: 20px;
}

.status-badge {
    background: #ee7103;
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
}

.property-header h1 {
    color: #003163;
    font-size: 2.2rem;
    margin: 10px 0;
    line-height: 1.1;
}

.location {
    color: #5a6b7a;
}

.header-price {
    text-align: right;
}

.price-label {
    display: block;
    color: #5a6b7a;
    font-size: 0.9rem;
}

.price-value {
    color: #ee7103;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 6px 0 0;
}

/* Galería */
.property-gallery {
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.swiper, .swiper-wrapper, .swiper-slide {
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid de detalles */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.quick-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.spec-item {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.spec-item i {
    color: #004280;
    font-size: 1.5rem;
}

.spec-item span {
    display: block;
    font-size: 0.8rem;
    color: #666;
}

.spec-item strong {
    font-size: 1.1rem;
    color: #003163;
}

/* Descripción */
.description-box h3, .technical-table h3 {
    color: #003163;
    border-bottom: 2px solid #ee7103;
    display: inline-block;
    margin-bottom: 18px;
    padding-bottom: 6px;
}

.description-box p {
    color: #444;
    line-height: 1.85;
    margin-bottom: 15px;
}

/* Tabla */
.table-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.t-row {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.t-row span {
    color: #667;
    font-size: 0.9rem;
}

.t-row strong {
    color: #003163;
}

/* Clases para animación (GSAP las usará) */
.reveal, .spec-reveal {
    will-change: transform, opacity;
}

/* Responsive */
@media (max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .property-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-price {
        text-align: left;
    }

    .quick-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-gallery {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .quick-specs {
        grid-template-columns: 1fr;
    }

    .property-header h1 {
        font-size: 1.65rem;
    }

    .price-value {
        font-size: 2.1rem;
    }

    .property-gallery {
        height: 320px;
        border-radius: 16px;
    }
}
