/* =========================================
   === VARIABLES DE COLOR ===
   ========================================= */
:root {
    /* --- Paleta MATRIX (Para elementos interactivos) --- */
    /* (Esta paleta no cambia) */
    --color-matrix-green: #00FF41; /* Verde neón brillante */
    --color-matrix-dim: #00B32D;   /* Verde neón opaco */
    --color-matrix-dark: #008F11;  /* Verde neón oscuro */
    --color-matrix-bg: #0A0A0A;    /* Fondo de tarjeta Matrix (casi negro) */
    --color-matrix-border: #1A1A1A; /* Borde de tarjeta Matrix */

    /* --- Paleta SOBRIA (Invertida a Fondo Blanco) --- */
    --color-sober-bg: #FFFFFF;      /* Fondo principal (Blanco) */
    --color-sober-bg-sec: #F8F9FA;  /* Fondo de Hero/Footer (Gris claro) */
    --color-sober-heading: #212529; /* Encabezado (Negro "suave") */
    --color-sober-text: #495057;    /* Texto (Gris oscuro profesional) */
    --color-sober-accent: #6C7456;  /* Acento (Verde olivo oscuro/militar) */
}

/* =========================================
   === ESTILOS GLOBALES (SOBRIOS) ===
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* Tipografía SOBRIA: legible y profesional */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--color-sober-bg); /* FONDO BLANCO */
    color: var(--color-sober-text);         /* TEXTO GRIS OSCURO */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   === ENCABEZADO (Estilo MATRIX) ===
   ========================================= */
/* (Esta sección no cambia) */
.main-header {
    font-family: 'Consolas', 'Courier New', monospace;
    background-color: var(--color-matrix-bg);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-matrix-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-matrix-green); 
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5); 
}

.main-nav a {
    color: var(--color-matrix-dim);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-matrix-green);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

/* Los estilos del icono SVG han sido eliminados */


/* =========================================
   === SECCIÓN HERO (Estilo SOBRIO) ===
   ========================================= */
.hero {
    background-color: var(--color-sober-bg-sec); /* Fondo gris claro */
    padding: 4.5rem 0 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-sober-accent); /* Borde olivo */
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-sober-heading); /* Color negro */
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none; /* Sin "glow" */
}

.hero .highlight {
    color: var(--color-sober-accent); /* Acento olivo */
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-sober-text); /* Color gris oscuro */
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================================
   === TARJETAS DE SERVICIO (Estilo MATRIX) ===
   ========================================= */
/* (Esta sección no cambia) */
.section-services {
    padding: 4rem 0;
}

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

.service-card {
    font-family: 'Consolas', 'Courier New', monospace;
    background-color: var(--color-matrix-bg);
    border: 1px solid var(--color-matrix-border);
    border-radius: 8px; 
    box-shadow: none; 
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-matrix-green); 
}

.card-header {
    padding: 2rem 2rem 1rem 2rem;
}

.card-header h3 {
    font-size: 1.6rem;
    color: var(--color-matrix-green);
    margin-bottom: 0.25rem;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.5);
}

.card-header p {
    font-size: 1rem;
    color: var(--color-matrix-dark);
    font-weight: 600;
}

.card-body {
    padding: 0 2rem 1.5rem 2rem;
    flex-grow: 1; 
}

.card-body p {
    color: var(--color-matrix-dim);
    min-height: 4.8em; 
}

.card-footer {
    padding: 1.5rem 2rem 2rem 2rem;
    border-top: 1px solid var(--color-matrix-border);
    display: flex;
    flex-direction: column;
    gap: 0.75rem; 
}

/* =========================================
   === BOTONES (Estilo MATRIX) ===
   ========================================= */
/* (Esta sección no cambia) */
.btn {
    font-family: 'Consolas', 'Courier New', monospace;
    display: inline-block;
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--color-matrix-green);
    color: var(--color-matrix-bg); 
    border-color: var(--color-matrix-green);
}

.btn-primary:hover {
    background-color: var(--color-matrix-dim);
    border-color: var(--color-matrix-dim);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-matrix-green);
    border-color: var(--color-matrix-green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; 
}

.btn-secondary svg {
    stroke: var(--color-matrix-green);
    transition: stroke 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-matrix-green);
    color: var(--color-matrix-bg);
}

.btn-secondary:hover svg {
    stroke: var(--color-matrix-bg);
}


