/* ------------------------------
   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 PREMIUM NEGRO + DORADO
--------------------------------*/
.header {
    background: #000; /* negro profundo */
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid rgba(201,168,106,0.45); /* dorado suave */
    position: relative;
}

/* Logo redondeado */
.logo-wrapper {
    display: inline-block;
    border-radius: 18px;
    overflow: hidden;
}

.logo-header {
    width: 140px;
    margin-bottom: 10px;
    border-radius: 18px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Efecto de luz dorada */
.logo-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,215,0,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
}

.logo-header:hover::before {
    animation: shine 1.5s ease forwards;
}

@keyframes shine {
    0% { left: -75%; }
    100% { left: 125%; }
}

/* Título */
.header-title {
    font-size: 1.6rem;
    font-weight: bold;
    color: #f5d98c; /* dorado claro */
    text-shadow: 0 0 8px rgba(201,168,106,0.4);
}

/* Menú */
.header-nav {
    margin-top: 15px;
}

.header-nav a {
    text-decoration: none;
    margin: 0 15px;
    color: #f5d98c;
    font-weight: bold;
    transition: 0.3s;
}

.header-nav a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,215,0,0.7);
}

/* Switch de idioma */
.lang-switch {
    position: absolute;
    top: 20px;
    right: 30px;
    font-weight: bold;
    font-size: 1rem;
    z-index: 999;
}

.lang-switch a {
    color: #f5d98c;
    text-decoration: none;
    margin: 0 5px;
    transition: 0.2s;
}

.lang-switch a:hover {
    color: white;
}

/* ------------------------------
   CONTENEDOR GENERAL
--------------------------------*/
.container {
    width: 90%;
    max-width: 1100px;
    margin: 30px auto;
}

/* ------------------------------
   BROCHURE GRID
--------------------------------*/
.brochure-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.brochure-grid img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
    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);
}

.brochure-img {
    cursor: pointer;
}

/* ------------------------------
   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%;
    height: 220px;
    object-fit: cover;
    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 COMPLETO
--------------------------------*/
@media (max-width: 768px) {

    /* Header más compacto */
    .header {
        padding: 8px 12px;
    }

    .logo-wrapper {
        width: 75px;
    }

    .logo-header {
        width: 75px;
        margin-bottom: 4px;
    }

    .header-title {
        font-size: 0.95rem;
        line-height: 1.15;
        margin-top: 4px;
        padding: 0 5px;
        color: #f5d98c;
    }

    .header-nav {
        margin-top: 6px;
    }

    .header-nav a {
        font-size: 0.8rem;
        margin: 0 5px;
    }

    .lang-switch {
        top: 6px;
        right: 6px;
        font-size: 0.75rem;
    }

    /* Brochure */
    .brochure-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .brochure-grid img {
        height: auto;
        max-height: 350px;
    }

    /* Beneficios */
    .beneficios-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .beneficio-item {
        padding: 15px;
    }

    /* Ubicación */
    .landing-address h3 {
        font-size: 1.3rem;
    }

    .landing-address p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 15px;
        font-size: 1rem;
    }

    /* Lotes */
    .lotes-grid {
        grid-template-columns: 1fr !important;
    }

    .lote-img {
        height: 200px;
    }

    /* Modal */
    .modal-content-lote {
        width: 95%;
        padding: 10px;
    }

    .modal-img {
        max-height: 75vh;
    }

    .modal-close {
        font-size: 1.8rem;
        top: 5px;
        right: 10px;
    }
}
