body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #495057;
    background: #f8f9fa;
}

a {
    text-decoration: none;
}

/* ===== TOPBAR ===== */
.topbar-wrapper {
    width: 90%;
    max-width: 1220px;
    margin: 14px auto 0 auto;
}

.topbar {
    background: #f8f9fa;
    border: 1px solid #dfe3e6;
    border-radius: 6px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    box-sizing: border-box;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo img {
    height: 42px;
    display: block;
}

.menu {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: 18px;
}

.menu a {
    color: #495057;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: background-color .2s, color .2s;
}

.menu a:hover {
    background: #e9ecef;
    color: #212529;
}

.menu .primary-link {
    margin-left: 8px;
}

/* ===== BUTTONS ===== */
.pf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2196f3;
    border: 1px solid #2196f3;
    color: #ffffff !important;
    border-radius: 4px;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    transition: background-color .2s, border-color .2s, box-shadow .2s;
    box-sizing: border-box;
    cursor: pointer;
}

.pf-button:hover {
    background: #1d8bf0;
    border-color: #1d8bf0;
    box-shadow: 0 0 0 0.1rem rgba(33,150,243,0.16);
}

.pf-button.secondary {
    background: #ffffff;
    color: #2196f3 !important;
    border: 1px solid #2196f3;
}

.pf-button.secondary:hover {
    background: #f4faff;
}

/* ===== MAIN ===== */
.container {
    width: 90%;
    max-width: 1220px;
    margin: 2rem auto 0 auto;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    min-height: 430px;
}

.background-shadow-2 {
    position: absolute;
    top: 95px;
    left: 50%;
    transform: translateX(-50%);
    width: 980px;
    height: 420px;
    background: radial-gradient(
        ellipse at center,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.025) 38%,
        rgba(0,0,0,0.00) 72%
    );
    z-index: 0;
    pointer-events: none;
}

.background-shadow {
    position: absolute;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    height: 320px;
    background-image: url('/img/sombra.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}

.container > *:not(.background-shadow):not(.background-shadow-2) {
    position: relative;
    z-index: 1;
}

.hero-title {
    margin: 0 0 0.5rem 0;
    font-size: 2.25rem;
    font-weight: 700;
    color: #495057;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    margin: 0 0 2rem 0;
    font-size: 1.05rem;
    color: #6c757d;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* ===== CARDS ===== */
.card {
    width: 320px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    overflow: hidden;
    text-align: center;
}

.card-header {
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.card-header h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 700;
    color: #495057;
}

.card-body {
    padding: 1.6rem 1.5rem 1.8rem 1.5rem;
}

.card p {
    margin: 0 0 1.3rem 0;
    font-size: 0.98rem;
    color: #6c757d;
    line-height: 1.5;
    min-height: 72px;
}

.card .pf-button {
    min-width: 160px;
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 2.5rem;
    text-align: center;
    padding-bottom: 12px;
}

.footer img {
    height: 100px;
    width: auto;
    max-width: 90%;
    opacity: 0.32;
    display: inline-block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .topbar {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-left: 0;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .background-shadow-2,
    .background-shadow {
        width: 90%;
    }
}