/* ========================================
   RESET Y ESTILOS GENERALES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* ========================================
   HEADER FLOTANTE
======================================== */
.header-flotante {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 40px;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-contacto {
    background-color: white;
    color: #2c5f8d;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-contacto:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.header-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: #2c5f8d;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: #1a4f7d;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    background-image: url('img/fondo-luna.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 100px 0 0;
    position: relative;
    overflow: hidden;
}

.pre-venta-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: white;
    color: #2c5f8d;
    font-size: 28px;
    font-weight: 800;
    font-style: italic;
    padding: 15px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    letter-spacing: 2px;
}

.hero-content {
    width: 100%;
    max-width: 1500px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    padding-bottom: 0;
}

.hero-edificio {
    height: 95vh;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom left;
    opacity: 0;
    animation: fadeInSlow 2s ease-in forwards;
}

@keyframes fadeInSlow {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-right {
    flex: 0 0 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0 60px 0;
}

.form-card {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.form-titulo {
    font-size: 32px;
    font-weight: 600;
    font-style: italic;
    color: white;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 1px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background-color: transparent;
    color: white;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 40px;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background-color: white;
    color: #2c5f8d;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-submit:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   SECCIÓN UBICACIÓN
======================================== */
.ubicacion-section {
    width: 100%;
    min-height: 100vh;
    background-image: url('img/fondo-azul.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
}

.ubicacion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.ubicacion-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    color: white;
}

.ubicacion-direccion {
    font-size: 22px;
    font-weight: 400;
    text-align: right;
    margin-bottom: 80px;
    letter-spacing: 2px;
}

.ubicacion-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.ubicacion-linea {
    width: 200px;
    height: 2px;
    background-color: white;
    margin-top: 10px;
    flex-shrink: 0;
}

.ubicacion-texto {
    flex: 1;
}

.ubicacion-titulo {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.ubicacion-parrafo {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.ubicacion-distrito {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-top: 60px;
    opacity: 0.5;
}

/* ========================================
   SECCIÓN CARACTERÍSTICAS
======================================== */
.caracteristicas-section {
    width: 100%;
    min-height: 100vh;
    background-color: #f5f5f5;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
}

.caracteristicas-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    gap: 0;
    align-items: stretch;
}

.caracteristicas-left {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
}

.caracteristicas-imagen-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.caracteristicas-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.caracteristicas-btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: white;
    color: #2c5f8d;
    border: none;
    padding: 15px 50px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.caracteristicas-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.caracteristicas-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 60px;
}

.caracteristicas-titulo {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

.caracteristicas-titulo .titulo-parte1 {
    color: #253F70;
}

.caracteristicas-titulo .titulo-parte2 {
    color: #5B6F94;
}

.caracteristicas-linea {
    width: 200px;
    height: 2px;
    background-color: #253F70;
    margin-bottom: 60px;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 500px;
}

.caracteristica-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.caracteristica-circulo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #5B6F94;
    border: 4px solid white;
    box-shadow: 0 0 0 3px #253F70;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.caracteristica-circulo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(44, 95, 141, 0.3);
}

.caracteristica-texto {
    font-size: 20px;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

/* ========================================
   ÁREAS COMUNES
======================================== */
.areas-comunes-section {
    padding: 80px 40px;
    background-color: #f5f5f5;
}

.areas-comunes-container {
    max-width: 1400px;
    margin: 0 auto;
}

.areas-comunes-titulo {
    font-size: 48px;
    font-weight: 700;
    color: #5B6F94;
    text-align: center;
    margin: 0 0 60px 0;
    letter-spacing: 1px;
}

.areas-comunes-collage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.collage-item {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collage-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-brochure {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: #5B6F94;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 20px 50px;
    border: 3px solid #5B6F94;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.btn-brochure:hover {
    background-color: #5B6F94;
    color: white;
    box-shadow: 0 6px 25px rgba(91, 111, 148, 0.4);
    transform: translate(-50%, -50%) scale(1.05);
}

/* ========================================
   GALERÍA MODAL
======================================== */
.galeria-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.galeria-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.galeria-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.galeria-counter {
    color: white;
    font-size: 18px;
    font-weight: 500;
    margin-top: 20px;
    text-align: center;
}

.galeria-close,
.galeria-prev,
.galeria-next {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    color: #253F70;
    border: none;
    font-size: 40px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 4px;
    z-index: 10002;
}

.galeria-close:hover,
.galeria-prev:hover,
.galeria-next:hover {
    background-color: white;
    transform: scale(1.1);
}

.galeria-close {
    top: 20px;
    right: 30px;
    padding: 5px 20px;
    font-size: 50px;
    line-height: 1;
}

.galeria-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.galeria-prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.galeria-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.galeria-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* ========================================
   MAPA / UBICACIÓN
======================================== */
.mapa-section {
    position: relative;
    padding: 80px 40px;
    background-image: url('img/fondo-luna.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mapa-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 95, 141, 0.75);
    z-index: 1;
}

.mapa-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
}

.mapa-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.mapa-left {
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mapa-titulo {
    font-size: 56px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mapa-botones {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mapa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 3px solid white;
}

.mapa-btn svg {
    width: 24px;
    height: 24px;
}

.mapa-btn-maps {
    background-color: white;
    color: #253F70;
}

.mapa-btn-maps:hover {
    background-color: #253F70;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mapa-btn-waze {
    background-color: #5B6F94;
    color: white;
}

.mapa-btn-waze:hover {
    background-color: white;
    color: #5B6F94;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mapa-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mapa-imagen {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.mapa-imagen-mobile {
    display: none;
}

/* ========================================
   PLANOS
======================================== */
.planos-section {
    padding: 80px 40px;
    background-color: #f5f5f5;
}

.planos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.planos-titulo {
    font-size: 48px;
    font-weight: 700;
    color: #253F70;
    text-align: center;
    margin: 0 0 60px 0;
    letter-spacing: 1px;
}

.planos-display-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
}

.planos-display {
    flex: 1;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 600px;
    cursor: grab;
    user-select: none;
}

.planos-display:active {
    cursor: grabbing;
}

.plano-imagen {
    max-width: 100%;
    max-height: 700px;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    pointer-events: none;
}

.plano-prev,
.plano-next {
    background: transparent;
    color: #253F70;
    border: 2px solid #253F70;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.plano-fullscreen {
    display: none;
}

.plano-prev svg,
.plano-next svg {
    stroke: currentColor;
}

/* Modal de Planos (Lightbox) */
.planos-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.planos-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planos-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
}

.planos-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: white;
    border: 2px solid white;
    font-size: 40px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, border-color 0.3s ease;
    font-weight: 300;
    line-height: 1;
    z-index: 10001;
}

.planos-modal-prev,
.planos-modal-next {
    position: absolute;
    background: transparent;
    color: white;
    border: 2px solid white;
    cursor: pointer;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, border-color 0.3s ease;
    z-index: 10001;
}

.planos-modal-prev {
    left: 30px;
}

.planos-modal-next {
    right: 30px;
}

/* ========================================
   POPUP DE ÉXITO
======================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
}

.mensaje-exito-popup {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.popup-overlay.active .mensaje-exito-popup {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.mensaje-exito-icono {
    margin-bottom: 25px;
}

.mensaje-exito-titulo {
    font-size: 28px;
    font-weight: 700;
    color: #2c5f8d;
    margin-bottom: 15px;
}

.mensaje-exito-texto {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE
======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        padding: 0 60px 0 0;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-edificio {
        height: 90vh;
    }

    .hero-right {
        flex: 0 0 420px;
        padding: 80px 0 40px 0;
    }

    .form-card {
        padding: 40px 30px;
    }

    .form-titulo {
        font-size: 28px;
    }

    .pre-venta-badge {
        font-size: 24px;
        padding: 12px 30px;
    }

    .ubicacion-section {
        padding: 60px 30px;
        min-height: auto;
    }

    .ubicacion-direccion {
        font-size: 18px;
        margin-bottom: 60px;
    }

    .ubicacion-content {
        gap: 40px;
    }

    .ubicacion-linea {
        width: 120px;
    }

    .ubicacion-titulo {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .ubicacion-parrafo {
        font-size: 16px;
        line-height: 1.7;
    }

    .ubicacion-distrito {
        font-size: 48px;
        letter-spacing: 5px;
        margin-top: 50px;
    }

    .caracteristicas-section {
        padding: 0;
        min-height: auto;
    }

    .caracteristicas-container {
        gap: 0;
    }

    .caracteristicas-right {
        padding: 60px 40px;
    }

    .caracteristicas-titulo {
        font-size: 40px;
    }

    .caracteristicas-linea {
        width: 150px;
        margin-bottom: 50px;
    }

    .caracteristicas-grid {
        gap: 35px;
        max-width: 450px;
    }

    .caracteristica-circulo {
        width: 160px;
        height: 160px;
        border: 3px solid white;
        box-shadow: 0 0 0 2px #253F70;
    }

    .caracteristica-texto {
        font-size: 18px;
    }

    .caracteristicas-btn {
        padding: 12px 40px;
        font-size: 15px;
        bottom: 25px;
        left: 25px;
    }

    .areas-comunes-section {
        padding: 60px 30px;
    }

    .areas-comunes-titulo {
        font-size: 40px;
        margin-bottom: 50px;
    }

    .areas-comunes-collage {
        grid-template-rows: repeat(2, 240px);
        gap: 12px;
    }

    .btn-brochure {
        font-size: 16px;
        padding: 18px 45px;
    }

    .galeria-close {
        top: 15px;
        right: 20px;
        font-size: 45px;
    }

    .galeria-prev,
    .galeria-next {
        font-size: 35px;
        padding: 8px 16px;
    }

    .mapa-section {
        padding: 60px 30px;
    }

    .mapa-content {
        gap: 40px;
    }

    .mapa-left {
        flex: 0 0 350px;
        gap: 35px;
    }

    .mapa-titulo {
        font-size: 48px;
    }

    .mapa-btn {
        padding: 16px 35px;
        font-size: 15px;
    }

    .planos-section {
        padding: 60px 30px;
    }

    .planos-titulo {
        font-size: 40px;
        margin-bottom: 50px;
    }

    .planos-content {
        padding: 25px;
        gap: 25px;
    }

    .planos-sidebar {
        flex: 0 0 240px;
        gap: 10px;
    }

    .plano-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .planos-display {
        min-height: 550px;
    }

    .plano-imagen {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .header-flotante {
        padding: 15px 20px;
    }

    .btn-contacto {
        padding: 10px 25px;
        font-size: 14px;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        max-height: none;
        padding: 80px 20px 0;
        align-items: center;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
        height: auto;
        align-items: center;
    }

    .hero-left {
        order: 1;
        align-items: flex-end;
        justify-content: center;
        height: auto;
        width: 100%;
    }

    .hero-right {
        order: 2;
        flex: 1;
        width: 100%;
        padding: 0;
    }

    .hero-edificio {
        height: 50vh;
        max-height: 500px;
        width: auto;
    }

    .form-card {
        padding: 35px 25px;
    }

    .form-titulo {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .pre-venta-badge {
        top: 75px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 18px;
        padding: 10px 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .mensaje-exito-popup {
        padding: 40px 30px;
    }

    .mensaje-exito-titulo {
        font-size: 24px;
    }

    .ubicacion-section {
        padding: 50px 20px;
        min-height: auto;
    }

    .ubicacion-direccion {
        font-size: 15px;
        margin-bottom: 40px;
        text-align: center;
    }

    .ubicacion-content {
        flex-direction: column;
        gap: 25px;
    }

    .ubicacion-linea {
        width: 80px;
        margin: 0 auto;
    }

    .ubicacion-titulo {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
        line-height: 1.3;
    }

    .ubicacion-parrafo {
        font-size: 15px;
        text-align: center;
        margin-bottom: 18px;
        line-height: 1.6;
    }

    .ubicacion-distrito {
        font-size: 32px;
        letter-spacing: 3px;
        margin-top: 35px;
        text-align: center;
    }

    .caracteristicas-section {
        padding: 0;
        min-height: auto;
    }

    .caracteristicas-container {
        flex-direction: column;
        gap: 0;
    }

    .caracteristicas-left {
        width: 100%;
        min-height: 400px;
    }

    .caracteristicas-imagen-wrapper {
        max-width: 100%;
    }

    .caracteristicas-right {
        padding: 60px 30px;
    }

    .caracteristicas-btn {
        bottom: 20px;
        left: 20px;
        padding: 12px 35px;
        font-size: 14px;
    }

    .caracteristicas-titulo {
        font-size: 32px;
    }

    .caracteristicas-linea {
        width: 120px;
        margin-bottom: 40px;
    }

    .caracteristicas-grid {
        gap: 30px;
        max-width: 400px;
    }

    .caracteristica-circulo {
        width: 140px;
        height: 140px;
        border: 2px solid white;
        box-shadow: 0 0 0 2px #253F70;
    }

    .caracteristica-texto {
        font-size: 16px;
    }

    .areas-comunes-section {
        padding: 50px 20px;
    }

    .areas-comunes-titulo {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .areas-comunes-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
        gap: 10px;
    }

    .btn-brochure {
        font-size: 14px;
        padding: 15px 35px;
        border-width: 2px;
    }

    .galeria-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
        padding: 3px 15px;
    }

    .galeria-prev,
    .galeria-next {
        font-size: 30px;
        padding: 6px 12px;
        left: 15px;
    }

    .galeria-next {
        right: 15px;
        left: auto;
    }

    .galeria-counter {
        font-size: 16px;
    }

    .mapa-section {
        padding: 50px 20px;
    }

    .mapa-content {
        flex-direction: column;
        gap: 40px;
    }

    .mapa-left {
        flex: none;
        width: 100%;
        text-align: center;
        align-items: center;
        gap: 30px;
    }

    .mapa-titulo {
        font-size: 42px;
    }

    .mapa-botones {
        width: 100%;
        max-width: 400px;
        gap: 15px;
    }

    .mapa-btn {
        padding: 15px 30px;
        font-size: 15px;
    }

    .mapa-right {
        width: 100%;
    }

    .mapa-imagen-desktop {
        display: none;
    }

    .mapa-imagen-mobile {
        display: block;
    }

    .planos-section {
        padding: 50px 20px;
    }

    .planos-titulo {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .planos-content {
        flex-direction: column;
        padding: 0;
        gap: 25px;
        background: transparent;
    }

    .planos-sidebar {
        flex: none;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        max-height: none;
        padding-right: 0;
        padding-bottom: 10px;
        gap: 10px;
    }

    .planos-sidebar::-webkit-scrollbar {
        height: 6px;
        width: auto;
    }

    .plano-btn {
        flex: 0 0 auto;
        min-width: 140px;
        padding: 14px 20px;
        font-size: 14px;
        text-align: center;
    }

    .plano-btn:hover {
        transform: translateY(-2px);
    }

    .planos-display {
        min-height: auto;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .plano-imagen {
        max-height: 800px;
        width: 100%;
        display: block;
    }
}

@media (max-width: 480px) {
    .header-flotante {
        padding: 10px 15px;
    }

    .header-container {
        gap: 10px;
    }

    .btn-contacto {
        padding: 8px 20px;
        font-size: 13px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }

    .social-icon svg {
        width: 16px;
        height: 16px;
    }

    .hero {
        padding: 70px 15px 15px 15px;
    }

    .hero-edificio {
        height: 40vh;
        max-height: 350px;
    }

    .form-card {
        padding: 30px 20px;
    }

    .form-titulo {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .form-submit {
        padding: 12px;
        font-size: 15px;
    }

    .pre-venta-badge {
        top: 70px;
        font-size: 16px;
        padding: 8px 20px;
    }

    .hero-right {
        margin-top: -30px;
    }

    .mensaje-exito-popup {
        padding: 30px 20px;
    }

    .mensaje-exito-titulo {
        font-size: 20px;
    }

    .mensaje-exito-texto {
        font-size: 14px;
    }

    .ubicacion-section {
        padding: 40px 15px;
    }

    .ubicacion-direccion {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .ubicacion-linea {
        width: 60px;
    }

    .ubicacion-titulo {
        font-size: 20px;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .ubicacion-parrafo {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .ubicacion-distrito {
        font-size: 24px;
        letter-spacing: 2px;
        margin-top: 25px;
    }

    .caracteristicas-section {
        padding: 0;
    }

    .caracteristicas-container {
        gap: 0;
    }

    .caracteristicas-left {
        min-height: 300px;
    }

    .caracteristicas-imagen-wrapper {
        max-width: 100%;
    }

    .caracteristicas-right {
        padding: 50px 20px;
    }

    .caracteristicas-btn {
        bottom: 15px;
        left: 15px;
        padding: 10px 30px;
        font-size: 13px;
    }

    .caracteristicas-titulo {
        font-size: 26px;
    }

    .caracteristicas-linea {
        width: 100px;
        margin-bottom: 35px;
    }

    .caracteristicas-grid {
        gap: 25px;
        max-width: 320px;
    }

    .caracteristica-circulo {
        width: 120px;
        height: 120px;
        border: 2px solid white;
        box-shadow: 0 0 0 1px #253F70;
    }

    .caracteristica-texto {
        font-size: 14px;
    }

    .areas-comunes-section {
        padding: 40px 15px;
    }

    .areas-comunes-titulo {
        font-size: 26px;
        margin-bottom: 30px;
        line-height: 1.3;
    }

    .areas-comunes-collage {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 180px);
        gap: 8px;
    }

    .btn-brochure {
        position: static;
        transform: none;
        width: calc(100% - 40px);
        max-width: 300px;
        margin: 20px auto 0;
        display: block;
        text-align: center;
        font-size: 14px;
        padding: 14px 30px;
    }

    .btn-brochure:hover {
        transform: scale(1.05);
    }

    .galeria-close {
        top: 5px;
        right: 10px;
        font-size: 35px;
        padding: 2px 12px;
    }

    .galeria-prev,
    .galeria-next {
        font-size: 28px;
        padding: 5px 10px;
        left: 10px;
    }

    .galeria-next {
        right: 10px;
        left: auto;
    }

    .galeria-counter {
        font-size: 14px;
        margin-top: 15px;
    }

    .galeria-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .galeria-content img {
        max-height: 75vh;
    }

    .mapa-section {
        padding: 40px 15px;
    }

    .mapa-content {
        gap: 30px;
    }

    .mapa-left {
        gap: 25px;
    }

    .mapa-titulo {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .mapa-botones {
        max-width: 100%;
        gap: 12px;
    }

    .mapa-btn {
        padding: 14px 25px;
        font-size: 14px;
        gap: 10px;
        border-width: 2px;
    }

    .mapa-btn svg {
        width: 20px;
        height: 20px;
    }

    .planos-section {
        padding: 40px 15px;
    }

    .planos-titulo {
        font-size: 26px;
        margin-bottom: 30px;
        line-height: 1.3;
    }

    .planos-display-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .planos-display {
        padding: 0;
        min-height: auto;
        width: 100%;
        flex-basis: 100%;
        order: -1;
    }

    .plano-imagen {
        max-height: 500px;
        width: 100%;
        display: block;
    }

    .plano-prev,
    .plano-next {
        position: static;
        width: 50px;
        height: 50px;
        transform: none;
        order: 1;
    }

    .plano-fullscreen {
        display: flex;
        background: transparent;
        color: #253F70;
        border: 2px solid #253F70;
        cursor: pointer;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        position: static;
        order: 1;
    }

    .plano-fullscreen svg {
        stroke: currentColor;
    }

    /* Modal responsive */
    .planos-modal {
        padding: 60px 10px 20px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .planos-modal-content {
        max-width: 95vw;
        max-height: calc(100vh - 180px);
        width: 100%;
        flex-basis: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        order: -1;
    }

    .planos-modal-content img {
        max-height: calc(100vh - 180px);
        width: 100%;
        object-fit: contain;
    }

    .planos-modal-close {
        position: fixed;
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 26px;
    }

    .planos-modal-prev,
    .planos-modal-next {
        position: static;
        width: 50px;
        height: 50px;
        transform: none;
        order: 1;
    }

    .planos-modal-prev svg,
    .planos-modal-next svg {
        width: 35px;
        height: 35px;
    }
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    width: 100%;
}

.footer-main {
    background-color: rgb(70, 99, 141);
    padding: 60px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Logo Luna */
.footer-logo {
    flex: 0 0 auto;
}

.footer-logo-imagen {
    height: 80px;
    width: auto;
    object-fit: contain;
}

/* WhatsApp */
.footer-whatsapp {
    flex: 0 0 auto;
}

.footer-whatsapp-link {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-whatsapp-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.footer-whatsapp-link span {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Logos Empresas */
.footer-empresas {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 0 0 auto;
}

.footer-empresa-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Ubicación */
.footer-ubicacion {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    flex: 0 0 auto;
}

.footer-ubicacion svg {
    flex-shrink: 0;
}

.footer-ubicacion-texto {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-direccion {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.footer-distrito {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

/* Copyright */
.footer-copyright {
    background-color: #1a1a1a;
    padding: 20px 40px;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: white;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .footer-main {
        padding: 50px 30px;
    }

    .footer-container {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-logo-imagen {
        height: 70px;
    }

    .footer-whatsapp-link span {
        font-size: 20px;
    }

    .footer-empresa-logo {
        height: 45px;
    }

    .footer-direccion {
        font-size: 17px;
    }

    .footer-distrito {
        font-size: 15px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .footer-main {
        padding: 40px 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 35px;
        text-align: center;
    }

    .footer-logo-imagen {
        height: 60px;
    }

    .footer-whatsapp-link {
        justify-content: center;
    }

    .footer-whatsapp-link span {
        font-size: 18px;
    }

    .footer-empresas {
        gap: 25px;
        justify-content: center;
    }

    .footer-empresa-logo {
        height: 40px;
    }

    .footer-ubicacion {
        justify-content: center;
    }

    .footer-direccion {
        font-size: 16px;
    }

    .footer-distrito {
        font-size: 14px;
    }

    .footer-copyright {
        padding: 18px 20px;
    }

    .footer-copyright p {
        font-size: 14px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .footer-main {
        padding: 35px 15px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-logo-imagen {
        height: 50px;
    }

    .footer-whatsapp-link svg {
        width: 35px;
        height: 35px;
    }

    .footer-whatsapp-link span {
        font-size: 16px;
    }

    .footer-empresas {
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-empresa-logo {
        height: 35px;
    }

    .footer-ubicacion svg {
        width: 35px;
        height: 35px;
    }

    .footer-direccion {
        font-size: 15px;
    }

    .footer-distrito {
        font-size: 13px;
    }

    .footer-copyright {
        padding: 15px;
    }

    .footer-copyright p {
        font-size: 13px;
    }
}
