:root {
    --primary: #1a1a1a;
    --secondary: #c5a059; /* Tono dorado/elegante */
    --light: #f4f4f4;
    --white: #ffffff;
    --text-gray: #555;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    background-color: var(--light);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

a { text-decoration: none; }

/* --- Header --- */
header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.brand span { color: var(--secondary); }

.nav-socials a {
    margin-left: 15px;
    color: var(--primary);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-socials a:hover { color: var(--secondary); }

/* --- Hero Section --- */
.hero {
    /* Asegúrate que la imagen ne2.jpg esté en la carpeta */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('ne2.jpg'); 
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn:hover { background: #b08d4b; }

/* --- Property Sections --- */
.property-section {
    padding: 4rem 5%;
    background: var(--white);
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title .divider {
    width: 80px;
    height: 3px;
    background: var(--secondary);
    margin: 0 auto;
}

/* --- Layout: Grid for Mix of content --- */
.listing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Gallery Styling for Miramar */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-grid img:first-child {
    grid-column: span 2;
    height: 350px;
}

.gallery-grid img:hover { transform: scale(1.02); }

/* Video Styling for San Cristobal */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px; 
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

video {
    width: 100%;
    height: auto;
    display: block;
}

/* Details Styling */
.details-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: var(--secondary);
    margin-right: 10px;
    width: 20px;
}

.badge {
    background: #eee;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
}

/* --- Profile Section --- */
.agent-section {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 5%;
    text-align: center;
}

.agent-card {
    max-width: 600px;
    margin: 0 auto;
}

.agent-card h2 { margin-bottom: 1rem; color: var(--secondary); }
.agent-links a {
    color: var(--white);
    font-size: 2rem;
    margin: 0 15px;
    transition: transform 0.3s;
    text-decoration: none;
}
.agent-links a:hover { transform: translateY(-5px); color: var(--secondary); }

/* --- Footer --- */
footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* --- Floating WA Button --- */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: transform 0.3s;
    text-decoration: none;
}

.float-wa:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 768px) {
    .listing-container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .gallery-grid img { height: 200px; }
    .gallery-grid img:first-child { height: 250px; }
    .video-wrapper { max-width: 100%; }
}