/* === single-propiedad.css === */

body {
    background: #f8f9fa;
    font-family: 'Segoe UI', sans-serif;
}

.property-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.property-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 100vh;
}

.property-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.property-title-box {
    margin-top: 1.5rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.property-title-box h1 {
    font-size: 2rem;
    margin: 0;
    color: #7B1E3A;
}

.property-meta {
    color: #777;
    font-size: 14px;
}

.property-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.property-box {
    flex: 1 1 250px;
    background: #f0f1f2;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.property-box small {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.property-box div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 15px;
    color: #333;
}

.property-box i {
    font-size: 20px;
    color: #00695C;
}

.property-price {
    font-size: 26px;
    font-weight: bold;
    color: #D4AC0D;
    margin-top: 1rem;
}

.property-gallery {
    margin-top: 2rem;
}

.property-gallery h2 {
    font-size: 18px;
    margin-bottom: 1rem;
    color: #7B1E3A;
}

.property-gallery .images {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.property-gallery .images a {
    display: block;
    width: calc(25% - 12px);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.property-gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.property-description h2 {
    margin-top: 2rem;
    color: #7B1E3A;
    font-size: 20px;
}

.property-description ul {
    list-style: disc;
    margin-left: 1.5rem;
    color: #444;
    font-size: 15px;
}

.galeria-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1rem;
}

.galeria-item {
    width: 23%;
    min-width: 180px;
    border-radius: 8px;
    overflow: hidden;
}

.galeria-item img {
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

@media (max-width: 768px) {
    .property-box,
    .galeria-item {
        width: 100%;
    }

    .property-gallery .images a {
        width: 48%;
    }
}
.form-buttons {
    margin-top: 1rem;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-buttons .btn-contactar {
    flex: 1;
    background: #193146;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
}

.form-buttons .btn-llamar {
    flex: 1;
    background: #7B1E3A;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
}

.form-buttons .btn-whatsapp {
    flex: 1;
    background: #3b7a4e;
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
}
