* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1e1e1e;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Paleta premium: blanco, rojo oscuro (#8B1E1E), negro/gris oscuro */
:root {
    --primary-red: #8B1E1E;
    --primary-red-dark: #6B1515;
    --black-rich: #111111;
    --gray-soft: #F8F9FC;
    --shadow-card: 0 20px 35px -12px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 30px 40px -20px rgba(0, 0, 0, 0.2);
}

/* Hero Parallax sin navbar, ocupa toda la altura inicial */
.hero-parallax {
    background: linear-gradient(107deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.4) 100%), url('https://images.pexels.com/photos/2587054/pexels-photo-2587054.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
}

@media (max-width: 768px) {
    .hero-parallax {
        background-attachment: scroll;
        background-position: center;
        min-height: 85vh;
    }

    .hero-title {
        font-size: 2.2rem !important;
        letter-spacing: -0.5px;
    }

    .hero-sub {
        font-size: 1rem !important;
    }

    .btn-premium,
    .btn-outline-premium {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-premium {
    background-color: var(--primary-red);
    border: none;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.25s ease;
    color: white;
    box-shadow: 0 10px 20px -8px rgba(139, 30, 30, 0.4);
}

.btn-premium:hover {
    background-color: var(--primary-red-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 28px -10px rgba(139, 30, 30, 0.5);
}

.btn-outline-premium {
    border: 2px solid white;
    background: transparent;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-premium:hover {
    background-color: white;
    color: var(--primary-red) !important;
}

/* Secciones */
.section-padding {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    color: #1a1a1a;
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
}

.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--primary-red);
    margin-top: 12px;
    border-radius: 4px;
}

/* Tarjetas departamentos */
.card-dept {
    border: none;
    border-radius: 24px;
    background: white;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card-dept:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.badge-urban {
    background-color: rgba(139, 30, 30, 0.1);
    color: var(--primary-red);
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.75rem;
    white-space: nowrap;
}

.dept-img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    width: 100%;
}

@media (max-width: 768px) {
    .dept-img {
        height: 180px;
    }
}

.card-dept:hover .dept-img {
    transform: scale(1.02);
}

/* estadísticas */
.stats-section {
    background: linear-gradient(135deg, #F9F5F2 0%, #ffffff 100%);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-red);
    line-height: 1;
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

/* modal personalizado - responsive */
.modal-content {
    border-radius: 28px;
    border: none;
    overflow: hidden;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #f0eef0;
    background: white;
    padding: 1rem 1.5rem;
}

.urban-item {
    transition: all 0.2s;
    border-radius: 20px;
    background: #fefefe;
}

.urban-item:hover {
    background: #faf5f2;
}

.urban-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

@media (max-width: 576px) {
    .urban-thumb {
        width: 55px;
        height: 55px;
    }

    .urban-item {
        flex-direction: column !important;
        text-align: center;
    }

    .btn-sm-red {
        margin-top: 0.5rem;
        width: 100%;
    }
}

.btn-sm-red {
    background-color: var(--primary-red);
    border: none;
    border-radius: 40px;
    padding: 5px 18px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    transition: background 0.2s;
}

.btn-sm-red:hover {
    background-color: var(--primary-red-dark);
}

/* botones flotantes */
.float-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background-color: var(--primary-red);
    width: 52px;
    height: 52px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.2s;
    z-index: 1030;
    cursor: pointer;
    border: none;
}

.float-btn:hover {
    background-color: #6d1515;
    transform: scale(1.05);
}

.whatsapp-float {
    bottom: 100px;
    background-color: #25D366;
}

.whatsapp-float:hover {
    background-color: #20b859;
}

@media (max-width: 576px) {
    .float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float {
        bottom: 80px;
    }
}

/* transiciones */
img {
    max-width: 100%;
}

.btn:focus {
    box-shadow: none;
}

/* Eliminamos el footer, así que no hay estilos extra */