@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


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

body {
    background: #f9f9f9;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background: #fff;
}

.navbar nav a {
    margin: 0 14px;
    text-decoration: none;
    color: #555;
}

.navbar nav .active {
    color: #e60000;
    font-weight: bold;
}

.right-group {
    align-items: flex-end;
}

.hero {
    position: relative;
    height: 350px; 
    display: flex;
    justify-content: center;
    align-items: center; 
    text-align: center;
}

.hero-content {
    max-width: 500px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 12px;
    line-height: 1.1;
}

.hero h1 span {
    color: #e60000;
}

.hero p {
    font-size: 18px;
    line-height: 1.5;
}

.container-cards {
    padding: 40px 100px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.card  {
    padding: 12px 18px;
    border-radius: 16px;
    min-height: 100px;
    display: flex;
    flex-direction: column;

    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.column-group {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.label-box {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px 20px 20px 0px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 25px;
    width: fit-content;
}

.before-label {
    background-color: #F8FAC9;
}

.after-label {
    background-color: #CFFFC9;
}

.grid-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.card {
    padding: 12px 18px;
    border-radius: 16px;
    min-height: 100px;
    display: flex;
    flex-direction: column;
}

.card h4 {
    margin-bottom: 4px;
}

.card p {
    font-size: 13px;
    margin-bottom: 6px;
}

.tip {
    font-size: 13px;
    margin-top: auto;
}

.yellow {
    background: #F8FAC9;
}

.green {
    background: #CFFFC9;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .hero {
        height: auto;
        padding: 40px 20px;
    }

    .plata {
        position: static;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .container-cards {
        flex-direction: column; 
        padding: 20px;
        gap: 40px;
    }

    .column-group {
        width: 100%; 
        align-items: center;
    }

    .right-group {
        align-items: center; 
    }

    .grid-half {
        grid-template-columns: 1fr; 
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .label-box {
        align-self: center;
    }
}
