/* Variables base - Estilo WP Corporativo */
:root {
    --primary-color: #E72C46; /* Tu rojo temporal */
    --primary-hover: #c42239; /* Rojo más oscuro para hover */
    --primary-light: rgba(231, 44, 70, 0.1); /* Fondo suave para tags */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e5e5e5;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease-in-out;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Raleway', sans-serif;
    color: var(--text-main);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navegación --- */
.top-nav {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.brand-logo span {
    color: var(--primary-color);
    font-weight: 400;
}

.main-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.main-menu a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.main-menu a:hover {
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    color: var(--primary-color) !important;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-white) !important;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-main);
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--bg-white);
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-white);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #004494;
}

/* --- Catálogo (Tarjetas) --- */
.catalog-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.system-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.system-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 25px;
}

.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 70px;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.btn-text {
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--bg-white);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* --- Responsive 1000% --- */
@media (max-width: 768px) {
    .main-menu {
        display: none; /* Aquí iría el JS para abrir/cerrar menú */
    }
    .menu-toggle {
        display: block;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .cards-grid {
        grid-template-columns: 1fr;
    }
}