/* Reset y tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
    width: 100%;
}

/* Hero / portada */
.hero {
    position: relative;
    background: url('CREI Consorcio Real Estate Improvisado.png') center/cover no-repeat;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    width: 100%;
}

.hero-content img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Título principal */
.hero h1 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #1a2d4e;
}

/* Servicios / iconos */
.services {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service {
    text-align: center;
    padding: 10px 20px;
    flex: 1;
    min-width: 150px;
}

.service img {
    width: 50px;
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

.subtitle {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.description {
    color: #333;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.cta-box {
    border: 1px solid #ddd;
    padding: 20px;
    width: 220px;
    max-width: calc(100% - 40px);
    border-radius: 5px;
}

.cta-box h3 {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.cta-box p {
    font-size: 0.95em;
    margin-bottom: 15px;
}

.cta-box a {
    display: inline-block;
    text-decoration: none;
    background-color: #1a2d4e;
    color: white;
    padding: 10px 15px;
    border-radius: 3px;
    font-weight: bold;
    transition: background 0.3s;
}

.cta-box a:hover {
    background-color: #3a4f7b;
}

/* Footer */
footer {
    background-color: #1a2d4e;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9em;
    width: 100%;
}

footer a {
    color: #fff;
    text-decoration: underline;
    margin: 0 10px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 40vh;
        padding: 20px 0;
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .hero h1 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    
    .service {
        min-width: 100px;
        padding: 10px;
    }
    
    .service img {
        width: 40px;
    }
    
    .service p {
        font-size: 0.9em;
    }
}