/* ==========================================================================
   Variables de Marca (Sicilia Labs - Identidad Corporativa)
   ========================================================================== */
:root {
    --primary-dark: #0A192F; /* Azul Marino Profundo (Autoridad/Tecnología) */
    --secondary-gray: #2C3E50; /* Gris Plomo (Seriedad/Consultoría) */
    --accent-blue: #2563EB; /* Azul Tech (Llamados a la acción) */
    --text-dark: #1F2937; /* Gris muy oscuro para lectura cómoda */
    --text-light: #4B5563; /* Gris medio para párrafos secundarios */
    --bg-light: #F3F4F6; /* Gris súper claro para fondos de sección */
    --white: #FFFFFF;
    --font-main: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================================================
   Reset y Estilos Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   Navegación (Header)
   ========================================================================== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 55px; /* Un poco más pequeño y refinado */
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-blue);
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px; /* Bordes menos redondeados, más corporativos */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #1d4ed8;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    margin-top: 20px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

/* ==========================================================================
   Sección Hero (Principal - Estilo "Dark Mode" Tech)
   ========================================================================== */
.hero {
    padding: 140px 0;
    text-align: center;
    background-color: var(--primary-dark);
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: #9CA3AF; /* Gris claro sobre fondo oscuro */
    max-width: 800px;
    margin: 0 auto 35px;
    font-weight: 300;
}

/* ==========================================================================
   Estructura de Secciones y Grillas
   ========================================================================== */
section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 60px;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.bg-light {
    background-color: var(--bg-light);
}

.grid-2-cols, .grid-3-cols {
    display: grid;
    gap: 30px;
}

.grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   Tarjetas (Cards)
   ========================================================================== */
.card, .product-card {
    background: var(--white);
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #E5E7EB;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover, .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card h3, .product-card h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.product-card p {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Estilo corporativo para las etiquetas */
.tag {
    display: inline-block;
    background-color: var(--secondary-gray);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Footer y Contacto
   ========================================================================== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer p {
    color: #9CA3AF;
    margin-bottom: 30px;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.social-links a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}

.social-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 0.9rem;
    color: #4B5563 !important;
    border-top: 1px solid #1F2937;
    padding-top: 30px;
    margin-top: 40px;
}

/* ==========================================================================
   Diseño Responsivo (Celulares y Tablets)
   ========================================================================== */
@media (max-width: 768px) {
    .grid-2-cols, .grid-3-cols {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 100px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }
    
    .navbar .container {
        justify-content: center;
    }
}