﻿/* ------------------------------
   RESET BÁSICO
--------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    color: #333;
    line-height: 1.5;
}

/* ------------------------------
   HEADER
--------------------------------*/
.header {
    background: #008f39;
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #006b2b;
    transition: background .3s ease;
}

.logo-header {
    width: 140px;
    margin-bottom: 10px;
}

.header-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: white;
}

.header-nav {
    margin-top: 15px;
}

.header-nav a {
    text-decoration: none;
    margin: 0 15px;
    color: white;
    font-weight: bold;
}

.header-nav a:hover {
    color: #d4ffd4;
}

/* ------------------------------
   CONTENEDOR GENERAL
--------------------------------*/
.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
}

/* ------------------------------
   GRID DEL BROCHURE
--------------------------------*/
.brochure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.brochure-grid img {
    width: 100%;
    border-radius: 10px;
    background: white;
    transition: transform .2s ease, box-shadow .2s ease;
}

.brochure-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ------------------------------
   BENEFICIOS
--------------------------------*/
.beneficios-impacto h2 {
    text-align: center;
    margin-bottom: 20px;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.beneficio-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ddd;
    transition: transform .2s ease, box-shadow .2s ease;
}

.beneficio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.beneficio-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

/* ------------------------------
   UBICACIÓN
--------------------------------*/
.landing-address {
    text-align: center;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    background: #0088cc;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 10px;
}

.btn:hover {
    background: #006fa3;
}

/* ------------------------------
   LOTES GRID
--------------------------------*/
.lotes-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px;
    margin-top: 30px;
}

.lote-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    text-align: center;
    transition: transform .2s;
}

.lote-card:hover {
    transform: translateY(-5px);
}

.lote-img-wrapper {
    position: relative;
}

.lote-img {
    width: 100%;
    border-radius: 8px;
}

.lote-status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: white;
}

.disponible {
    background: #28a745;
}

.vendido {
    background: #d9534f;
}

/* ------------------------------
   BOTÓN VER
--------------------------------*/
.btn-ver {
    margin-top: 10px;
    background: #444;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-ver:hover {
    background: #222;
}

/* ------------------------------
   MODAL
--------------------------------*/
.modal-lote {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content-lote {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
}

.modal-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    cursor: pointer;
}

/* ------------------------------
   CONTACTO
--------------------------------*/
.contacto-hero {
    text-align: center;
    margin-bottom: 30px;
}

.contacto-buttons a {
    display: block;
    margin: 10px 0;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
}

.btn-whatsapp {
    background: #25D366;
}

.btn-email {
    background: #444;
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #eee;
    color: #444;
}

/* ------------------------------
   RESPONSIVE GRID LOTES
--------------------------------*/

/* Laptop – 3 columnas */
@media (max-width: 1100px) {
    .lotes-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Tablet – 2 columnas */
@media (max-width: 900px) {
    .lotes-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Celular – 1 columna */
@media (max-width: 600px) {
    .lotes-grid {
        grid-template-columns: 1fr !important;
    }
}
