:root {
    --primary: #3c5cd3;
    /* Azul SISCOPRO */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --gray: #b1b1b1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cabin', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    height: 40px;
    display: block;
}

.logo span {
    color: var(--text-dark);
}

/* Logos en Cards */
.card-logo {
    height: 50px;
    margin-bottom: 20px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 30px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80') center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Botones */
.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #2a41a3;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 20px;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Secciones Generales */
.section {
    padding: 100px 0;
}

.bg-light {
    background: var(--bg-light);
}

.bg-blue {
    background: var(--primary);
}

.text-white {
    color: var(--white);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.text-center {
    text-align: center;
}

/* Cards de Producto */
.card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(60, 92, 211, 0.15);
    border-color: rgba(60, 92, 211, 0.1);
}

.icon-blue {
    color: var(--primary);
    margin-bottom: 20px;
}

.card-features {
    list-style: none;
    margin-top: 20px;
    text-align: left;
    font-size: 0.9rem;
}

.card-features li::before {
    content: "•";
    color: var(--primary);
    margin-right: 10px;
}

/* Estadísticas Llamativas */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-content: center;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border-left: 5px solid var(--primary);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateX(10px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
    background: linear-gradient(45deg, var(--primary), #5c7df7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-text {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lego Boxes (Keep if needed elsewhere) */
.lego-abstract {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lego-box {
    padding: 20px;
    background: var(--gray);
    color: white;
    font-weight: bold;
    border-radius: 5px;
}

.color-blue {
    background: var(--primary);
}

/* Sobre Nosotros Section */
.about-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    text-align: left;
}

.about-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about-card h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--white);
}

.about-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--white);
    opacity: 0.5;
}

.clean-list {
    list-style: none;
    padding: 0;
}

.clean-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.clean-list li i {
    margin-right: 15px;
    margin-top: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.clean-list strong {
    font-weight: 700;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .about-lists {
        grid-template-columns: 1fr;
    }
}

/* Formulario */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.footer {
    padding: 40px 0;
    background: #222;
    color: #888;
    text-align: center;
}

/* Responsividad */
/* Servicios */
.service-box {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 100px;
    margin-bottom: 25px;
    object-fit: contain;
}

.service-box h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.service-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-light);
}

.service-list li::before {
    content: "\f00c";
    /* check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Form Response Messages */
.form-response {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-response.success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border: 1px solid #2ecc71;
}

.form-response.error {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
    border: 1px solid #e74c3c;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        margin-top: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
    }
}