/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* Header */
header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #0779e4 3px solid;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header h1 {
    float: left;
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}

/* Intro Section */
.intro {
    background: #fff;
    padding: 40px 0 20px;
    text-align: center;
}

.intro h2 {
    font-size: 42px;
    color: #0779e4;
    margin-bottom: 20px;
    font-weight: 700;
}

.intro-description {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Hero Section */
.hero {
    padding: 30px 0;
    background: #f4f4f4;
}

.hero-banner {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    margin: 0 auto;
    background: url('../img/domina-tu-dinero-finanzas-personales.jpg') no-repeat center center/cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Content Section */
.content {
    padding: 40px 0;
}

.content article {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.content h2 {
    color: #0779e4;
    border-bottom: 2px solid #0779e4;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content h3 {
    color: #333;
    margin-top: 30px;
}

.content ul {
    list-style: disc;
    padding-left: 20px;
}

.content li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    header h1 {
        float: none;
        text-align: center;
        margin-bottom: 10px;
    }
    
    header nav {
        float: none;
        text-align: center;
        margin-top: 0;
    }
    
    header li {
        padding: 0 10px;
        font-size: 14px;
    }
    
    .intro h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .intro-description {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .hero {
        padding: 20px 0;
    }
    
    .hero-banner {
        height: 250px;
        border-radius: 5px;
        margin: 0 15px;
    }
    
    .content article {
        padding: 20px;
        margin: 0 10px;
    }
    
    .content h2 {
        font-size: 24px;
    }
    
    .content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .intro h2 {
        font-size: 24px;
    }
    
    .intro-description {
        font-size: 15px;
    }
    
    .hero-banner {
        height: 200px;
        margin: 0 10px;
    }
    
    header li {
        display: block;
        padding: 5px 0;
    }
}
