/* --- Contenedor con Patrón de Rejilla Tecnológica --- */
.banner-principal-interfazt {
    position: relative;
    padding: 80px 20px;
    background-color: #f8fafc;
    /* Patrón de líneas tipo blueprint */
    background-image: 
        linear-gradient(rgba(0, 188, 228, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 188, 228, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

/* Desvanecido radial para que el patrón no sature las orillas */
.banner-principal-interfazt::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 10%, #f8fafc 90%);
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.main-title { 
    font-size: 2.8rem; 
    font-weight: 900; 
    color: #1a202c; 
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.main-subtitle { 
    font-size: 1.15rem; 
    color: #64748b; 
    margin-bottom: 50px; 
}

/* --- Grid de Proyectos (Tarjetas Modulares) --- */
.contenedor-proyectos-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.proyecto-card {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-bottom: 5px solid #00bce4; /* Base de color sólido */
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.proyecto-card:hover {
    transform: translateY(-10px);
    border-bottom-color: #82c91e;
    box-shadow: 0 15px 30px rgba(0, 188, 228, 0.1);
}

.card-icon {
    font-size: 1.8rem;
    color: #00bce4;
    background: #f0f9ff;
    width: 65px; height: 65px;
    min-width: 65px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    margin-right: 20px;
}

.proyecto-card:hover .card-icon {
    background: #00bce4;
    color: #ffffff;
}

.card-text { text-align: left; }
.card-text h3 { margin: 0; font-size: 1.3rem; font-weight: 800; color: #1a202c; }
.card-text p { margin: 5px 0 0; font-size: 0.9rem; color: #475569; line-height: 1.4; }

/* --- Separador y Píldoras --- */
.divisor-banner {
    height: 1px; width: 60px; background: #cbd5e0; margin: 50px auto;
}

.botones-categorias {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 15px;
}

.btn-pildora {
    background: #26b9bd;
    color: white !important;
    padding: 6px 22px 6px 6px;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
}

.icon-circle {
    background: rgba(255, 255, 255, 0.3);
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin-right: 12px;
}

.btn-pildora:hover {
    background: #82c91e;
    transform: scale(1.05);
}