/* =========================
   ESTILOS GENERALES
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    }
    
    body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f4f4f4;
    color:#333;
    line-height:1.6;
    }
    
    /* =========================
       HEADER
    ========================= */
    
    header{
    background:#2c3e50;
    color:white;
    padding:20px;
    text-align:center;
    }
    
    /* =========================
       NAVEGACIÓN
    ========================= */
    
    nav{
    background:#34495e;
    display:flex;
    justify-content:center;
    gap:20px;
    padding:12px;
    }
    
    nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
    }
    
    nav a:hover{
    color:#1abc9c;
    }
    
    /* =========================
       HERO / PORTADA
    ========================= */
    
    .hero{
    background-size:cover;
    background-position:center;
    height:400px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:white;
    text-align:center;
    }
    
    .hero h1{
    font-size:45px;
    margin-bottom:10px;
    }
    
    /* =========================
       SECCIONES
    ========================= */
    
    .section{
    padding:50px 20px;
    text-align:center;
    }
    
    /* =========================
       TARJETAS DE PROPIEDADES
    ========================= */
    
    .cards{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
    }
    
    .card{
    background:white;
    width:280px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
    }
    
    .card:hover{
    transform:translateY(-5px);
    }
    
    .card img{
    width:100%;
    height:180px;
    object-fit:cover;
    }
    
    .card h3{
    margin:10px;
    }
    
    .card p{
    padding:10px;
    }
    
    /* =========================
       RESEÑAS
    ========================= */
    
    .reviews{
    background:#ecf0f1;
    }
    
    .review{
    background:white;
    max-width:600px;
    margin:15px auto;
    padding:20px;
    border-radius:8px;
    box-shadow:0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* =========================
       FORMULARIO
    ========================= */
    
    form{
    max-width:500px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:12px;
    }
    
    input,
    textarea{
    padding:10px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size:15px;
    }
    
    textarea{
    resize:vertical;
    height:120px;
    }
    
    button{
    padding:12px;
    border:none;
    background:#27ae60;
    color:white;
    font-size:16px;
    border-radius:6px;
    cursor:pointer;
    transition:0.3s;
    }
    
    button:hover{
    background:#1e8e4f;
    }
    
    /* =========================
       FOOTER
    ========================= */
    
    footer{
    background:#2c3e50;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:40px;
    }
    
    /* =========================
       BOTÓN WHATSAPP
    ========================= */
    
    .whatsapp{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#25D366;
    color:white;
    font-size:30px;
    padding:15px;
    border-radius:50%;
    text-decoration:none;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    transition:0.3s;
    }
    
    .whatsapp:hover{
    background:#1ebe5d;
    }
    
    /* =========================
       RESPONSIVE
    ========================= */
    
    @media (max-width:768px){
    
    nav{
    flex-direction:column;
    align-items:center;
    }
    
    .hero h1{
    font-size:30px;
    }
    
    .cards{
    flex-direction:column;
    align-items:center;
    }
    
    }