:root {
    --primary: #2563eb;
    --primary-light: #dbeafe;
    --accent: #f59e0b;
    --dark: #0f172a;
    --grey: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--light);
    color: var(--dark);
    scroll-behavior: smooth;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* CABECERA GLASSMORPHISM */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 12px 0;
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 1.6rem; background: var(--primary-light); padding: 5px 10px; border-radius: 12px; }

.logo { font-size: 1.4rem; font-weight: 800; color: var(--dark); text-decoration: none; }
.logo span { color: var(--primary); }

.desktop-nav ul { display: flex; list-style: none; gap: 30px; }
.desktop-nav a { text-decoration: none; color: var(--dark); font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.desktop-nav a:hover { color: var(--primary); }
.nav-promo { color: #dc2626 !important; }

.btn-sm { background: var(--dark); color: white; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: 0.3s; }
.btn-sm:hover { background: var(--primary); }

/* HERO */
.hero {
    background: radial-gradient(circle at top right, #e0f2fe, #f8fafc);
    padding: 100px 0 80px 0;
    text-align: center;
    border-radius: 0 0 60px 60px;
}

.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.3rem; color: var(--grey); max-width: 700px; margin: 0 auto 30px; }

.category-pills { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.pill { background: white; border: 1px solid #e2e8f0; padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; transition: 0.3s; cursor: pointer; }
.pill:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1); }

/* CARDS */
.content { padding: 60px 0; }
.section-title { margin-bottom: 40px; font-size: 2rem; font-weight: 800; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.card { background: var(--white); border-radius: 24px; overflow: hidden; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); border: 1px solid #f1f5f9; position: relative; }
.card:hover { transform: translateY(-12px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.08); }

.card-img-placeholder { height: 220px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 4rem; }

.card-body { padding: 30px; }
.card-body h3 { font-size: 1.5rem; margin-bottom: 12px; }
.card-body p { color: var(--grey); margin-bottom: 20px; }

.badge { position: absolute; top: 20px; right: 20px; background: var(--accent); color: white; padding: 6px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; }

.btn { display: block; text-align: center; background: var(--primary); color: white; padding: 15px; border-radius: 12px; text-decoration: none; font-weight: 700; transition: 0.3s; }
.btn.secondary { background: #f1f5f9; color: var(--dark); }
.btn:hover { filter: brightness(1.1); }

/* FOOTER */
.footer { background: white; padding: 60px 0; border-top: 1px solid #e2e8f0; margin-top: 60px; text-align: center; }
.disclaimer { font-size: 0.8rem; color: #94a3b8; margin-top: 15px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .desktop-nav { display: none; }
}