/* ============================================================
   VARIABLES ÚNICAS (PREFIJO --tec)
   ============================================================ */
   :root {
    --tec-bg-deep: #020617;
    --tec-bg-card: #0f172a;
    --tec-primary: #3b82f6;
    --tec-accent: #7c3aed;
    --tec-text-white: #f8fafc;
    --tec-text-gray: #94a3b8;
    --tec-border: rgba(255, 255, 255, 0.08);
    --tec-gradient: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
}

/* Evitamos el margin-top en body para no empujar el header */
.tec-body-wrapper {
    background-color: var(--tec-bg-deep);
    margin: 0 !important;
    padding: 0 !important;
}

/* Espaciado para que el contenido no quede debajo del header si es fixed */
.tec-main-content {
    padding-top: 80px; 
}

/* ============================================================
   ESTRUCTURA ÚNICA
   ============================================================ */
.tec-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.tec-text-center { text-align: center; }

/* HERO */
.tec-hero {
    position: relative;
    padding: 40px 0;
    text-align: center;
    background: radial-gradient(circle at 50% -20%, rgba(59, 130, 246, 0.15), transparent 50%);
}

.tec-h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(to bottom, #fff 50%, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tec-p-hero {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 45px;
    color: var(--tec-text-gray);
}

/* BOTONES */
.tec-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tec-btn {
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.tec-btn-primary {
    background: var(--tec-gradient);
    color: white;
}

.tec-btn-outline {
    border: 1px solid var(--tec-border);
    color: white;
    background: rgba(255,255,255,0.03);
}

.tec-btn:hover { transform: translateY(-3px); opacity: 0.9; }

/* SECCIONES */
.tec-section { padding: 30px 0; }
.tec-section-light { background: rgba(255,255,255,0.02); }

.tec-h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

/* GRIDS */
.tec-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tec-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* TARJETAS */
.tec-card {
    background: var(--tec-bg-card);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--tec-border);
    transition: all 0.4s ease;
}

.tec-card-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tec-card:hover {
    border-color: var(--tec-primary);
    transform: translateY(-10px);
}

.tec-card i {
    font-size: 2rem;
    color: var(--tec-primary);
    margin-bottom: 15px;
}

.tec-h3 { font-size: 1.3rem; margin-bottom: 10px; color: white; }
.tec-p { color: var(--tec-text-gray); font-size: 0.95rem; }

/* KPI STRIP */
.tec-kpi-strip {
    padding: 80px 0;
    background: var(--tec-gradient);
    text-align: center;
}

.tec-h2-white { color: white; font-weight: 800; margin-bottom: 15px; }
.tec-p-white { color: white; opacity: 0.9; font-size: 1.1rem; }

/* CTA FOOTER */
.tec-p-footer-cta { margin-bottom: 40px; font-size: 1.2rem; color: var(--tec-text-gray); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .tec-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .tec-grid-4, .tec-grid-3 { grid-template-columns: 1fr; }
    .tec-h1 { font-size: 2.2rem; }
    .tec-btn { width: 100%; justify-content: center; }
}

