* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f6f9;
    color: #333;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    color: white;
    position: relative;
}

.logo h2 {
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

nav a:hover {
    color: #00e0c6;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.2rem);
}

.search-box {
    margin-top: 25px;
}

.search-box input {
    padding: 12px;
    width: 250px;
    max-width: 80%;
    border-radius: 8px;
    border: none;
}

.search-box button {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: #00e0c6;
    color: white;
    cursor: pointer;
    margin-left: 10px;
}

.search-box button:hover {
    background: #00bfa5;
}

/* CATEGORIAS */
.categorias {
    padding: 60px 20px;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    text-align: center;
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.card:hover {
    transform: translateY(-8px);
}

/* COMO FUNCIONA */
.como-funciona {
    padding: 60px 20px;
    background: white;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    padding: 20px;
}

/* FOOTER */
footer {
    background: #2c5364;
    color: white;
    text-align: center;
    padding: 20px;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {

    nav {
        position: absolute;
        top: 60px;
        right: 0;
        background: #203a43;
        width: 100%;
        display: none;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav ul li {
        margin-bottom: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .search-box button {
        margin-top: 10px;
        margin-left: 0;
    }
}