:root {
    --brand: #0f9ca3;
    --brand-dark: #0b6f74;
    --bg: #f2f8f8;
    --text: #143238;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
}

.bg-gradient {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(140deg, #e4f4f4, #f7fcfc);
}

.login-wrapper { width: min(95%, 460px); }
.card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(12, 50, 54, 0.15);
}
.logo { width: 180px; margin-bottom: 0.8rem; }
.logo-sm { width: 90px; }
h1 { margin: 0.1rem 0 0.8rem; }
p { line-height: 1.45; }

.form-grid { display: grid; gap: 1rem; margin-top: 1rem; }
label { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.95rem; }
input {
    border: 1px solid #c4d7d8;
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    font-size: 1rem;
}
button, .btn-primary, .btn-outline {
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}
button, .btn-primary { background: var(--brand); color: #fff; }
button:hover, .btn-primary:hover { background: var(--brand-dark); }

.alert {
    background: #ffe4e4;
    border: 1px solid #ffc0c0;
    color: #7d1f1f;
    padding: 0.8rem;
    border-radius: 10px;
    margin-top: 0.6rem;
}

.topbar {
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(8, 60, 70, 0.12);
}
.brand-wrap { display: flex; gap: 1rem; align-items: center; }
.btn-outline { border: 1px solid var(--brand); color: var(--brand); }

.container { width: min(1100px, 94%); margin: 2rem auto; }
.hero h1 { margin-bottom: 0.25rem; }
.filters { display: flex; gap: 0.6rem; flex-wrap: wrap; margin: 1.3rem 0; }
.chip {
    padding: 0.45rem 0.8rem;
    border-radius: 100px;
    border: 1px solid #b8d4d6;
    text-decoration: none;
    color: var(--text);
    background: #fff;
    font-size: 0.9rem;
}
.chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.beneficio-card {
    background: #fff;
    border: 1px solid #cbe2e3;
    border-radius: 12px;
    padding: 1rem;
}
.badge {
    display: inline-block;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 0.35rem;
}