/* =========================================
   === PÁGINAS INTERNAS (Estilo SOBRIO) ===
   ========================================= */

/* --- Botón para Volver (Sobrio) --- */
.btn-back {
    display: inline-block;
    width: auto;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    color: var(--color-sober-text); /* Texto gris */
    border: 1px solid var(--color-sober-accent); /* Borde olivo */
    text-decoration: none;
    margin-top: 2rem;
    transition: all 0.3s ease;
    text-transform: none; /* Sobrio */
    background-color: transparent;
    font-weight: 400;
    border-radius: 4px;
}

.btn-back:hover {
    color: var(--color-sober-heading); /* Texto negro */
    border-color: var(--color-sober-accent);
    background-color: rgba(108, 116, 86, 0.1); /* Tinte verde olivo */
}

/* --- Contenido de Página Interna (Sobrio) --- */
.content-section {
    padding: 3rem 0;
}

.content-section h2 {
    font-size: 2.2rem;
    color: var(--color-sober-heading); /* Negro */
    text-shadow: none; /* Sin "glow" */
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-sober-accent); /* Borde olivo */
    padding-bottom: 1rem;
}

.content-section p {
    font-size: 1.1rem;
    color: var(--color-sober-text); /* Gris oscuro */
    max-width: 800px;
    margin-bottom: 2rem;
}

/* --- Lista de Características (Sobrio) --- */
.feature-list {
    list-style-type: none;
    margin: 2rem 0;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 2.5rem; 
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--color-sober-text); /* Gris oscuro */
}

.feature-list li::before {
    content: '>>';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-sober-accent); /* Acento olivo */
    font-weight: 700;
}

.feature-list li strong {
    color: var(--color-sober-heading); /* Negro */
    font-weight: 700;
}

/* =========================================
   === Tabla de Precios (Estilo MATRIX) ===
   ========================================= */
/* (Esta sección no cambia) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    font-family: 'Consolas', 'Courier New', monospace;
    background-color: var(--color-matrix-bg);
    border: 1px solid var(--color-matrix-border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--color-matrix-green);
}

.pricing-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-matrix-border);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--color-matrix-green);
    margin-bottom: 0.25rem;
}

/* Hacemos que el H2 dentro de una tarjeta matrix también brille */
.pricing-header h2 {
    font-size: 2.2rem;
    color: var(--color-matrix-green);
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.5);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--color-matrix-border);
    padding-bottom: 1rem;
}

/* Hacemos que el P dentro de una tarjeta matrix también sea matrix */
.pricing-header p {
    font-size: 1.1rem;
    color: var(--color-matrix-dim);
    max-width: 800px;
    margin-bottom: 0;
}

.pricing-price {
    font-size: 1.3rem;
    color: var(--color-matrix-dim);
    font-weight: 700;
}

.pricing-price span {
    font-size: 0.9rem;
    color: var(--color-matrix-dark);
    font-weight: 400;
}

.pricing-body {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-body ul {
    list-style-type: none;
    padding-left: 0;
}

.pricing-body li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-matrix-dim); 
}

.pricing-body li::before {
    content: '[+]';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-matrix-green);
    font-weight: 700;
}

.pricing-footer {
    padding: 1.5rem 2rem 2rem 2rem;
}

/* Permite que un botón en el footer tenga ancho automático */
.pricing-footer .btn-auto {
    width: auto;
}

/* =========================================
   === PIE DE PÁGINA (Estilo SOBRIO) ===
   ========================================= */
/* (Esta sección no cambia) */
.main-footer {
    background-color: var(--color-sober-bg-sec); /* Fondo gris claro */
    color: var(--color-sober-accent); /* Texto olivo oscuro */
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--color-sober-accent); /* Borde olivo */
}

.main-footer p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}


/* =========================================
   === NUEVAS REGLAS DE ESTILO ===
   ========================================= */
/* Estilos para .feature-list DENTRO de .pricing-card */

.pricing-card .feature-list {
    margin: 0; /* Quitar margen default */
}

.pricing-card .feature-list li {
    color: var(--color-matrix-dim); /* Texto matrix */
    font-size: 1rem; /* Un poco más pequeño para la tarjeta */
}

.pricing-card .feature-list li::before {
    color: var(--color-matrix-green); /* Acento matrix */
}

.pricing-card .feature-list li strong {
    color: var(--color-matrix-green); /* Texto strong matrix */
    font-weight: 700;
}