/* ==========================================
   ESTILOS HOME - VERSIÓN "SYSTEM CORE INTEGRATION"
   ========================================== */

/* 1. SLIDER (Modo oculto) */
.home-slider.hidden-slider-mode {
    width: 100%;
    height: auto; 
    background: #000;
    border-bottom: 1px solid #333; 
}

/* 2. CONTENEDOR PRINCIPAL + MARGEN 10PX */
#digital-empire {
    margin-top: 10px; 
    background-color: #0b0c10; 
    color: #c5c6c7;
    padding-bottom: 80px;
    min-height: 100vh;
}

#digital-empire .container {
    max-width: 1100px; 
    padding: 0 20px;
}

/* --- ZONA 1: HEADER --- */
.tech-header-block {
    padding: 40px 0;
    border-bottom: 1px solid #1f2833;
    margin-bottom: 40px;
}

.status-bar {
    font-family: monospace;
    color: #ff4757;
    margin-bottom: 15px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.mega-headline {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    color: #fff;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.text-hobby { color: #888; text-decoration: line-through; }
.text-real { color: #66fcf1; text-shadow: 0 0 15px rgba(102, 252, 241, 0.3); }

.intro-terminal {
    background: #15171a;
    border-left: 4px solid var(--azul);
    padding: 20px;
    font-family: monospace; 
}

.terminal-text {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.6;
}

.text-strike { text-decoration: line-through; color: #777; }

/* --- ZONA 2: CONFLICT GRID --- */
.tech-conflict-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 60px; /* Separación extra antes del nuevo bloque */
}

.tech-card {
    background: #111;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 4px;
}

.logic-card { border-top: 3px solid #66fcf1; }
.card-title-tech {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-checklist { list-style: none; padding: 0; margin: 0; }
.tech-checklist li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #222;
}
.tech-checklist li:last-child { border-bottom: none; margin-bottom: 0; }
.check-icon { font-size: 1.5rem; }
.check-content strong { display: block; color: #fff; font-size: 1.1rem; margin-bottom: 5px; }
.check-content p { margin: 0; font-size: 0.95rem; color: #999; }

/* Advertencia */
.warning-card {
    background: rgba(255, 71, 87, 0.05);
    border: 1px solid #ff4757;
}
.warning-header {
    font-family: monospace;
    color: #ff4757;
    font-size: 0.8rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.blink-red { animation: blinker 1s linear infinite; }
.card-title-alert { color: #fff; font-size: 1.5rem; margin-bottom: 20px; font-weight: 800; }
.warning-box-content { display: flex; gap: 15px; align-items: flex-start; }
.big-x { font-size: 2rem; line-height: 1; }
.warning-text strong { color: #ff4757; font-size: 1.2rem; display: block; margin-bottom: 10px; text-transform: uppercase; }
.warning-text p { color: #ccc; font-size: 1rem; line-height: 1.5; margin: 0; }

/* --- ZONA 3: NUEVA SECCIÓN (FREELANCE/AGENCIA) --- */
.agency-specs-section {
    margin-bottom: 60px;
    padding: 40px;
    background: #131518; /* Ligeramente más claro que el fondo base */
    border: 1px solid #2c3035;
    position: relative;
}

.specs-header {
    text-align: center;
    margin-bottom: 40px;
}

.specs-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.text-neon { color: #66fcf1; }

.specs-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.tech-separator {
    width: 80px;
    height: 3px;
    background: var(--azul);
    margin: 0 auto;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.spec-card {
    background: #0b0c10;
    padding: 25px;
    border-left: 2px solid #333;
    transition: all 0.3s ease;
}

.spec-card:hover {
    border-left-color: #66fcf1;
    transform: translateX(5px);
    background: #0f1014;
}

.spec-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.spec-card h4 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.spec-card p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.specs-conclusion {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-family: monospace;
    color: #66fcf1;
    font-size: 1.1rem;
}

/* --- ZONA 4: FOOTER FINAL (LA REALIDAD) --- */
.tech-footer-conclusion {
    margin-top: 10px;
}

.reality-panel {
    background: #1f2833;
    padding: 50px 30px;
    text-align: center;
    border: 1px solid #45a29e;
    box-shadow: 0 0 30px rgba(69, 162, 158, 0.1);
}

.reality-head {
    font-family: monospace;
    color: #45a29e;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.reality-quote {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #fff;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.text-highlight {
    color: #66fcf1;
    font-weight: 700;
    border-bottom: 2px solid #66fcf1;
}

.btn-tech-final {
    display: inline-block;
    background: #66fcf1;
    color: #0b0c10;
    font-weight: 900;
    padding: 20px 50px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 1px;
    transition: transform 0.2s, box-shadow 0.2s;
    border-radius: 2px; /* Ligeramente cuadrado para look tech */
}

.btn-tech-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 252, 241, 0.4);
}

/* ------------------------------------------
   MEDIA QUERIES (ESCRITORIO)
   ------------------------------------------ */
@media (min-width: 992px) {
    /* Layout Lado a Lado para ZONA 2 */
    .tech-conflict-grid {
        grid-template-columns: 1.5fr 1fr; 
        align-items: stretch;
    }

    .intro-terminal { max-width: 80%; }

    /* Layout para ZONA 3 (Nueva) */
    .specs-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 */
    }
}

@media (min-width: 1200px) {
    /* Para pantallas muy anchas, 4 en línea */
    .specs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}