* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
}

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

/* HEADER */
.header {
    background: #1f2937;
    color: white;
    padding: 15px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 22px;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu li a {
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.menu li a:hover {
    color: #38bdf8;
}

/* MOBILE MENU */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* HERO */
.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to right, #2563eb, #1e40af);
    color: white;
}

.btn-primary {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: white;
    color: #1e40af;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #f1f1f1;
}

/* FEATURES */
.features {
    padding: 60px 0;
}

.features .container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 20px;
    flex: 1 1 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

/* FOOTER */
.footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        background: #1f2937;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        display: none;
        padding: 15px;
    }

    .nav.active .menu {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

